tripleo-ansible/tripleo_ansible/roles/tripleo_network_config
Harald Jensås 5b3f9bc960 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 c2aeccc01c)
2021-05-19 09:50:27 +02:00
..
defaults Create a role for network config 2020-08-17 20:20:23 +00:00
meta Create a role for network config 2020-08-17 20:20:23 +00:00
molecule/default Use centos-8 stream for molecule jobs 2021-04-29 12:35:07 +03:00
tasks Fix tripleo_network config conditional 2021-05-19 09:50:27 +02:00