ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Friday 04 October 2024 10:03:20 -0400 (0:00:00.030) 0:00:00.030 ******** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Friday 04 October 2024 10:03:21 -0400 (0:00:01.016) 0:00:01.046 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 10:03:21 -0400 (0:00:00.052) 0:00:01.099 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 10:03:21 -0400 (0:00:00.586) 0:00:01.686 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 10:03:22 -0400 (0:00:00.856) 0:00:02.542 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 10:03:22 -0400 (0:00:00.070) 0:00:02.612 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 10:03:22 -0400 (0:00:00.038) 0:00:02.650 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 10:03:22 -0400 (0:00:00.064) 0:00:02.715 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 10:03:23 -0400 (0:00:00.441) 0:00:03.156 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 10:03:23 -0400 (0:00:00.019) 0:00:03.176 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 10:03:23 -0400 (0:00:00.020) 0:00:03.196 ******** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.227168", "end": "2024-10-04 10:03:23.959179", "rc": 0, "start": "2024-10-04 10:03:23.732011" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 10:03:24 -0400 (0:00:00.602) 0:00:03.799 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Friday 04 October 2024 10:03:24 -0400 (0:00:00.018) 0:00:03.818 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 04 October 2024 10:03:24 -0400 (0:00:00.026) 0:00:03.845 ******** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 04 October 2024 10:03:24 -0400 (0:00:00.664) 0:00:04.509 ******** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 04 October 2024 10:03:24 -0400 (0:00:00.022) 0:00:04.532 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:24 -0400 (0:00:00.030) 0:00:04.562 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:24 -0400 (0:00:00.026) 0:00:04.588 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:24 -0400 (0:00:00.080) 0:00:04.669 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:24 -0400 (0:00:00.023) 0:00:04.692 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:24 -0400 (0:00:00.019) 0:00:04.712 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002876", "end": "2024-10-04 10:03:25.244494", "rc": 0, "start": "2024-10-04 10:03:25.241618" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:25 -0400 (0:00:00.362) 0:00:05.075 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:25 -0400 (0:00:00.019) 0:00:05.094 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:25 -0400 (0:00:00.017) 0:00:05.111 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:03:25 -0400 (0:00:00.032) 0:00:05.144 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007529", "end": "2024-10-04 10:03:25.661632", "rc": 1, "start": "2024-10-04 10:03:25.654103" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:03:25 -0400 (0:00:00.363) 0:00:05.507 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:25 -0400 (0:00:00.038) 0:00:05.546 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:03:26 -0400 (0:00:00.441) 0:00:05.987 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:26 -0400 (0:00:00.029) 0:00:06.016 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:03:26 -0400 (0:00:00.043) 0:00:06.059 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:26 -0400 (0:00:00.185) 0:00:06.245 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:26 -0400 (0:00:00.056) 0:00:06.301 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:26 -0400 (0:00:00.071) 0:00:06.372 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:26 -0400 (0:00:00.054) 0:00:06.427 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:26 -0400 (0:00:00.072) 0:00:06.500 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:28 -0400 (0:00:01.840) 0:00:08.340 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:30 -0400 (0:00:01.991) 0:00:10.332 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:30 -0400 (0:00:00.059) 0:00:10.391 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:30 -0400 (0:00:00.068) 0:00:10.459 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:30 -0400 (0:00:00.064) 0:00:10.524 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:30 -0400 (0:00:00.056) 0:00:10.580 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:30 -0400 (0:00:00.067) 0:00:10.648 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:30 -0400 (0:00:00.055) 0:00:10.703 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:30 -0400 (0:00:00.069) 0:00:10.772 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:31 -0400 (0:00:00.116) 0:00:10.888 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:31 -0400 (0:00:00.134) 0:00:11.023 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:31 -0400 (0:00:00.061) 0:00:11.085 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:31 -0400 (0:00:00.064) 0:00:11.149 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:32 -0400 (0:00:00.939) 0:00:12.089 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:32 -0400 (0:00:00.064) 0:00:12.153 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:32 -0400 (0:00:00.081) 0:00:12.234 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:32 -0400 (0:00:00.043) 0:00:12.278 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:33 -0400 (0:00:00.821) 0:00:13.099 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:33 -0400 (0:00:00.052) 0:00:13.152 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:33 -0400 (0:00:00.064) 0:00:13.216 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:33 -0400 (0:00:00.063) 0:00:13.280 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:33 -0400 (0:00:00.056) 0:00:13.336 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:03:34 -0400 (0:00:00.682) 0:00:14.019 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 022d304a-139b-4634-801e-466114505ae7" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:03:34 -0400 (0:00:00.045) 0:00:14.064 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:03:34 -0400 (0:00:00.102) 0:00:14.167 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:03:34 -0400 (0:00:00.100) 0:00:14.267 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:03:34 -0400 (0:00:00.097) 0:00:14.365 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050613.225538, "block_size": 4096, "blocks": 8, "ctime": 1728050613.1855378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050613.1855378, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:03:35 -0400 (0:00:00.539) 0:00:14.904 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:03:35 -0400 (0:00:00.044) 0:00:14.949 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018919", "end": "2024-10-04 10:03:35.616899", "rc": 0, "start": "2024-10-04 10:03:35.597980" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:03:35 -0400 (0:00:00.601) 0:00:15.551 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:03:35 -0400 (0:00:00.068) 0:00:15.619 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:03:35 -0400 (0:00:00.097) 0:00:15.717 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:03:36 -0400 (0:00:00.088) 0:00:15.805 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:03:36 -0400 (0:00:00.073) 0:00:15.879 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:03:36 -0400 (0:00:00.062) 0:00:15.941 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:03:36 -0400 (0:00:00.052) 0:00:15.993 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:03:36 -0400 (0:00:00.065) 0:00:16.059 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:03:36 -0400 (0:00:00.050) 0:00:16.109 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:03:36 -0400 (0:00:00.073) 0:00:16.183 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:36 -0400 (0:00:00.058) 0:00:16.241 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050613.1870747, "block_size": 4096, "blocks": 0, "ctime": 1728050613.1870747, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37323, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728050613.1870747, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:03:36 -0400 (0:00:00.404) 0:00:16.645 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:03:36 -0400 (0:00:00.040) 0:00:16.686 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:03:36 -0400 (0:00:00.035) 0:00:16.721 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:03:37 -0400 (0:00:00.064) 0:00:16.786 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055123", "end": "2024-10-04 10:03:37.348341", "rc": 1, "start": "2024-10-04 10:03:37.293218" } STDOUT: Connection 'statebr' (022d304a-139b-4634-801e-466114505ae7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 04 October 2024 10:03:37 -0400 (0:00:00.408) 0:00:17.195 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:37 -0400 (0:00:00.061) 0:00:17.256 ******** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:37 -0400 (0:00:00.037) 0:00:17.294 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:37 -0400 (0:00:00.098) 0:00:17.392 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:37 -0400 (0:00:00.086) 0:00:17.478 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:37 -0400 (0:00:00.111) 0:00:17.589 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002869", "end": "2024-10-04 10:03:38.148143", "rc": 0, "start": "2024-10-04 10:03:38.145274" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:38 -0400 (0:00:00.405) 0:00:17.995 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:38 -0400 (0:00:00.037) 0:00:18.033 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:38 -0400 (0:00:00.036) 0:00:18.069 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 04 October 2024 10:03:38 -0400 (0:00:00.078) 0:00:18.147 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005803", "end": "2024-10-04 10:03:38.663927", "rc": 1, "start": "2024-10-04 10:03:38.658124" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:03:38 -0400 (0:00:00.362) 0:00:18.510 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:38 -0400 (0:00:00.055) 0:00:18.566 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:03:39 -0400 (0:00:00.383) 0:00:18.949 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:39 -0400 (0:00:00.061) 0:00:19.011 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 04 October 2024 10:03:39 -0400 (0:00:00.177) 0:00:19.188 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:39 -0400 (0:00:00.185) 0:00:19.374 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:39 -0400 (0:00:00.138) 0:00:19.512 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:39 -0400 (0:00:00.109) 0:00:19.621 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:39 -0400 (0:00:00.109) 0:00:19.730 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:40 -0400 (0:00:00.071) 0:00:19.802 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:41 -0400 (0:00:01.832) 0:00:21.634 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:43 -0400 (0:00:01.573) 0:00:23.208 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:43 -0400 (0:00:00.057) 0:00:23.265 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:43 -0400 (0:00:00.046) 0:00:23.311 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:43 -0400 (0:00:00.045) 0:00:23.357 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:43 -0400 (0:00:00.035) 0:00:23.393 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:43 -0400 (0:00:00.042) 0:00:23.436 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:43 -0400 (0:00:00.034) 0:00:23.470 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:43 -0400 (0:00:00.042) 0:00:23.513 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:43 -0400 (0:00:00.070) 0:00:23.583 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:43 -0400 (0:00:00.034) 0:00:23.618 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:43 -0400 (0:00:00.033) 0:00:23.652 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:43 -0400 (0:00:00.040) 0:00:23.692 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:44 -0400 (0:00:00.521) 0:00:24.213 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:44 -0400 (0:00:00.040) 0:00:24.254 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:44 -0400 (0:00:00.034) 0:00:24.289 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:44 -0400 (0:00:00.034) 0:00:24.323 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:45 -0400 (0:00:00.607) 0:00:24.930 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:45 -0400 (0:00:00.034) 0:00:24.965 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:45 -0400 (0:00:00.037) 0:00:25.002 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:45 -0400 (0:00:00.036) 0:00:25.039 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:45 -0400 (0:00:00.033) 0:00:25.072 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 04 October 2024 10:03:45 -0400 (0:00:00.357) 0:00:25.430 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 30c92d11-eeda-47b9-9ef1-64ca26a72f59" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:03:45 -0400 (0:00:00.036) 0:00:25.466 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:03:45 -0400 (0:00:00.101) 0:00:25.567 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:03:45 -0400 (0:00:00.057) 0:00:25.625 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:03:46 -0400 (0:00:00.433) 0:00:26.059 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:03:46 -0400 (0:00:00.081) 0:00:26.140 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:03:46 -0400 (0:00:00.112) 0:00:26.253 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:03:46 -0400 (0:00:00.055) 0:00:26.309 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050625.0676231, "block_size": 4096, "blocks": 8, "ctime": 1728050625.0676231, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050625.0676231, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:03:47 -0400 (0:00:00.653) 0:00:26.963 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:03:47 -0400 (0:00:00.077) 0:00:27.041 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018290", "end": "2024-10-04 10:03:47.656143", "rc": 0, "start": "2024-10-04 10:03:47.637853" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:03:47 -0400 (0:00:00.469) 0:00:27.510 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:03:47 -0400 (0:00:00.040) 0:00:27.550 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:03:47 -0400 (0:00:00.043) 0:00:27.594 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:03:47 -0400 (0:00:00.067) 0:00:27.662 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:03:48 -0400 (0:00:00.156) 0:00:27.819 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:03:48 -0400 (0:00:00.061) 0:00:27.881 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:03:48 -0400 (0:00:00.081) 0:00:27.962 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:03:48 -0400 (0:00:00.063) 0:00:28.026 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:03:48 -0400 (0:00:00.045) 0:00:28.071 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:03:48 -0400 (0:00:00.041) 0:00:28.112 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:03:48 -0400 (0:00:00.044) 0:00:28.157 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:03:48 -0400 (0:00:00.074) 0:00:28.232 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035475", "end": "2024-10-04 10:03:48.820237", "rc": 1, "start": "2024-10-04 10:03:48.784762" } STDOUT: Connection 'statebr' (30c92d11-eeda-47b9-9ef1-64ca26a72f59) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 04 October 2024 10:03:48 -0400 (0:00:00.476) 0:00:28.708 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:03:48 -0400 (0:00:00.072) 0:00:28.780 ******** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:03:49 -0400 (0:00:00.048) 0:00:28.829 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:03:49 -0400 (0:00:00.078) 0:00:28.908 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:03:49 -0400 (0:00:00.099) 0:00:29.007 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:03:49 -0400 (0:00:00.106) 0:00:29.113 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002921", "end": "2024-10-04 10:03:49.801581", "rc": 0, "start": "2024-10-04 10:03:49.798660" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:03:49 -0400 (0:00:00.538) 0:00:29.652 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:03:49 -0400 (0:00:00.048) 0:00:29.700 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:03:49 -0400 (0:00:00.057) 0:00:29.758 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:03:50 -0400 (0:00:00.157) 0:00:29.915 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:50 -0400 (0:00:00.185) 0:00:30.101 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:50 -0400 (0:00:00.139) 0:00:30.241 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:50 -0400 (0:00:00.142) 0:00:30.383 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:50 -0400 (0:00:00.075) 0:00:30.458 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:50 -0400 (0:00:00.054) 0:00:30.513 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:52 -0400 (0:00:01.661) 0:00:32.175 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:03:53 -0400 (0:00:01.510) 0:00:33.685 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:03:53 -0400 (0:00:00.066) 0:00:33.752 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:03:54 -0400 (0:00:00.053) 0:00:33.806 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:03:54 -0400 (0:00:00.179) 0:00:33.985 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:03:54 -0400 (0:00:00.079) 0:00:34.064 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:03:54 -0400 (0:00:00.097) 0:00:34.162 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:03:54 -0400 (0:00:00.083) 0:00:34.246 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:03:54 -0400 (0:00:00.092) 0:00:34.338 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:03:54 -0400 (0:00:00.126) 0:00:34.465 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:03:54 -0400 (0:00:00.086) 0:00:34.551 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:03:54 -0400 (0:00:00.093) 0:00:34.645 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:03:54 -0400 (0:00:00.075) 0:00:34.720 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:03:55 -0400 (0:00:00.652) 0:00:35.373 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:03:55 -0400 (0:00:00.065) 0:00:35.439 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:03:55 -0400 (0:00:00.057) 0:00:35.496 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:03:55 -0400 (0:00:00.052) 0:00:35.548 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:03:56 -0400 (0:00:00.694) 0:00:36.243 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:03:56 -0400 (0:00:00.101) 0:00:36.344 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:03:56 -0400 (0:00:00.069) 0:00:36.414 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:03:56 -0400 (0:00:00.045) 0:00:36.459 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:03:56 -0400 (0:00:00.042) 0:00:36.502 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:03:57 -0400 (0:00:00.415) 0:00:36.918 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:03:57 -0400 (0:00:00.080) 0:00:36.998 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:03:57 -0400 (0:00:00.096) 0:00:37.095 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:03:57 -0400 (0:00:00.095) 0:00:37.190 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:03:57 -0400 (0:00:00.088) 0:00:37.279 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:03:57 -0400 (0:00:00.045) 0:00:37.325 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:03:57 -0400 (0:00:00.036) 0:00:37.361 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:03:57 -0400 (0:00:00.039) 0:00:37.400 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:03:59 -0400 (0:00:01.866) 0:00:39.267 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:01 -0400 (0:00:01.637) 0:00:40.904 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:01 -0400 (0:00:00.048) 0:00:40.953 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:01 -0400 (0:00:00.047) 0:00:41.000 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:01 -0400 (0:00:00.051) 0:00:41.052 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:01 -0400 (0:00:00.045) 0:00:41.097 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:01 -0400 (0:00:00.049) 0:00:41.146 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:01 -0400 (0:00:00.065) 0:00:41.212 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:01 -0400 (0:00:00.048) 0:00:41.260 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:01 -0400 (0:00:00.102) 0:00:41.363 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:01 -0400 (0:00:00.056) 0:00:41.420 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:01 -0400 (0:00:00.059) 0:00:41.479 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:01 -0400 (0:00:00.070) 0:00:41.550 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:02 -0400 (0:00:00.706) 0:00:42.256 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:02 -0400 (0:00:00.048) 0:00:42.304 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:02 -0400 (0:00:00.052) 0:00:42.357 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:02 -0400 (0:00:00.055) 0:00:42.412 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:03 -0400 (0:00:00.533) 0:00:42.946 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:03 -0400 (0:00:00.059) 0:00:43.005 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:03 -0400 (0:00:00.065) 0:00:43.071 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 52a63a21-c586-40b1-8ebc-408d26f587f3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:03 -0400 (0:00:00.091) 0:00:43.162 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:03 -0400 (0:00:00.040) 0:00:43.202 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:03 -0400 (0:00:00.358) 0:00:43.561 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:04:03 -0400 (0:00:00.096) 0:00:43.657 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:03 -0400 (0:00:00.075) 0:00:43.733 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050636.2702806, "block_size": 4096, "blocks": 0, "ctime": 1728050636.2702806, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728050636.2702806, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:04:04 -0400 (0:00:00.398) 0:00:44.132 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 10:04:04 -0400 (0:00:00.048) 0:00:44.180 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:04 -0400 (0:00:00.061) 0:00:44.242 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:04 -0400 (0:00:00.036) 0:00:44.278 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050636.307704, "block_size": 4096, "blocks": 8, "ctime": 1728050636.2687037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728050636.2687037, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:04 -0400 (0:00:00.380) 0:00:44.659 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:04 -0400 (0:00:00.101) 0:00:44.760 ******** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018843", "end": "2024-10-04 10:04:05.331599", "rc": 0, "start": "2024-10-04 10:04:05.312756" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:05 -0400 (0:00:00.461) 0:00:45.221 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:05 -0400 (0:00:00.055) 0:00:45.277 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:05 -0400 (0:00:00.108) 0:00:45.385 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:05 -0400 (0:00:00.088) 0:00:45.474 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:05 -0400 (0:00:00.121) 0:00:45.595 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 10:04:05 -0400 (0:00:00.065) 0:00:45.660 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 10:04:05 -0400 (0:00:00.066) 0:00:45.727 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 10:04:06 -0400 (0:00:00.069) 0:00:45.796 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:06 -0400 (0:00:00.079) 0:00:45.875 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:06 -0400 (0:00:00.056) 0:00:45.932 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:06 -0400 (0:00:00.063) 0:00:45.995 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:06 -0400 (0:00:00.114) 0:00:46.109 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.063581", "end": "2024-10-04 10:04:06.766335", "rc": 1, "start": "2024-10-04 10:04:06.702754" } STDOUT: Connection 'statebr' (52a63a21-c586-40b1-8ebc-408d26f587f3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 04 October 2024 10:04:06 -0400 (0:00:00.587) 0:00:46.697 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:07 -0400 (0:00:00.109) 0:00:46.806 ******** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:07 -0400 (0:00:00.077) 0:00:46.884 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:07 -0400 (0:00:00.112) 0:00:46.997 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:07 -0400 (0:00:00.076) 0:00:47.073 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:07 -0400 (0:00:00.104) 0:00:47.177 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003087", "end": "2024-10-04 10:04:07.727281", "rc": 0, "start": "2024-10-04 10:04:07.724194" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:07 -0400 (0:00:00.401) 0:00:47.579 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:07 -0400 (0:00:00.048) 0:00:47.627 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:07 -0400 (0:00:00.042) 0:00:47.670 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:07 -0400 (0:00:00.067) 0:00:47.737 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:08 -0400 (0:00:00.094) 0:00:47.831 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:08 -0400 (0:00:00.075) 0:00:47.906 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:08 -0400 (0:00:00.071) 0:00:47.977 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:08 -0400 (0:00:00.059) 0:00:48.037 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:08 -0400 (0:00:00.059) 0:00:48.097 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:09 -0400 (0:00:01.574) 0:00:49.672 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:11 -0400 (0:00:01.453) 0:00:51.125 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:11 -0400 (0:00:00.037) 0:00:51.163 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:11 -0400 (0:00:00.035) 0:00:51.199 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:11 -0400 (0:00:00.036) 0:00:51.235 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:11 -0400 (0:00:00.036) 0:00:51.271 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:11 -0400 (0:00:00.042) 0:00:51.314 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:11 -0400 (0:00:00.037) 0:00:51.351 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:11 -0400 (0:00:00.051) 0:00:51.402 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:11 -0400 (0:00:00.070) 0:00:51.473 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:11 -0400 (0:00:00.033) 0:00:51.507 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:11 -0400 (0:00:00.035) 0:00:51.542 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:11 -0400 (0:00:00.041) 0:00:51.583 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:12 -0400 (0:00:00.531) 0:00:52.115 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:12 -0400 (0:00:00.178) 0:00:52.293 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:12 -0400 (0:00:00.056) 0:00:52.350 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:12 -0400 (0:00:00.064) 0:00:52.414 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:13 -0400 (0:00:00.659) 0:00:53.074 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:13 -0400 (0:00:00.042) 0:00:53.116 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:13 -0400 (0:00:00.050) 0:00:53.167 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:13 -0400 (0:00:00.041) 0:00:53.209 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:13 -0400 (0:00:00.036) 0:00:53.245 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:13 -0400 (0:00:00.362) 0:00:53.607 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:13 -0400 (0:00:00.043) 0:00:53.651 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:13 -0400 (0:00:00.069) 0:00:53.720 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:14 -0400 (0:00:00.105) 0:00:53.826 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:14 -0400 (0:00:00.050) 0:00:53.876 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:14 -0400 (0:00:00.049) 0:00:53.925 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:14 -0400 (0:00:00.048) 0:00:53.974 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:15 -0400 (0:00:01.623) 0:00:55.597 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:17 -0400 (0:00:01.524) 0:00:57.122 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:17 -0400 (0:00:00.090) 0:00:57.212 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:17 -0400 (0:00:00.094) 0:00:57.307 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:17 -0400 (0:00:00.084) 0:00:57.392 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:17 -0400 (0:00:00.045) 0:00:57.437 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:17 -0400 (0:00:00.075) 0:00:57.513 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:17 -0400 (0:00:00.067) 0:00:57.580 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:17 -0400 (0:00:00.076) 0:00:57.657 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:17 -0400 (0:00:00.111) 0:00:57.768 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:18 -0400 (0:00:00.043) 0:00:57.812 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:18 -0400 (0:00:00.049) 0:00:57.862 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:18 -0400 (0:00:00.041) 0:00:57.904 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:18 -0400 (0:00:00.528) 0:00:58.432 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:18 -0400 (0:00:00.106) 0:00:58.538 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:18 -0400 (0:00:00.057) 0:00:58.596 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:18 -0400 (0:00:00.054) 0:00:58.650 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:19 -0400 (0:00:00.701) 0:00:59.352 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:19 -0400 (0:00:00.100) 0:00:59.452 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:19 -0400 (0:00:00.059) 0:00:59.512 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9d00570-cb6b-4627-b36f-0eb7eaec3429 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:19 -0400 (0:00:00.106) 0:00:59.618 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:19 -0400 (0:00:00.082) 0:00:59.701 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:20 -0400 (0:00:00.463) 0:01:00.164 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:04:20 -0400 (0:00:00.088) 0:01:00.252 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:20 -0400 (0:00:00.132) 0:01:00.384 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:20 -0400 (0:00:00.162) 0:01:00.547 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:20 -0400 (0:00:00.086) 0:01:00.633 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:20 -0400 (0:00:00.071) 0:01:00.704 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:20 -0400 (0:00:00.057) 0:01:00.762 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:22 -0400 (0:00:01.592) 0:01:02.354 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:24 -0400 (0:00:01.539) 0:01:03.894 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:24 -0400 (0:00:00.036) 0:01:03.930 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:24 -0400 (0:00:00.046) 0:01:03.977 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:24 -0400 (0:00:00.036) 0:01:04.014 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:24 -0400 (0:00:00.034) 0:01:04.048 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:24 -0400 (0:00:00.043) 0:01:04.091 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:24 -0400 (0:00:00.036) 0:01:04.128 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:24 -0400 (0:00:00.058) 0:01:04.186 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:24 -0400 (0:00:00.072) 0:01:04.258 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:24 -0400 (0:00:00.043) 0:01:04.302 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:24 -0400 (0:00:00.044) 0:01:04.347 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:24 -0400 (0:00:00.043) 0:01:04.391 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:25 -0400 (0:00:00.619) 0:01:05.010 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:25 -0400 (0:00:00.065) 0:01:05.076 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:25 -0400 (0:00:00.056) 0:01:05.132 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:25 -0400 (0:00:00.103) 0:01:05.236 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:26 -0400 (0:00:00.689) 0:01:05.926 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:26 -0400 (0:00:00.052) 0:01:05.978 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:26 -0400 (0:00:00.064) 0:01:06.042 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:26 -0400 (0:00:00.086) 0:01:06.128 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:26 -0400 (0:00:00.077) 0:01:06.205 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:26 -0400 (0:00:00.426) 0:01:06.632 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 10:04:26 -0400 (0:00:00.111) 0:01:06.743 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:27 -0400 (0:00:00.091) 0:01:06.835 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728050653.1705682, "block_size": 4096, "blocks": 0, "ctime": 1728050653.1705682, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728050653.1705682, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 10:04:27 -0400 (0:00:00.462) 0:01:07.297 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:04:27 -0400 (0:00:00.053) 0:01:07.350 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:27 -0400 (0:00:00.139) 0:01:07.489 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:27 -0400 (0:00:00.076) 0:01:07.566 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:28 -0400 (0:00:00.422) 0:01:07.988 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:28 -0400 (0:00:00.105) 0:01:08.094 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018528", "end": "2024-10-04 10:04:28.725541", "rc": 1, "start": "2024-10-04 10:04:28.707013" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:28 -0400 (0:00:00.514) 0:01:08.608 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:28 -0400 (0:00:00.071) 0:01:08.679 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:28 -0400 (0:00:00.053) 0:01:08.733 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:29 -0400 (0:00:00.066) 0:01:08.799 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:29 -0400 (0:00:00.054) 0:01:08.854 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:04:29 -0400 (0:00:00.075) 0:01:08.929 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:29 -0400 (0:00:00.062) 0:01:08.992 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:29 -0400 (0:00:00.040) 0:01:09.032 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:29 -0400 (0:00:00.041) 0:01:09.073 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:29 -0400 (0:00:00.123) 0:01:09.197 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067298", "end": "2024-10-04 10:04:29.777267", "rc": 1, "start": "2024-10-04 10:04:29.709969" } STDOUT: Connection 'statebr' (e9d00570-cb6b-4627-b36f-0eb7eaec3429) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 04 October 2024 10:04:29 -0400 (0:00:00.464) 0:01:09.661 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:29 -0400 (0:00:00.088) 0:01:09.749 ******** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:30 -0400 (0:00:00.044) 0:01:09.794 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:30 -0400 (0:00:00.088) 0:01:09.882 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:30 -0400 (0:00:00.056) 0:01:09.939 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:30 -0400 (0:00:00.056) 0:01:09.995 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003039", "end": "2024-10-04 10:04:30.626086", "rc": 0, "start": "2024-10-04 10:04:30.623047" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:30 -0400 (0:00:00.493) 0:01:10.489 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:30 -0400 (0:00:00.039) 0:01:10.529 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:30 -0400 (0:00:00.034) 0:01:10.564 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:04:30 -0400 (0:00:00.139) 0:01:10.703 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:31 -0400 (0:00:00.095) 0:01:10.798 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:31 -0400 (0:00:00.109) 0:01:10.907 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:31 -0400 (0:00:00.068) 0:01:10.976 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:31 -0400 (0:00:00.054) 0:01:11.031 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:31 -0400 (0:00:00.061) 0:01:11.092 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:32 -0400 (0:00:01.657) 0:01:12.750 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:34 -0400 (0:00:01.539) 0:01:14.290 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:34 -0400 (0:00:00.065) 0:01:14.355 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:34 -0400 (0:00:00.065) 0:01:14.420 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:34 -0400 (0:00:00.059) 0:01:14.480 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:34 -0400 (0:00:00.082) 0:01:14.562 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:34 -0400 (0:00:00.047) 0:01:14.610 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:34 -0400 (0:00:00.040) 0:01:14.651 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:34 -0400 (0:00:00.050) 0:01:14.702 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:34 -0400 (0:00:00.073) 0:01:14.775 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:35 -0400 (0:00:00.035) 0:01:14.811 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:35 -0400 (0:00:00.070) 0:01:14.881 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:35 -0400 (0:00:00.042) 0:01:14.924 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:35 -0400 (0:00:00.531) 0:01:15.456 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:35 -0400 (0:00:00.044) 0:01:15.500 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:35 -0400 (0:00:00.035) 0:01:15.535 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:35 -0400 (0:00:00.035) 0:01:15.571 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:36 -0400 (0:00:00.701) 0:01:16.273 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:36 -0400 (0:00:00.104) 0:01:16.377 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:36 -0400 (0:00:00.083) 0:01:16.461 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:36 -0400 (0:00:00.089) 0:01:16.550 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:36 -0400 (0:00:00.058) 0:01:16.609 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:04:37 -0400 (0:00:00.477) 0:01:17.086 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:04:37 -0400 (0:00:00.145) 0:01:17.232 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:37 -0400 (0:00:00.111) 0:01:17.343 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:37 -0400 (0:00:00.091) 0:01:17.435 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:37 -0400 (0:00:00.047) 0:01:17.483 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:37 -0400 (0:00:00.036) 0:01:17.519 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:37 -0400 (0:00:00.036) 0:01:17.555 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:39 -0400 (0:00:01.663) 0:01:19.219 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:40 -0400 (0:00:01.515) 0:01:20.734 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:40 -0400 (0:00:00.036) 0:01:20.771 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:41 -0400 (0:00:00.034) 0:01:20.805 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:41 -0400 (0:00:00.034) 0:01:20.839 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:41 -0400 (0:00:00.035) 0:01:20.874 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:41 -0400 (0:00:00.043) 0:01:20.918 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:41 -0400 (0:00:00.035) 0:01:20.954 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:41 -0400 (0:00:00.043) 0:01:20.998 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:41 -0400 (0:00:00.094) 0:01:21.093 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:41 -0400 (0:00:00.035) 0:01:21.129 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:41 -0400 (0:00:00.036) 0:01:21.166 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:41 -0400 (0:00:00.085) 0:01:21.251 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:42 -0400 (0:00:00.594) 0:01:21.846 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:42 -0400 (0:00:00.048) 0:01:21.894 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:42 -0400 (0:00:00.045) 0:01:21.940 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:42 -0400 (0:00:00.044) 0:01:21.984 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:42 -0400 (0:00:00.523) 0:01:22.508 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:42 -0400 (0:00:00.036) 0:01:22.544 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:42 -0400 (0:00:00.039) 0:01:22.584 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a5ef49-ccd8-40a3-aaba-cac8399809ca skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:42 -0400 (0:00:00.037) 0:01:22.621 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:42 -0400 (0:00:00.036) 0:01:22.658 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Friday 04 October 2024 10:04:43 -0400 (0:00:00.435) 0:01:23.093 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:43 -0400 (0:00:00.149) 0:01:23.243 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:43 -0400 (0:00:00.119) 0:01:23.363 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:43 -0400 (0:00:00.070) 0:01:23.433 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:43 -0400 (0:00:00.057) 0:01:23.491 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:43 -0400 (0:00:00.058) 0:01:23.550 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:45 -0400 (0:00:01.641) 0:01:25.191 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:46 -0400 (0:00:01.482) 0:01:26.673 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:46 -0400 (0:00:00.036) 0:01:26.710 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:46 -0400 (0:00:00.036) 0:01:26.746 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:47 -0400 (0:00:00.036) 0:01:26.783 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:47 -0400 (0:00:00.050) 0:01:26.833 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:47 -0400 (0:00:00.044) 0:01:26.877 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:47 -0400 (0:00:00.037) 0:01:26.915 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:47 -0400 (0:00:00.042) 0:01:26.957 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:47 -0400 (0:00:00.074) 0:01:27.031 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:47 -0400 (0:00:00.038) 0:01:27.070 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:47 -0400 (0:00:00.036) 0:01:27.106 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:47 -0400 (0:00:00.045) 0:01:27.152 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:47 -0400 (0:00:00.590) 0:01:27.742 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:48 -0400 (0:00:00.060) 0:01:27.803 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:48 -0400 (0:00:00.089) 0:01:27.892 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:48 -0400 (0:00:00.089) 0:01:27.981 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:48 -0400 (0:00:00.591) 0:01:28.573 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:48 -0400 (0:00:00.034) 0:01:28.608 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:48 -0400 (0:00:00.036) 0:01:28.644 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:48 -0400 (0:00:00.038) 0:01:28.683 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:48 -0400 (0:00:00.036) 0:01:28.719 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:04:49 -0400 (0:00:00.363) 0:01:29.082 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.067) 0:01:29.150 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:04:49 -0400 (0:00:00.121) 0:01:29.272 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:04:49 -0400 (0:00:00.109) 0:01:29.382 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:04:49 -0400 (0:00:00.072) 0:01:29.454 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:04:49 -0400 (0:00:00.056) 0:01:29.510 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:04:49 -0400 (0:00:00.058) 0:01:29.568 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:04:51 -0400 (0:00:01.652) 0:01:31.220 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:04:52 -0400 (0:00:01.553) 0:01:32.774 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:04:53 -0400 (0:00:00.046) 0:01:32.821 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:04:53 -0400 (0:00:00.044) 0:01:32.865 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:04:53 -0400 (0:00:00.044) 0:01:32.909 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:04:53 -0400 (0:00:00.035) 0:01:32.945 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:04:53 -0400 (0:00:00.055) 0:01:33.001 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:04:53 -0400 (0:00:00.066) 0:01:33.067 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:04:53 -0400 (0:00:00.061) 0:01:33.128 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:04:53 -0400 (0:00:00.116) 0:01:33.245 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:04:53 -0400 (0:00:00.057) 0:01:33.302 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:04:53 -0400 (0:00:00.058) 0:01:33.360 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:04:53 -0400 (0:00:00.050) 0:01:33.411 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:04:54 -0400 (0:00:00.581) 0:01:33.992 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:04:54 -0400 (0:00:00.047) 0:01:34.040 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:04:54 -0400 (0:00:00.070) 0:01:34.110 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:04:54 -0400 (0:00:00.071) 0:01:34.182 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:04:55 -0400 (0:00:00.745) 0:01:34.927 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:04:55 -0400 (0:00:00.061) 0:01:34.989 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:04:55 -0400 (0:00:00.061) 0:01:35.051 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:04:55 -0400 (0:00:00.065) 0:01:35.116 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:04:55 -0400 (0:00:00.072) 0:01:35.189 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:04:55 -0400 (0:00:00.408) 0:01:35.597 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:04:55 -0400 (0:00:00.097) 0:01:35.695 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:04:56 -0400 (0:00:00.145) 0:01:35.840 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:04:56 -0400 (0:00:00.069) 0:01:35.909 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:04:56 -0400 (0:00:00.540) 0:01:36.450 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:04:56 -0400 (0:00:00.095) 0:01:36.545 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017937", "end": "2024-10-04 10:04:57.289384", "rc": 1, "start": "2024-10-04 10:04:57.271447" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:04:57 -0400 (0:00:00.609) 0:01:37.154 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:04:57 -0400 (0:00:00.050) 0:01:37.204 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:04:57 -0400 (0:00:00.045) 0:01:37.250 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:04:57 -0400 (0:00:00.038) 0:01:37.288 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:04:57 -0400 (0:00:00.042) 0:01:37.330 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:04:57 -0400 (0:00:00.049) 0:01:37.379 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:04:57 -0400 (0:00:00.052) 0:01:37.432 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:04:57 -0400 (0:00:00.118) 0:01:37.551 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:04:57 -0400 (0:00:00.110) 0:01:37.661 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:04:58 -0400 (0:00:00.403) 0:01:38.065 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:04:58 -0400 (0:00:00.047) 0:01:38.112 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:04:58 -0400 (0:00:00.047) 0:01:38.159 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:04:58 -0400 (0:00:00.146) 0:01:38.306 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036009", "end": "2024-10-04 10:04:58.904642", "rc": 1, "start": "2024-10-04 10:04:58.868633" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 04 October 2024 10:04:58 -0400 (0:00:00.446) 0:01:38.760 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Friday 04 October 2024 10:04:59 -0400 (0:00:00.087) 0:01:38.847 ******** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Friday 04 October 2024 10:04:59 -0400 (0:00:00.059) 0:01:38.907 ******** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Friday 04 October 2024 10:04:59 -0400 (0:00:00.117) 0:01:39.025 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 10:04:59 -0400 (0:00:00.096) 0:01:39.121 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 10:04:59 -0400 (0:00:00.077) 0:01:39.199 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002899", "end": "2024-10-04 10:04:59.741566", "rc": 0, "start": "2024-10-04 10:04:59.738667" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 10:04:59 -0400 (0:00:00.421) 0:01:39.620 ******** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 10:04:59 -0400 (0:00:00.063) 0:01:39.684 ******** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Friday 04 October 2024 10:04:59 -0400 (0:00:00.058) 0:01:39.743 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Friday 04 October 2024 10:05:00 -0400 (0:00:00.118) 0:01:39.862 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:00 -0400 (0:00:00.099) 0:01:39.961 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:00 -0400 (0:00:00.098) 0:01:40.060 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:00 -0400 (0:00:00.051) 0:01:40.111 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:00 -0400 (0:00:00.041) 0:01:40.153 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:00 -0400 (0:00:00.045) 0:01:40.198 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:02 -0400 (0:00:01.647) 0:01:41.846 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:03 -0400 (0:00:01.465) 0:01:43.311 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:03 -0400 (0:00:00.037) 0:01:43.349 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:03 -0400 (0:00:00.043) 0:01:43.393 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:03 -0400 (0:00:00.055) 0:01:43.448 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:03 -0400 (0:00:00.083) 0:01:43.532 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:03 -0400 (0:00:00.066) 0:01:43.599 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:03 -0400 (0:00:00.068) 0:01:43.668 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:03 -0400 (0:00:00.103) 0:01:43.772 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:04 -0400 (0:00:00.087) 0:01:43.859 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:04 -0400 (0:00:00.035) 0:01:43.894 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:04 -0400 (0:00:00.035) 0:01:43.929 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:04 -0400 (0:00:00.042) 0:01:43.972 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:04 -0400 (0:00:00.655) 0:01:44.627 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:04 -0400 (0:00:00.047) 0:01:44.675 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:04 -0400 (0:00:00.055) 0:01:44.731 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:05 -0400 (0:00:00.055) 0:01:44.787 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:05 -0400 (0:00:00.632) 0:01:45.419 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:05 -0400 (0:00:00.064) 0:01:45.483 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:05 -0400 (0:00:00.043) 0:01:45.527 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:05 -0400 (0:00:00.056) 0:01:45.584 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:05 -0400 (0:00:00.117) 0:01:45.701 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Friday 04 October 2024 10:05:06 -0400 (0:00:00.520) 0:01:46.222 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Friday 04 October 2024 10:05:06 -0400 (0:00:00.062) 0:01:46.284 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:06 -0400 (0:00:00.097) 0:01:46.382 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:06 -0400 (0:00:00.093) 0:01:46.476 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:06 -0400 (0:00:00.067) 0:01:46.543 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:06 -0400 (0:00:00.060) 0:01:46.604 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:06 -0400 (0:00:00.060) 0:01:46.664 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:08 -0400 (0:00:01.611) 0:01:48.276 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:09 -0400 (0:00:01.500) 0:01:49.777 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:10 -0400 (0:00:00.042) 0:01:49.820 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:10 -0400 (0:00:00.040) 0:01:49.860 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:10 -0400 (0:00:00.036) 0:01:49.897 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:10 -0400 (0:00:00.036) 0:01:49.934 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:10 -0400 (0:00:00.043) 0:01:49.977 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:10 -0400 (0:00:00.038) 0:01:50.015 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:10 -0400 (0:00:00.041) 0:01:50.057 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:10 -0400 (0:00:00.127) 0:01:50.185 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:10 -0400 (0:00:00.037) 0:01:50.223 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:10 -0400 (0:00:00.036) 0:01:50.259 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:10 -0400 (0:00:00.047) 0:01:50.306 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:11 -0400 (0:00:00.597) 0:01:50.904 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:11 -0400 (0:00:00.067) 0:01:50.971 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:11 -0400 (0:00:00.048) 0:01:51.020 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:11 -0400 (0:00:00.041) 0:01:51.062 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:11 -0400 (0:00:00.561) 0:01:51.623 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:11 -0400 (0:00:00.062) 0:01:51.686 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:11 -0400 (0:00:00.062) 0:01:51.748 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcf45c95-bdcc-48f8-965b-72a62f96e1d9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:12 -0400 (0:00:00.044) 0:01:51.793 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:12 -0400 (0:00:00.034) 0:01:51.828 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:05:12 -0400 (0:00:00.365) 0:01:52.193 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:12 -0400 (0:00:00.060) 0:01:52.254 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:12 -0400 (0:00:00.070) 0:01:52.325 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:12 -0400 (0:00:00.043) 0:01:52.368 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:12 -0400 (0:00:00.036) 0:01:52.404 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:12 -0400 (0:00:00.035) 0:01:52.440 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:14 -0400 (0:00:01.576) 0:01:54.017 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:15 -0400 (0:00:01.461) 0:01:55.478 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:15 -0400 (0:00:00.041) 0:01:55.520 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:15 -0400 (0:00:00.040) 0:01:55.560 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:15 -0400 (0:00:00.040) 0:01:55.601 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:15 -0400 (0:00:00.037) 0:01:55.638 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:15 -0400 (0:00:00.044) 0:01:55.683 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:15 -0400 (0:00:00.036) 0:01:55.719 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:15 -0400 (0:00:00.043) 0:01:55.762 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:16 -0400 (0:00:00.136) 0:01:55.899 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:16 -0400 (0:00:00.042) 0:01:55.942 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:16 -0400 (0:00:00.045) 0:01:55.987 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:16 -0400 (0:00:00.048) 0:01:56.036 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:16 -0400 (0:00:00.537) 0:01:56.573 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:16 -0400 (0:00:00.048) 0:01:56.622 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:16 -0400 (0:00:00.058) 0:01:56.681 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:16 -0400 (0:00:00.058) 0:01:56.739 ******** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:17 -0400 (0:00:00.746) 0:01:57.485 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:17 -0400 (0:00:00.042) 0:01:57.527 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:17 -0400 (0:00:00.060) 0:01:57.588 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:17 -0400 (0:00:00.055) 0:01:57.644 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:17 -0400 (0:00:00.042) 0:01:57.686 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Friday 04 October 2024 10:05:18 -0400 (0:00:00.361) 0:01:58.048 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 04 October 2024 10:05:18 -0400 (0:00:00.066) 0:01:58.115 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 10:05:18 -0400 (0:00:00.060) 0:01:58.175 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 10:05:18 -0400 (0:00:00.070) 0:01:58.245 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 10:05:18 -0400 (0:00:00.044) 0:01:58.290 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 10:05:18 -0400 (0:00:00.037) 0:01:58.327 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 10:05:18 -0400 (0:00:00.036) 0:01:58.363 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 10:05:20 -0400 (0:00:01.566) 0:01:59.930 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 10:05:21 -0400 (0:00:01.495) 0:02:01.426 ******** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 10:05:21 -0400 (0:00:00.057) 0:02:01.483 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 10:05:21 -0400 (0:00:00.055) 0:02:01.538 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 10:05:21 -0400 (0:00:00.039) 0:02:01.578 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 10:05:21 -0400 (0:00:00.050) 0:02:01.629 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 10:05:21 -0400 (0:00:00.069) 0:02:01.699 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 10:05:21 -0400 (0:00:00.070) 0:02:01.769 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 10:05:22 -0400 (0:00:00.117) 0:02:01.887 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 10:05:22 -0400 (0:00:00.089) 0:02:01.976 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 10:05:22 -0400 (0:00:00.052) 0:02:02.028 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 10:05:22 -0400 (0:00:00.051) 0:02:02.080 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 10:05:22 -0400 (0:00:00.041) 0:02:02.121 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 10:05:22 -0400 (0:00:00.541) 0:02:02.662 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 10:05:22 -0400 (0:00:00.043) 0:02:02.706 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 10:05:22 -0400 (0:00:00.042) 0:02:02.748 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 10:05:23 -0400 (0:00:00.041) 0:02:02.790 ******** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 10:05:23 -0400 (0:00:00.593) 0:02:03.383 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 10:05:23 -0400 (0:00:00.048) 0:02:03.431 ******** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 10:05:23 -0400 (0:00:00.041) 0:02:03.473 ******** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 10:05:23 -0400 (0:00:00.046) 0:02:03.519 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 10:05:23 -0400 (0:00:00.087) 0:02:03.607 ******** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Friday 04 October 2024 10:05:24 -0400 (0:00:00.376) 0:02:03.983 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Friday 04 October 2024 10:05:24 -0400 (0:00:00.125) 0:02:04.109 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 10:05:24 -0400 (0:00:00.131) 0:02:04.240 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 10:05:24 -0400 (0:00:00.058) 0:02:04.299 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 10:05:24 -0400 (0:00:00.461) 0:02:04.760 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 10:05:25 -0400 (0:00:00.074) 0:02:04.834 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018187", "end": "2024-10-04 10:05:25.476617", "rc": 1, "start": "2024-10-04 10:05:25.458430" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 10:05:25 -0400 (0:00:00.532) 0:02:05.367 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 10:05:25 -0400 (0:00:00.108) 0:02:05.476 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 10:05:25 -0400 (0:00:00.084) 0:02:05.560 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 10:05:25 -0400 (0:00:00.071) 0:02:05.631 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 10:05:25 -0400 (0:00:00.061) 0:02:05.693 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Friday 04 October 2024 10:05:26 -0400 (0:00:00.124) 0:02:05.818 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 04 October 2024 10:05:26 -0400 (0:00:00.088) 0:02:05.906 ******** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.882780", "end": "2024-10-04 10:05:27.417456", "rc": 0, "start": "2024-10-04 10:05:26.534676" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 04 October 2024 10:05:27 -0400 (0:00:01.361) 0:02:07.267 ******** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 04 October 2024 10:05:27 -0400 (0:00:00.038) 0:02:07.305 ******** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Friday 04 October 2024 10:05:27 -0400 (0:00:00.064) 0:02:07.370 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 04 October 2024 10:05:27 -0400 (0:00:00.135) 0:02:07.505 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 10:05:27 -0400 (0:00:00.101) 0:02:07.607 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 04 October 2024 10:05:28 -0400 (0:00:00.444) 0:02:08.051 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Friday 04 October 2024 10:05:28 -0400 (0:00:00.091) 0:02:08.142 ******** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Friday 04 October 2024 10:05:28 -0400 (0:00:00.123) 0:02:08.266 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Friday 04 October 2024 10:05:28 -0400 (0:00:00.128) 0:02:08.394 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036230", "end": "2024-10-04 10:05:28.971836", "rc": 1, "start": "2024-10-04 10:05:28.935606" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 04 October 2024 10:05:29 -0400 (0:00:00.431) 0:02:08.826 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008258", "end": "2024-10-04 10:05:29.391715", "rc": 0, "start": "2024-10-04 10:05:29.383457" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c3:80:be:29 brd ff:ff:ff:ff:ff:ff inet 10.31.15.191/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2308sec preferred_lft 2308sec inet6 fe80::8ff:c3ff:fe80:be29/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.191 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.191 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 04 October 2024 10:05:29 -0400 (0:00:00.415) 0:02:09.241 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.135542", "end": "2024-10-04 10:05:29.970699", "rc": 0, "start": "2024-10-04 10:05:29.835157" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3630 0 --:--:-- --:--:-- --:--:-- 3630 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 12125 0 --:--:-- --:--:-- --:--:-- 12125 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Friday 04 October 2024 10:05:30 -0400 (0:00:00.580) 0:02:09.821 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26