Comment 8 for bug 1918372

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/792033
Committed: https://opendev.org/openstack/tripleo-ansible/commit/2979a005c949b09259d0099580fe3e8a3faebaf9
Submitter: "Zuul (22348)"
Branch: stable/train

commit 2979a005c949b09259d0099580fe3e8a3faebaf9
Author: Harald Jensås <email address hidden>
Date: Wed Mar 10 05:27:52 2021 +0100

    Fix tripleo_network config conditional

    The conditional used in the NetworkConfig block always
    evaluates to conclude that network config should be
    applied.

    Use | int filter on the slurped os-net-config return
    code file so that the condition does not always evaluate
    to False.

    Conflicts:
      tripleo_ansible/roles/tripleo_network_config/molecule/default/molecule.yml
      tripleo_ansible/roles/tripleo_network_config/molecule/default/prepare.yml
      tripleo_ansible/roles/tripleo_network_config/molecule/default/converge.yml

    The original patch also fixed molecule tests, this part has been removed
    in the cherry-pick.

    Closes-Bug: #1918372
    Change-Id: Ia4d663cd298556c8143eab6e799e68c81bc8235e
    (cherry picked from commit c2aeccc01c76afa53e759fd51ed7d50eb987fd08)