Gather extra facts for healthcheck playbooks
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/795102 Change-Id: I71781607c0d2c2bb4682920f7d3c959dc72355f1
This commit is contained in:
parent
90d16a7325
commit
249eaceb1b
@ -36,6 +36,13 @@
|
||||
hosts: all_containers
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- name: Gather additional facts
|
||||
setup:
|
||||
gather_subset: "!all,network"
|
||||
filter: ansible_interfaces
|
||||
delegate_to: "{{ physical_host }}"
|
||||
delegate_facts: true
|
||||
|
||||
- name: Ensure the physical host has all the proper interfaces defined
|
||||
assert:
|
||||
that:
|
||||
|
Loading…
Reference in New Issue
Block a user