From b735a75558b6ad27a6dafe1d92c7fc783341f398 Mon Sep 17 00:00:00 2001 From: Markus Rebbert Date: Fri, 18 Sep 2015 20:36:15 +0200 Subject: [PATCH] Add regathering facts to make new interfaces available in the same playbook run. --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index b8b827a..e3d9301 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -104,3 +104,7 @@ - shell: ifdown {{ item.item.device }}; ifup {{ item.item.device }} with_items: bond_result.results when: bond_result is defined and item.changed and ansible_os_family == 'RedHat' + +- name: Re-Gathering facts to make new interfaces available. + setup: +