Add task to regather facts after run
This role will introduce quite a bit of state chagne within the host it's deployed on. After the run we should force regather facts to ensure we have the most up-to-date information before running any other playbooks/roles on the host. Change-Id: I05d71964f96a8e025aa0f89f37f8dcb2a705a2e5 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
25478e9b4e
commit
e9726bf252
|
@ -103,3 +103,10 @@
|
|||
- physical_host != inventory_hostname
|
||||
tags:
|
||||
- lxc-config
|
||||
|
||||
- name: Force all notified handlers now
|
||||
meta: flush_handlers
|
||||
|
||||
- name: (RE)Gather facts post setup
|
||||
setup:
|
||||
gather_subset: "network,hardware,virtual"
|
||||
|
|
Loading…
Reference in New Issue