tripleo-ansible/tripleo_ansible/roles/tripleo_network_config
Harald Jensås 0aef9a7faa 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:49:04 +02:00
..
defaults Drop tasks meant to run run_os_net_config.sh 2020-09-26 10:23:43 +05:30
meta Create a role for network config 2020-08-13 09:09:21 -06:00
molecule/default Use centos-8 stream for molecule jobs 2021-04-28 22:14:28 +03:00
tasks Fix tripleo_network config conditional 2021-05-19 09:49:04 +02:00
templates Merge "networks_lower group_var replace role_networks_lower" into stable/victoria 2020-12-21 11:24:01 +00:00