Use canonical hostname when setting up network ports

The hostname used to set the binding host for Octavia health manager
needs to match the hostname expected by the neutron L2 agent in order
for port binding to succeed. The canonical hostname from the
tripleo ansible inventory might be a better match than the hostname used
in group vars.

Related-Bug: #1837043
Depends-On: I5d23b02ca46a40b39dc25a8367541b0a6e517982
Change-Id: Ie0cf35d95c7632e904bc7be9fbc856b7ff0d21ca
This commit is contained in:
Brent Eagles 2019-07-16 13:12:46 -02:30
parent a2cf555b26
commit 8b88d25d43
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
- name: Set node name fact
set_fact:
node_hostname: "{{ ansible_hostname }}"
node_hostname: "{{ canonical_hostname }}"
- include_tasks: certificate.yml
when: