Comment 6 for bug 1925999

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/tripleo-validations/+/787988
Committed: https://opendev.org/openstack/tripleo-validations/commit/7382be2d324607cbb4970be30ccf5a47a42a8f0c
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 7382be2d324607cbb4970be30ccf5a47a42a8f0c
Author: Michele Baldessari <email address hidden>
Date: Sat Apr 24 11:12:45 2021 +0200

    Make tls_everywhere validations compatible with ansible_facts

    Via [1] we cannot rely on ansible_* vars anymore. So let's switch to
    ansible_facts. This should fix the following error:

      2021-04-22 22:08:36,708 p=36100 u=mistral n=ansible | fatal:
      [undercloud]: FAILED! => {"msg": "The task includes an option with an
      undefined variable. The error was: {{ tls_everywhere_undercloud_fqdn |
      default(ansible_fqdn) }}: 'ansible_fqdn' is undefined\n\nThe error
      appears to be in
      '/usr/share/ansible/roles/tls_everywhere/tasks/ipa-server-check.yaml':
      line 59, column 7, but may\nbe elsewhere in the file depending on the
      exact syntax problem.\n\nThe offending line appears to be:\n\n\n -
      name: kinit as the host entity\n ^ here\n"}

    Closes-Bug: #1925999

    [1] https://opendev.org/openstack/tripleo-heat-templates/commit/4e79336d69e6b7fa4b026922bac7953bafeee96d

    Change-Id: If23c41d343678dcbbd0b4aae10ca6281a33e385f