mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-22 18:06:28 +00:00
The big problem was trying to use `vars` with `import_playbook`. We do not need to use `import_playbook` when `include_tasks` will work. Perhaps the original author of these tests thought that the play `roles` keyword was the only way to invoke roles, so that had to be "called" using an `import_playbook`? Use `include_tasks` instead of `import_playbook`, and move some of those "tasks" playbooks to be tasks files in tests/tasks. Use `include_role` instead of `import_role`. Do not set variables using `set_fact` if they have already been set at the appropriate scope using `vars`. "Modernize" the code somewhat. Improve formatting. Work around an Ansible bug https://github.com/ansible/ansible/issues/85394 Fix ansible-lint and ansible-test issues related newer versions of those tools. Signed-off-by: Rich Megginson <rmeggins@redhat.com> |
||
|---|---|---|
| .. | ||
| bond_options.yml | ||
| bond_simple.yml | ||
| bond_with_vlan.yml | ||
| bridge_with_vlan.yml | ||
| cloned_mac.yml | ||
| dummy_simple.yml | ||
| eth_dns_support.yml | ||
| eth_simple_auto.yml | ||
| eth_with_802_1x.yml | ||
| eth_with_vlan.yml | ||
| eth_with_wait_ip.yml | ||
| ethtool_coalesce.yml | ||
| ethtool_features.yml | ||
| ethtool_features_default.yml | ||
| ethtool_ring.yml | ||
| ignore_auto_dns.yml | ||
| infiniband.yml | ||
| inventory | ||
| ipv6_disabled.yml | ||
| macvlan.yml | ||
| macvtap.yml | ||
| match_path_support.yml | ||
| network_state.yml | ||
| network_state_example.yml | ||
| roles | ||
| route_table_support.yml | ||
| route_type_support.yml | ||
| team_simple.yml | ||
| wireless_wpa3_owe.yml | ||
| wireless_wpa3_sae.yml | ||
| wireless_wpa_psk.yml | ||