mirror of https://github.com/ceph/ceph-ansible.git
commit
1b4165d2bb
|
@ -8,10 +8,11 @@
|
||||||
- /etc/ceph/ceph.mon.keyring
|
- /etc/ceph/ceph.mon.keyring
|
||||||
- /var/lib/ceph/bootstrap-mds/ceph.keyring
|
- /var/lib/ceph/bootstrap-mds/ceph.keyring
|
||||||
|
|
||||||
|
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||||
- name: install docker-py
|
- name: install docker-py
|
||||||
pip: >
|
pip: >
|
||||||
name=docker-py
|
name=docker-py
|
||||||
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227
|
version=1.1.0
|
||||||
|
|
||||||
- name: stat for ceph config and keys
|
- name: stat for ceph config and keys
|
||||||
stat: >
|
stat: >
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_config_keys
|
- ceph_config_keys
|
||||||
- statconfig.results
|
- statconfig.results
|
||||||
when: item.1.stat.exists == False
|
when: item.1.stat.exists == true
|
||||||
|
|
||||||
- name: run the ceph medata docker image
|
- name: run the ceph medata docker image
|
||||||
docker: >
|
docker: >
|
||||||
|
|
|
@ -7,10 +7,11 @@
|
||||||
- /etc/ceph/monmap
|
- /etc/ceph/monmap
|
||||||
- /etc/ceph/ceph.mon.keyring
|
- /etc/ceph/ceph.mon.keyring
|
||||||
|
|
||||||
|
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||||
- name: install docker-py
|
- name: install docker-py
|
||||||
pip: >
|
pip: >
|
||||||
name=docker-py
|
name=docker-py
|
||||||
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227
|
version=1.1.0
|
||||||
|
|
||||||
- name: stat for ceph config and keys
|
- name: stat for ceph config and keys
|
||||||
stat: >
|
stat: >
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_config_keys
|
- ceph_config_keys
|
||||||
- statconfig.results
|
- statconfig.results
|
||||||
when: item.1.stat.exists == False
|
when: item.1.stat.exists == true
|
||||||
|
|
||||||
- name: run the ceph Monitor docker image
|
- name: run the ceph Monitor docker image
|
||||||
docker: >
|
docker: >
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
- /etc/ceph/ceph.mon.keyring
|
- /etc/ceph/ceph.mon.keyring
|
||||||
- /var/lib/ceph/bootstrap-osd/ceph.keyring
|
- /var/lib/ceph/bootstrap-osd/ceph.keyring
|
||||||
|
|
||||||
|
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||||
- name: install docker-py
|
- name: install docker-py
|
||||||
pip: >
|
pip: >
|
||||||
name=docker-py
|
name=docker-py
|
||||||
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227
|
version=1.1.0
|
||||||
|
|
||||||
- name: stat for ceph config and keys
|
- name: stat for ceph config and keys
|
||||||
stat: >
|
stat: >
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_config_keys
|
- ceph_config_keys
|
||||||
- statconfig.results
|
- statconfig.results
|
||||||
when: item.1.stat.exists == False
|
when: item.1.stat.exists == true
|
||||||
|
|
||||||
- name: run the ceph osd docker image
|
- name: run the ceph osd docker image
|
||||||
docker: >
|
docker: >
|
||||||
|
|
|
@ -5,10 +5,11 @@
|
||||||
- /etc/ceph/ceph.client.admin.keyring
|
- /etc/ceph/ceph.client.admin.keyring
|
||||||
- /etc/ceph/ceph.conf
|
- /etc/ceph/ceph.conf
|
||||||
|
|
||||||
|
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||||
- name: install docker-py
|
- name: install docker-py
|
||||||
pip: >
|
pip: >
|
||||||
name=docker-py
|
name=docker-py
|
||||||
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227
|
version=1.1.0
|
||||||
|
|
||||||
- name: stat for ceph config and keys
|
- name: stat for ceph config and keys
|
||||||
stat: >
|
stat: >
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_config_keys
|
- ceph_config_keys
|
||||||
- statconfig.results
|
- statconfig.results
|
||||||
when: item.1.stat.exists == False
|
when: item.1.stat.exists == true
|
||||||
|
|
||||||
- name: run the ceph rest api docker image
|
- name: run the ceph rest api docker image
|
||||||
docker: >
|
docker: >
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
- /etc/ceph/ceph.mon.keyring
|
- /etc/ceph/ceph.mon.keyring
|
||||||
- /var/lib/ceph/bootstrap-rgw/ceph.keyring
|
- /var/lib/ceph/bootstrap-rgw/ceph.keyring
|
||||||
|
|
||||||
|
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||||
- name: install docker-py
|
- name: install docker-py
|
||||||
pip: >
|
pip: >
|
||||||
name=docker-py
|
name=docker-py
|
||||||
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227
|
version=1.1.0
|
||||||
|
|
||||||
- name: stat for ceph config and keys
|
- name: stat for ceph config and keys
|
||||||
stat: >
|
stat: >
|
||||||
|
@ -30,7 +31,7 @@
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_config_keys
|
- ceph_config_keys
|
||||||
- statconfig.results
|
- statconfig.results
|
||||||
when: item.1.stat.exists == False
|
when: item.1.stat.exists == true
|
||||||
|
|
||||||
- name: run the rados gateway docker image
|
- name: run the rados gateway docker image
|
||||||
docker: >
|
docker: >
|
||||||
|
|
Loading…
Reference in New Issue