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:
Dmitriy Rabotyagov 2021-06-04 15:40:06 +03:00 committed by Dmitriy Rabotyagov
parent 90d16a7325
commit 249eaceb1b

View File

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