Ensure minimal host facts are present in build
The host may have busted facts for any number of reasons. This change gathers required facts on the physical_host prior to requiring them. Change-Id: I0f12bc0b8d5df8840d232853d9aeaecac2688aa6 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
32f3ffdcbc
commit
10146fdf2b
@ -13,6 +13,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Gather physical host facts
|
||||
setup:
|
||||
gather_subset: "network,virtual"
|
||||
delegate_to: "{{ physical_host }}"
|
||||
delegate_facts: true
|
||||
run_once: true
|
||||
|
||||
- name: Pull systemd version
|
||||
command: "systemctl --version"
|
||||
changed_when: false
|
||||
|
Loading…
Reference in New Issue
Block a user