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:
Kevin Carter 2018-05-15 11:09:18 -05:00 committed by Kevin Carter (cloudnull)
parent 25478e9b4e
commit e9726bf252
1 changed files with 7 additions and 0 deletions

View File

@ -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"