Gather additional facts for haproxy playbook

Our deployment requires extra network interface facts in order
to identify the correct haproxy_stats_bind_address. Adding this
pre-task allows us define filters and gather these without
having to run another playbook or command first.

Change-Id: I2b5ea03d3e65b0d206f57bd48182a96beab793de
(cherry picked from commit 8537d2ac65)
This commit is contained in:
Andrew Bonney 2022-01-06 10:40:40 +00:00 committed by Jonathan Rosser
parent eefc6a7243
commit c722b78151
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@
serial: "50%"
user: root
pre_tasks:
- name: Gather additional facts
include_tasks: "common-tasks/gather-hardware-facts.yml"
tags:
- always
- include_tasks: "common-tasks/os-{{ container_tech | default('lxc') }}-container-setup.yml"
when: not is_metal
- include_tasks: common-tasks/unbound-clients.yml