Add task to regather facts once the role completes

In order to ensure the deployment host has the most up-to-date facts we
must regather them upon the completion of the role. This is done because
the role will run several tasks that can perform a state change on
various resources and we need to capture the most current state. This is
especially important when running in an environment that makes use of
cached facts.

Change-Id: I429485eba7e4e6643d10d0f3826471f47aab87fc
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-05-14 14:23:13 -05:00
parent 4f4bc4aa54
commit bac2455583
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -113,3 +113,6 @@
- include: nspawn_networking.yml
- include: nspawn_cache.yml
- name: (RE)Gather facts post setup
setup: {}