From fb50892e6ade1161f1fd43afb84f01a9c38afa89 Mon Sep 17 00:00:00 2001 From: wanghongxu <wang19930902@gmail.com> Date: Wed, 31 Jan 2018 10:56:57 +0800 Subject: [PATCH] Add gather_facts to ovs roles Add gather_facts: false to ovs roles to avoid Ansible gathering facts twice. Change-Id: I3a26ac40cd6e4a9c0e16b668bae577a795a1e100 Closes-Bug: #1746396 --- ansible/site.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/site.yml b/ansible/site.yml index bb3bb82c0b..a48977cccb 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -330,6 +330,7 @@ when: enable_opendaylight | bool } - name: Apply role openvswitch + gather_facts: false hosts: - openvswitch roles: @@ -338,6 +339,7 @@ when: "(enable_openvswitch | bool) and not (enable_ovs_dpdk | bool)"} - name: Apply role ovs-dpdk + gather_facts: false hosts: - openvswitch roles: