mirror of https://github.com/ceph/ceph-ansible.git
switch-to-containers: do not set group name vars at playbook level
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1349/head
parent
7289acb6b3
commit
aef54d89d9
|
@ -28,21 +28,13 @@
|
|||
|
||||
- name: make sure docker is present and started
|
||||
|
||||
vars:
|
||||
mon_group_name: mons
|
||||
osd_group_name: osds
|
||||
mds_group_name: mdss
|
||||
rgw_group_name: rgws
|
||||
rbdmirror_group_name: rbd-mirrors
|
||||
nfs_group_name: nfss
|
||||
|
||||
hosts:
|
||||
- "{{ mon_group_name }}"
|
||||
- "{{ osd_group_name }}"
|
||||
- "{{ mds_group_name }}"
|
||||
- "{{ rgw_group_name }}"
|
||||
- "{{ rbdmirror_group_name }}"
|
||||
- "{{ nfs_group_name }}"
|
||||
- "{{ mon_group_name|default('mons') }}"
|
||||
- "{{ osd_group_name|default('osds') }}"
|
||||
- "{{ mds_group_name|default('mdss') }}"
|
||||
- "{{ rgw_group_name|default('rgws') }}"
|
||||
- "{{ rbdmirror_group_name|default('rbdmirrors') }}"
|
||||
- "{{ nfs_group_name|default('nfss') }}"
|
||||
|
||||
become: true
|
||||
|
||||
|
@ -97,7 +89,7 @@
|
|||
restapi_group_name: restapis
|
||||
|
||||
hosts:
|
||||
- "{{ mon_group_name }}"
|
||||
- "{{ mon_group_name|default('mons') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
@ -187,7 +179,7 @@
|
|||
osd_group_name: osds
|
||||
|
||||
hosts:
|
||||
- "{{ osd_group_name }}"
|
||||
- "{{ osd_group_name|default('osds') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
@ -288,11 +280,8 @@
|
|||
|
||||
- name: switching from non-containerized to containerized ceph mds
|
||||
|
||||
vars:
|
||||
mds_group_name: mdss
|
||||
|
||||
hosts:
|
||||
- "{{ mds_group_name }}"
|
||||
- "{{ mds_group_name|default('mdss') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
@ -348,11 +337,8 @@
|
|||
|
||||
- name: switching from non-containerized to containerized ceph rgw
|
||||
|
||||
vars:
|
||||
rgw_group_name: rgws
|
||||
|
||||
hosts:
|
||||
- "{{ rgw_group_name }}"
|
||||
- "{{ rgw_group_name|default('rgws') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
@ -409,11 +395,8 @@
|
|||
|
||||
- name: switching from non-containerized to containerized ceph rbd-mirror
|
||||
|
||||
vars:
|
||||
rbdmirror_group_name: rbd-mirrors
|
||||
|
||||
hosts:
|
||||
- "{{ rbdmirror_group_name }}"
|
||||
- "{{ rbdmirror_group_name|default('rbdmirrors') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
@ -468,11 +451,8 @@
|
|||
|
||||
- name: switching from non-containerized to containerized ceph nfs
|
||||
|
||||
vars:
|
||||
nfs_group_name: nfss
|
||||
|
||||
hosts:
|
||||
- "{{ nfs_group_name }}"
|
||||
- "{{ nfs_group_name|default('nfss') }}"
|
||||
|
||||
serial: 1
|
||||
become: true
|
||||
|
|
Loading…
Reference in New Issue