Run setup module prior to bootstrapping aio

On some systems, the aio bootstrap script will fail due to an issue with fact
gathering. This patch runs the setup module prior to the bootstrap process.

Reference: Eavesdrop IRC Logs - openstack-ansible.2018-11-23.log.html
URL: https://pasted.tech/l/418bb8177f794d3f

Change-Id: I52a7ebb946cc068013a0f7dbbc43989abf1cbd02
Closes-Bug: #1851248
This commit is contained in:
James Denton 2019-11-04 15:01:47 +00:00
parent 7e1b6acd6b
commit 9f9bfae7e6
1 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,13 @@
MaxStartups: "100:100:100"
GSSAPIAuthentication: no
GSSAPICleanupCredentials: no
pre_tasks:
- name: Run setup module
setup:
gather_subset:
- network
- hardware
- virtual
post_tasks:
- name: Check that new network interfaces are up
assert: