mirror of https://github.com/ceph/ceph-ansible.git
site-docker.yml.sample: delegate facts
Now we can use --limit on the container deployment too. This is useful while deploying client nodes. e.g: ansible-playbook -i inventory -l clients site-docker.yml.sample Signed-off-by: Sébastien Han <seb@redhat.com>pull/1830/head
parent
e04deb9882
commit
0de8f534f1
|
@ -13,7 +13,13 @@
|
|||
- clients
|
||||
- iscsigws
|
||||
- mgrs
|
||||
tasks: []
|
||||
|
||||
tasks:
|
||||
- name: gather and delegate facts
|
||||
setup:
|
||||
delegate_to: "{{ item }}"
|
||||
delegate_facts: True
|
||||
with_items: "{{ groups['all'] }}"
|
||||
|
||||
- hosts: mons
|
||||
become: True
|
||||
|
|
Loading…
Reference in New Issue