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
Sébastien Han 2017-08-30 10:44:18 +02:00
parent e04deb9882
commit 0de8f534f1
1 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,13 @@
- clients - clients
- iscsigws - iscsigws
- mgrs - mgrs
tasks: []
tasks:
- name: gather and delegate facts
setup:
delegate_to: "{{ item }}"
delegate_facts: True
with_items: "{{ groups['all'] }}"
- hosts: mons - hosts: mons
become: True become: True