From 0de8f534f1e3dd2af14d5ea4bd897a244ba888b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 30 Aug 2017 10:44:18 +0200 Subject: [PATCH] site-docker.yml.sample: delegate facts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- site-docker.yml.sample | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site-docker.yml.sample b/site-docker.yml.sample index e039cbffb..238997aea 100644 --- a/site-docker.yml.sample +++ b/site-docker.yml.sample @@ -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