mirror of https://github.com/ceph/ceph-ansible.git
infrastructure-playbooks: update with ceph-defaults roles
Signed-off-by: Sébastien Han <seb@redhat.com>pull/1727/head
parent
608bad901d
commit
fdc6aebd62
|
@ -10,9 +10,11 @@
|
|||
- hosts: mons
|
||||
become: True
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-fetch-keys
|
||||
|
||||
- hosts: osds
|
||||
become: True
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-osd
|
||||
|
|
|
@ -6,9 +6,11 @@
|
|||
- hosts: mons
|
||||
become: True
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-fetch-keys
|
||||
|
||||
- hosts: rgws
|
||||
become: True
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-rgw
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
private: no
|
||||
|
||||
tasks:
|
||||
- include_vars: roles/ceph-common/defaults/main.yml
|
||||
- include_vars: roles/ceph-defaults/defaults/main.yml
|
||||
- include_vars: group_vars/all.yml
|
||||
|
||||
- name: exit playbook, if only one monitor is present in cluster
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
private: no
|
||||
|
||||
tasks:
|
||||
- include_vars: roles/ceph-common/defaults/main.yml
|
||||
- include_vars: roles/ceph-defaults/defaults/main.yml
|
||||
- include_vars: group_vars/all.yml
|
||||
|
||||
- name: exit playbook, if user did not mean to shrink cluster
|
||||
|
|
|
@ -14,16 +14,17 @@
|
|||
- hosts: mons
|
||||
become: True
|
||||
vars_files:
|
||||
- roles/ceph-common/defaults/main.yml
|
||||
- roles/ceph-defaults/defaults/main.yml
|
||||
- group_vars/all.yml
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-fetch-keys
|
||||
|
||||
- hosts: all
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- include_vars: roles/ceph-common/defaults/main.yml
|
||||
- include_vars: roles/ceph-defaults/defaults/main.yml
|
||||
- include_vars: group_vars/all.yml
|
||||
|
||||
- name: get the name of the existing ceph cluster
|
||||
|
|
Loading…
Reference in New Issue