mirror of https://github.com/ceph/ceph-ansible.git
drop variables from 'hosts' key
The linter complains about that. It doesn't work anyway so it doesn't make sense to leave these variables here. Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>pull/7474/head
parent
e4eb268a56
commit
e2cbffc1c7
|
@ -24,7 +24,7 @@
|
||||||
tasks_from: container_binary
|
tasks_from: container_binary
|
||||||
|
|
||||||
- name: perform checks, remove mds and print cluster health
|
- name: perform checks, remove mds and print cluster health
|
||||||
hosts: "{{ groups[mon_group_name][0] }}"
|
hosts: mons[0]
|
||||||
become: true
|
become: true
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: ireallymeanit
|
- name: ireallymeanit
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
msg: gather facts on all Ceph hosts for following reference
|
msg: gather facts on all Ceph hosts for following reference
|
||||||
|
|
||||||
- name: confirm if user really meant to remove manager from the ceph cluster
|
- name: confirm if user really meant to remove manager from the ceph cluster
|
||||||
hosts: "{{ groups[mon_group_name][0] }}"
|
hosts: mons[0]
|
||||||
become: true
|
become: true
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: ireallymeanit
|
- name: ireallymeanit
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
- debug: msg="gather facts on all Ceph hosts for following reference"
|
- debug: msg="gather facts on all Ceph hosts for following reference"
|
||||||
|
|
||||||
- name: confirm whether user really meant to remove monitor from the ceph cluster
|
- name: confirm whether user really meant to remove monitor from the ceph cluster
|
||||||
hosts: "{{ groups[mon_group_name][0] }}"
|
hosts: mons[0]
|
||||||
become: true
|
become: true
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: ireallymeanit
|
- name: ireallymeanit
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
- name: gather facts and check the init system
|
- name: gather facts and check the init system
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
- "{{ mon_group_name|default('mons') }}"
|
- mons
|
||||||
- "{{ osd_group_name|default('osds') }}"
|
- osds
|
||||||
|
|
||||||
become: True
|
become: True
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
- name: confirm whether user really meant to remove osd(s) from the cluster
|
- name: confirm whether user really meant to remove osd(s) from the cluster
|
||||||
|
|
||||||
hosts: "{{ groups[mon_group_name][0] }}"
|
hosts: mons[0]
|
||||||
|
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
- name: gather facts and check the init system
|
- name: gather facts and check the init system
|
||||||
hosts:
|
hosts:
|
||||||
- "{{ mon_group_name|default('mons') }}"
|
- mons
|
||||||
- "{{ mon_group_name|default('rbdmirrors') }}"
|
- rbdmirrors
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- debug:
|
- debug:
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
- name: confirm whether user really meant to remove rbd mirror from the ceph
|
- name: confirm whether user really meant to remove rbd mirror from the ceph
|
||||||
cluster
|
cluster
|
||||||
hosts: "{{ groups[mon_group_name][0] }}"
|
hosts: mons[0]
|
||||||
become: true
|
become: true
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: ireallymeanit
|
- name: ireallymeanit
|
||||||
|
|
Loading…
Reference in New Issue