ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-1lz executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-1lz/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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 21 October 2024 09:11:23 -0400 (0:00:00.011) 0:00:00.011 ******** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 21 October 2024 09:11:24 -0400 (0:00:01.331) 0:00:01.343 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 09:11:24 -0400 (0:00:00.050) 0:00:01.394 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 09:11:25 -0400 (0:00:00.567) 0:00:01.961 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 09:11:25 -0400 (0:00:00.519) 0:00:02.481 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 09:11:25 -0400 (0:00:00.033) 0:00:02.514 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 09:11:25 -0400 (0:00:00.022) 0:00:02.536 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 10] ********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 09:11:25 -0400 (0:00:00.063) 0:00:02.600 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 09:11:25 -0400 (0:00:00.021) 0:00:02.622 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 09:11:25 -0400 (0:00:00.019) 0:00:02.642 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 09:11:25 -0400 (0:00:00.020) 0:00:02.663 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 09:11:25 -0400 (0:00:00.020) 0:00:02.684 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 21 October 2024 09:11:25 -0400 (0:00:00.023) 0:00:02.707 ******** ok: [managed-node3] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 21 October 2024 09:11:26 -0400 (0:00:00.050) 0:00:02.758 ******** ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 21 October 2024 09:11:26 -0400 (0:00:00.914) 0:00:03.673 ******** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 21 October 2024 09:11:26 -0400 (0:00:00.015) 0:00:03.689 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:11:27 -0400 (0:00:00.022) 0:00:03.712 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:11:27 -0400 (0:00:00.015) 0:00:03.727 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:11:27 -0400 (0:00:00.045) 0:00:03.773 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:11:27 -0400 (0:00:00.020) 0:00:03.794 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:11:27 -0400 (0:00:00.017) 0:00:03.811 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003215", "end": "2024-10-21 09:11:27.506873", "rc": 0, "start": "2024-10-21 09:11:27.503658" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:11:27 -0400 (0:00:00.457) 0:00:04.269 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:11:27 -0400 (0:00:00.018) 0:00:04.287 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:11:27 -0400 (0:00:00.018) 0:00:04.306 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 09:11:27 -0400 (0:00:00.026) 0:00:04.332 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007364", "end": "2024-10-21 09:11:27.896165", "rc": 1, "start": "2024-10-21 09:11:27.888801" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:11:27 -0400 (0:00:00.322) 0:00:04.654 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:11:27 -0400 (0:00:00.019) 0:00:04.673 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:11:28 -0400 (0:00:00.319) 0:00:04.993 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:11:28 -0400 (0:00:00.026) 0:00:05.019 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:11:28 -0400 (0:00:00.038) 0:00:05.058 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:11:28 -0400 (0:00:00.043) 0:00:05.102 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:11:28 -0400 (0:00:00.030) 0:00:05.133 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:11:28 -0400 (0:00:00.033) 0:00:05.166 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:11:28 -0400 (0:00:00.018) 0:00:05.185 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:11:28 -0400 (0:00:00.017) 0:00:05.202 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:11:30 -0400 (0:00:01.856) 0:00:07.059 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:11:31 -0400 (0:00:01.215) 0:00:08.274 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:11:31 -0400 (0:00:00.053) 0:00:08.328 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:11:31 -0400 (0:00:00.047) 0:00:08.376 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:11:31 -0400 (0:00:00.033) 0:00:08.409 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:11:31 -0400 (0:00:00.072) 0:00:08.482 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:11:31 -0400 (0:00:00.059) 0:00:08.542 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:11:31 -0400 (0:00:00.046) 0:00:08.588 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:11:31 -0400 (0:00:00.086) 0:00:08.675 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:11:32 -0400 (0:00:00.148) 0:00:08.823 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:11:32 -0400 (0:00:00.111) 0:00:08.935 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:11:32 -0400 (0:00:00.054) 0:00:08.989 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:11:32 -0400 (0:00:00.110) 0:00:09.100 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:11:33 -0400 (0:00:00.860) 0:00:09.961 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:11:33 -0400 (0:00:00.065) 0:00:10.027 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:11:33 -0400 (0:00:00.034) 0:00:10.062 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:11:33 -0400 (0:00:00.037) 0:00:10.100 ******** changed: [managed-node3] => { "_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, 5b5c9c4f-557f-4005-a536-5ed48b3ba454 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:11:34 -0400 (0:00:00.671) 0:00:10.771 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:11:34 -0400 (0:00:00.030) 0:00:10.802 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b5c9c4f-557f-4005-a536-5ed48b3ba454" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:11:34 -0400 (0:00:00.038) 0:00:10.840 ******** ok: [managed-node3] => { "__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, 5b5c9c4f-557f-4005-a536-5ed48b3ba454\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b5c9c4f-557f-4005-a536-5ed48b3ba454" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:11:34 -0400 (0:00:00.064) 0:00:10.905 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:11:34 -0400 (0:00:00.052) 0:00:10.957 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:11:34 -0400 (0:00:00.534) 0:00:11.492 ******** ok: [managed-node3] => { "__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, 5b5c9c4f-557f-4005-a536-5ed48b3ba454\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b5c9c4f-557f-4005-a536-5ed48b3ba454" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:11:34 -0400 (0:00:00.032) 0:00:11.525 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:11:34 -0400 (0:00:00.054) 0:00:11.579 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:11:34 -0400 (0:00:00.080) 0:00:11.659 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:11:34 -0400 (0:00:00.040) 0:00:11.700 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:11:35 -0400 (0:00:00.385) 0:00:12.085 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:11:35 -0400 (0:00:00.048) 0:00:12.134 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017745", "end": "2024-10-21 09:11:35.743121", "rc": 0, "start": "2024-10-21 09:11:35.725376" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:11:35 -0400 (0:00:00.400) 0:00:12.534 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:11:35 -0400 (0:00:00.039) 0:00:12.573 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:11:35 -0400 (0:00:00.035) 0:00:12.609 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:11:35 -0400 (0:00:00.039) 0:00:12.649 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:11:35 -0400 (0:00:00.032) 0:00:12.682 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:11:36 -0400 (0:00:00.029) 0:00:12.711 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:11:36 -0400 (0:00:00.033) 0:00:12.745 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:11:36 -0400 (0:00:00.032) 0:00:12.777 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:11:36 -0400 (0:00:00.045) 0:00:12.823 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:11:36 -0400 (0:00:00.078) 0:00:12.901 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:11:36 -0400 (0:00:00.046) 0:00:12.948 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516293.9527538, "block_size": 4096, "blocks": 0, "ctime": 1729516293.9527538, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30548, "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": 1729516293.9527538, "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:11:36 -0400 (0:00:00.365) 0:00:13.314 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:11:36 -0400 (0:00:00.045) 0:00:13.359 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:11:36 -0400 (0:00:00.083) 0:00:13.443 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:11:36 -0400 (0:00:00.055) 0:00:13.498 ******** fatal: [managed-node3]: 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.109141", "end": "2024-10-21 09:11:37.172204", "rc": 1, "start": "2024-10-21 09:11:37.063063" } STDOUT: Connection 'statebr' (5b5c9c4f-557f-4005-a536-5ed48b3ba454) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 21 October 2024 09:11:37 -0400 (0:00:00.478) 0:00:13.976 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:11:37 -0400 (0:00:00.095) 0:00:14.072 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:11:37 -0400 (0:00:00.068) 0:00:14.140 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:11:37 -0400 (0:00:00.097) 0:00:14.237 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:11:37 -0400 (0:00:00.085) 0:00:14.322 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:11:37 -0400 (0:00:00.107) 0:00:14.430 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-10-21 09:11:38.058552", "rc": 0, "start": "2024-10-21 09:11:38.055321" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:11:38 -0400 (0:00:00.421) 0:00:14.851 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:11:38 -0400 (0:00:00.059) 0:00:14.911 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:11:38 -0400 (0:00:00.071) 0:00:14.982 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 09:11:38 -0400 (0:00:00.091) 0:00:15.074 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006100", "end": "2024-10-21 09:11:38.666548", "rc": 1, "start": "2024-10-21 09:11:38.660448" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:11:38 -0400 (0:00:00.367) 0:00:15.441 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:11:38 -0400 (0:00:00.112) 0:00:15.554 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:11:39 -0400 (0:00:00.377) 0:00:15.931 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:11:39 -0400 (0:00:00.066) 0:00:15.998 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 21 October 2024 09:11:39 -0400 (0:00:00.161) 0:00:16.159 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:11:39 -0400 (0:00:00.135) 0:00:16.295 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:11:39 -0400 (0:00:00.070) 0:00:16.366 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:11:39 -0400 (0:00:00.065) 0:00:16.432 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:11:39 -0400 (0:00:00.034) 0:00:16.466 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:11:39 -0400 (0:00:00.032) 0:00:16.499 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:11:41 -0400 (0:00:01.693) 0:00:18.192 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:11:42 -0400 (0:00:00.741) 0:00:18.933 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:11:42 -0400 (0:00:00.080) 0:00:19.014 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:11:42 -0400 (0:00:00.032) 0:00:19.047 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:11:42 -0400 (0:00:00.030) 0:00:19.077 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:11:42 -0400 (0:00:00.096) 0:00:19.173 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:11:42 -0400 (0:00:00.082) 0:00:19.256 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:11:42 -0400 (0:00:00.055) 0:00:19.311 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:11:42 -0400 (0:00:00.068) 0:00:19.379 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:11:42 -0400 (0:00:00.082) 0:00:19.462 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:11:42 -0400 (0:00:00.028) 0:00:19.491 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:11:42 -0400 (0:00:00.028) 0:00:19.519 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:11:42 -0400 (0:00:00.052) 0:00:19.571 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:11:43 -0400 (0:00:00.603) 0:00:20.175 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:11:43 -0400 (0:00:00.145) 0:00:20.321 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:11:43 -0400 (0:00:00.049) 0:00:20.370 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:11:43 -0400 (0:00:00.052) 0:00:20.423 ******** changed: [managed-node3] => { "_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, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:11:44 -0400 (0:00:00.585) 0:00:21.009 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:11:44 -0400 (0:00:00.032) 0:00:21.042 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:11:44 -0400 (0:00:00.033) 0:00:21.076 ******** ok: [managed-node3] => { "__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, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:11:44 -0400 (0:00:00.033) 0:00:21.109 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:11:44 -0400 (0:00:00.060) 0:00:21.169 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 21 October 2024 09:11:44 -0400 (0:00:00.381) 0:00:21.551 ******** ok: [managed-node3] => { "__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, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:11:44 -0400 (0:00:00.057) 0:00:21.609 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:11:44 -0400 (0:00:00.097) 0:00:21.707 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:11:45 -0400 (0:00:00.058) 0:00:21.765 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:11:45 -0400 (0:00:00.341) 0:00:22.106 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:11:45 -0400 (0:00:00.051) 0:00:22.158 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:11:45 -0400 (0:00:00.104) 0:00:22.263 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:11:45 -0400 (0:00:00.059) 0:00:22.323 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:11:45 -0400 (0:00:00.365) 0:00:22.688 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:11:46 -0400 (0:00:00.042) 0:00:22.730 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017214", "end": "2024-10-21 09:11:46.371258", "rc": 0, "start": "2024-10-21 09:11:46.354044" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:11:46 -0400 (0:00:00.443) 0:00:23.174 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:11:46 -0400 (0:00:00.059) 0:00:23.233 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:11:46 -0400 (0:00:00.054) 0:00:23.288 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:11:46 -0400 (0:00:00.051) 0:00:23.340 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:11:46 -0400 (0:00:00.142) 0:00:23.483 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:11:46 -0400 (0:00:00.051) 0:00:23.534 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:11:46 -0400 (0:00:00.058) 0:00:23.592 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:11:46 -0400 (0:00:00.058) 0:00:23.651 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:11:46 -0400 (0:00:00.055) 0:00:23.706 ******** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:11:47 -0400 (0:00:00.079) 0:00:23.785 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:11:47 -0400 (0:00:00.055) 0:00:23.840 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:11:47 -0400 (0:00:00.175) 0:00:24.016 ******** fatal: [managed-node3]: 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.035283", "end": "2024-10-21 09:11:47.669560", "rc": 1, "start": "2024-10-21 09:11:47.634277" } STDOUT: Connection 'statebr' (ae4cb6d4-d978-4ae6-b2c1-25fc5b0aabe2) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 21 October 2024 09:11:47 -0400 (0:00:00.424) 0:00:24.440 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:11:47 -0400 (0:00:00.076) 0:00:24.517 ******** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:11:47 -0400 (0:00:00.047) 0:00:24.564 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:11:48 -0400 (0:00:00.160) 0:00:24.725 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:11:48 -0400 (0:00:00.108) 0:00:24.834 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:11:48 -0400 (0:00:00.100) 0:00:24.935 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-10-21 09:11:48.518336", "rc": 0, "start": "2024-10-21 09:11:48.514991" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:11:48 -0400 (0:00:00.416) 0:00:25.352 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:11:48 -0400 (0:00:00.051) 0:00:25.404 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:11:48 -0400 (0:00:00.060) 0:00:25.464 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:11:48 -0400 (0:00:00.184) 0:00:25.649 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:11:49 -0400 (0:00:00.159) 0:00:25.808 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:11:49 -0400 (0:00:00.110) 0:00:25.919 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:11:49 -0400 (0:00:00.065) 0:00:25.984 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:11:49 -0400 (0:00:00.043) 0:00:26.027 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:11:49 -0400 (0:00:00.043) 0:00:26.070 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:11:51 -0400 (0:00:01.823) 0:00:27.893 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:11:52 -0400 (0:00:00.902) 0:00:28.796 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:11:52 -0400 (0:00:00.058) 0:00:28.855 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:11:52 -0400 (0:00:00.052) 0:00:28.907 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:11:52 -0400 (0:00:00.095) 0:00:29.003 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:11:52 -0400 (0:00:00.083) 0:00:29.086 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:11:52 -0400 (0:00:00.066) 0:00:29.153 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:11:52 -0400 (0:00:00.059) 0:00:29.213 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:11:52 -0400 (0:00:00.054) 0:00:29.268 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:11:52 -0400 (0:00:00.082) 0:00:29.351 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:11:52 -0400 (0:00:00.034) 0:00:29.385 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:11:52 -0400 (0:00:00.042) 0:00:29.428 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:11:52 -0400 (0:00:00.106) 0:00:29.534 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:11:53 -0400 (0:00:00.630) 0:00:30.165 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:11:53 -0400 (0:00:00.091) 0:00:30.257 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:11:53 -0400 (0:00:00.040) 0:00:30.297 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:11:53 -0400 (0:00:00.049) 0:00:30.346 ******** changed: [managed-node3] => { "_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, e75a0577-2f6d-4b72-b09a-2351a3aff352 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:11:54 -0400 (0:00:00.634) 0:00:30.981 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:11:54 -0400 (0:00:00.052) 0:00:31.033 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75a0577-2f6d-4b72-b09a-2351a3aff352" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:11:54 -0400 (0:00:00.064) 0:00:31.097 ******** ok: [managed-node3] => { "__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, e75a0577-2f6d-4b72-b09a-2351a3aff352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75a0577-2f6d-4b72-b09a-2351a3aff352" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:11:54 -0400 (0:00:00.078) 0:00:31.175 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:11:54 -0400 (0:00:00.057) 0:00:31.233 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:11:54 -0400 (0:00:00.406) 0:00:31.639 ******** ok: [managed-node3] => { "__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, e75a0577-2f6d-4b72-b09a-2351a3aff352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e75a0577-2f6d-4b72-b09a-2351a3aff352" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:11:54 -0400 (0:00:00.035) 0:00:31.675 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:11:55 -0400 (0:00:00.054) 0:00:31.729 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:11:55 -0400 (0:00:00.091) 0:00:31.821 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:11:55 -0400 (0:00:00.102) 0:00:31.924 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:11:55 -0400 (0:00:00.112) 0:00:32.037 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:11:55 -0400 (0:00:00.066) 0:00:32.103 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:11:55 -0400 (0:00:00.058) 0:00:32.162 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:11:57 -0400 (0:00:01.750) 0:00:33.912 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:11:58 -0400 (0:00:00.847) 0:00:34.760 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:11:58 -0400 (0:00:00.085) 0:00:34.845 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:11:58 -0400 (0:00:00.097) 0:00:34.943 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:11:58 -0400 (0:00:00.047) 0:00:34.990 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:11:58 -0400 (0:00:00.098) 0:00:35.089 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:11:58 -0400 (0:00:00.095) 0:00:35.185 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:11:58 -0400 (0:00:00.057) 0:00:35.242 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:11:58 -0400 (0:00:00.057) 0:00:35.299 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:11:58 -0400 (0:00:00.081) 0:00:35.381 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:11:58 -0400 (0:00:00.030) 0:00:35.411 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:11:58 -0400 (0:00:00.028) 0:00:35.439 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:11:58 -0400 (0:00:00.075) 0:00:35.514 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:11:59 -0400 (0:00:00.597) 0:00:36.112 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:11:59 -0400 (0:00:00.107) 0:00:36.219 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:11:59 -0400 (0:00:00.066) 0:00:36.285 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:11:59 -0400 (0:00:00.052) 0:00:36.337 ******** ok: [managed-node3] => { "_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, e75a0577-2f6d-4b72-b09a-2351a3aff352 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:00 -0400 (0:00:00.602) 0:00:36.940 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:00 -0400 (0:00:00.050) 0:00:36.991 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e75a0577-2f6d-4b72-b09a-2351a3aff352 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:00 -0400 (0:00:00.056) 0:00:37.048 ******** ok: [managed-node3] => { "__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, e75a0577-2f6d-4b72-b09a-2351a3aff352 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e75a0577-2f6d-4b72-b09a-2351a3aff352 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:00 -0400 (0:00:00.057) 0:00:37.106 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:00 -0400 (0:00:00.050) 0:00:37.156 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:12:00 -0400 (0:00:00.410) 0:00:37.566 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:12:00 -0400 (0:00:00.083) 0:00:37.650 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:12:01 -0400 (0:00:00.085) 0:00:37.735 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516314.1402755, "block_size": 4096, "blocks": 0, "ctime": 1729516314.1402755, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30673, "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": 1729516314.1402755, "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:12:01 -0400 (0:00:00.424) 0:00:38.160 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 09:12:01 -0400 (0:00:00.060) 0:00:38.221 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:12:01 -0400 (0:00:00.138) 0:00:38.360 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:12:01 -0400 (0:00:00.082) 0:00:38.442 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:12:02 -0400 (0:00:00.436) 0:00:38.878 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:12:02 -0400 (0:00:00.087) 0:00:38.966 ******** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017705", "end": "2024-10-21 09:12:02.591873", "rc": 0, "start": "2024-10-21 09:12:02.574168" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:12:02 -0400 (0:00:00.400) 0:00:39.367 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:12:02 -0400 (0:00:00.034) 0:00:39.402 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:12:02 -0400 (0:00:00.031) 0:00:39.433 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:12:02 -0400 (0:00:00.030) 0:00:39.463 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:12:02 -0400 (0:00:00.030) 0:00:39.494 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 09:12:02 -0400 (0:00:00.029) 0:00:39.524 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 09:12:02 -0400 (0:00:00.069) 0:00:39.593 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 09:12:02 -0400 (0:00:00.034) 0:00:39.628 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:12:02 -0400 (0:00:00.033) 0:00:39.662 ******** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:12:02 -0400 (0:00:00.046) 0:00:39.709 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:12:03 -0400 (0:00:00.033) 0:00:39.742 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:12:03 -0400 (0:00:00.072) 0:00:39.815 ******** fatal: [managed-node3]: 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.060230", "end": "2024-10-21 09:12:03.475919", "rc": 1, "start": "2024-10-21 09:12:03.415689" } STDOUT: Connection 'statebr' (e75a0577-2f6d-4b72-b09a-2351a3aff352) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 21 October 2024 09:12:03 -0400 (0:00:00.432) 0:00:40.247 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:12:03 -0400 (0:00:00.051) 0:00:40.299 ******** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:12:03 -0400 (0:00:00.033) 0:00:40.332 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:12:03 -0400 (0:00:00.086) 0:00:40.419 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:12:03 -0400 (0:00:00.063) 0:00:40.482 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:12:03 -0400 (0:00:00.090) 0:00:40.573 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003238", "end": "2024-10-21 09:12:04.160514", "rc": 0, "start": "2024-10-21 09:12:04.157276" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:12:04 -0400 (0:00:00.391) 0:00:40.965 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:12:04 -0400 (0:00:00.060) 0:00:41.025 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:12:04 -0400 (0:00:00.108) 0:00:41.134 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:12:04 -0400 (0:00:00.120) 0:00:41.255 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:04 -0400 (0:00:00.131) 0:00:41.386 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:04 -0400 (0:00:00.108) 0:00:41.495 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:04 -0400 (0:00:00.094) 0:00:41.589 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:04 -0400 (0:00:00.060) 0:00:41.649 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:04 -0400 (0:00:00.057) 0:00:41.706 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:06 -0400 (0:00:01.720) 0:00:43.426 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:07 -0400 (0:00:00.792) 0:00:44.219 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:07 -0400 (0:00:00.106) 0:00:44.325 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:07 -0400 (0:00:00.109) 0:00:44.434 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:07 -0400 (0:00:00.112) 0:00:44.547 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:08 -0400 (0:00:00.190) 0:00:44.738 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:08 -0400 (0:00:00.152) 0:00:44.891 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:08 -0400 (0:00:00.117) 0:00:45.008 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:08 -0400 (0:00:00.154) 0:00:45.163 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:08 -0400 (0:00:00.206) 0:00:45.369 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:08 -0400 (0:00:00.052) 0:00:45.422 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:08 -0400 (0:00:00.052) 0:00:45.474 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:08 -0400 (0:00:00.092) 0:00:45.567 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:09 -0400 (0:00:00.661) 0:00:46.228 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:09 -0400 (0:00:00.059) 0:00:46.288 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:09 -0400 (0:00:00.029) 0:00:46.317 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:09 -0400 (0:00:00.031) 0:00:46.349 ******** changed: [managed-node3] => { "_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, bfea871d-9b7f-4d4a-ad7e-ee842d434a06 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:10 -0400 (0:00:00.563) 0:00:46.912 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:10 -0400 (0:00:00.030) 0:00:46.943 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bfea871d-9b7f-4d4a-ad7e-ee842d434a06" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:10 -0400 (0:00:00.035) 0:00:46.978 ******** ok: [managed-node3] => { "__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, bfea871d-9b7f-4d4a-ad7e-ee842d434a06\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bfea871d-9b7f-4d4a-ad7e-ee842d434a06" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:10 -0400 (0:00:00.043) 0:00:47.021 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:10 -0400 (0:00:00.037) 0:00:47.059 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:12:10 -0400 (0:00:00.384) 0:00:47.444 ******** ok: [managed-node3] => { "__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, bfea871d-9b7f-4d4a-ad7e-ee842d434a06\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bfea871d-9b7f-4d4a-ad7e-ee842d434a06" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:12:10 -0400 (0:00:00.092) 0:00:47.537 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:10 -0400 (0:00:00.085) 0:00:47.623 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:11 -0400 (0:00:00.108) 0:00:47.731 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:11 -0400 (0:00:00.098) 0:00:47.830 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:11 -0400 (0:00:00.095) 0:00:47.925 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:11 -0400 (0:00:00.070) 0:00:47.996 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:13 -0400 (0:00:01.717) 0:00:49.713 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:13 -0400 (0:00:00.737) 0:00:50.451 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:13 -0400 (0:00:00.033) 0:00:50.484 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:13 -0400 (0:00:00.027) 0:00:50.512 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:13 -0400 (0:00:00.033) 0:00:50.545 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:13 -0400 (0:00:00.082) 0:00:50.628 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:14 -0400 (0:00:00.082) 0:00:50.710 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:14 -0400 (0:00:00.105) 0:00:50.816 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:14 -0400 (0:00:00.056) 0:00:50.872 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:14 -0400 (0:00:00.089) 0:00:50.962 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:14 -0400 (0:00:00.044) 0:00:51.006 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:14 -0400 (0:00:00.057) 0:00:51.063 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:14 -0400 (0:00:00.077) 0:00:51.141 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:14 -0400 (0:00:00.558) 0:00:51.699 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:15 -0400 (0:00:00.087) 0:00:51.787 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:15 -0400 (0:00:00.057) 0:00:51.845 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:15 -0400 (0:00:00.042) 0:00:51.887 ******** ok: [managed-node3] => { "_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, bfea871d-9b7f-4d4a-ad7e-ee842d434a06 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:15 -0400 (0:00:00.522) 0:00:52.409 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:15 -0400 (0:00:00.030) 0:00:52.439 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bfea871d-9b7f-4d4a-ad7e-ee842d434a06 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:15 -0400 (0:00:00.051) 0:00:52.490 ******** ok: [managed-node3] => { "__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, bfea871d-9b7f-4d4a-ad7e-ee842d434a06 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bfea871d-9b7f-4d4a-ad7e-ee842d434a06 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:15 -0400 (0:00:00.037) 0:00:52.528 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:15 -0400 (0:00:00.029) 0:00:52.558 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:12:16 -0400 (0:00:00.383) 0:00:52.941 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 09:12:16 -0400 (0:00:00.058) 0:00:53.000 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:16 -0400 (0:00:00.103) 0:00:53.103 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:16 -0400 (0:00:00.059) 0:00:53.163 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:16 -0400 (0:00:00.055) 0:00:53.218 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:16 -0400 (0:00:00.033) 0:00:53.252 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:16 -0400 (0:00:00.035) 0:00:53.287 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:18 -0400 (0:00:01.738) 0:00:55.026 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:19 -0400 (0:00:00.925) 0:00:55.951 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:19 -0400 (0:00:00.080) 0:00:56.032 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:19 -0400 (0:00:00.068) 0:00:56.100 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:19 -0400 (0:00:00.058) 0:00:56.159 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:19 -0400 (0:00:00.189) 0:00:56.348 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:19 -0400 (0:00:00.097) 0:00:56.446 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:19 -0400 (0:00:00.092) 0:00:56.539 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:20 -0400 (0:00:00.208) 0:00:56.748 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:20 -0400 (0:00:00.220) 0:00:56.968 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:20 -0400 (0:00:00.056) 0:00:57.025 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:20 -0400 (0:00:00.053) 0:00:57.079 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:20 -0400 (0:00:00.107) 0:00:57.186 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:21 -0400 (0:00:00.605) 0:00:57.792 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:21 -0400 (0:00:00.087) 0:00:57.880 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:21 -0400 (0:00:00.050) 0:00:57.930 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:21 -0400 (0:00:00.048) 0:00:57.979 ******** changed: [managed-node3] => { "_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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:21 -0400 (0:00:00.667) 0:00:58.646 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:21 -0400 (0:00:00.047) 0:00:58.694 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:22 -0400 (0:00:00.039) 0:00:58.733 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:22 -0400 (0:00:00.048) 0:00:58.782 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:22 -0400 (0:00:00.036) 0:00:58.819 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:12:22 -0400 (0:00:00.429) 0:00:59.249 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 09:12:22 -0400 (0:00:00.125) 0:00:59.374 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:12:22 -0400 (0:00:00.145) 0:00:59.520 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729516330.0967681, "block_size": 4096, "blocks": 0, "ctime": 1729516330.0967681, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30798, "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": 1729516330.0967681, "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 09:12:23 -0400 (0:00:00.390) 0:00:59.910 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:12:23 -0400 (0:00:00.040) 0:00:59.951 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:12:23 -0400 (0:00:00.053) 0:01:00.005 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:12:23 -0400 (0:00:00.031) 0:01:00.037 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:12:23 -0400 (0:00:00.360) 0:01:00.397 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:12:23 -0400 (0:00:00.048) 0:01:00.446 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017292", "end": "2024-10-21 09:12:24.053804", "rc": 1, "start": "2024-10-21 09:12:24.036512" } 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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:12:24 -0400 (0:00:00.437) 0:01:00.883 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:12:24 -0400 (0:00:00.054) 0:01:00.938 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:12:24 -0400 (0:00:00.056) 0:01:00.995 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:12:24 -0400 (0:00:00.041) 0:01:01.036 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:12:24 -0400 (0:00:00.035) 0:01:01.072 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:12:24 -0400 (0:00:00.031) 0:01:01.103 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:12:24 -0400 (0:00:00.032) 0:01:01.135 ******** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:12:24 -0400 (0:00:00.045) 0:01:01.181 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:12:24 -0400 (0:00:00.034) 0:01:01.215 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:12:24 -0400 (0:00:00.188) 0:01:01.404 ******** ok: [managed-node3] => { "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.046538", "end": "2024-10-21 09:12:25.071383", "rc": 0, "start": "2024-10-21 09:12:25.024845" } STDOUT: Connection 'statebr' (bfea871d-9b7f-4d4a-ad7e-ee842d434a06) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 21 October 2024 09:12:25 -0400 (0:00:00.495) 0:01:01.900 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:12:25 -0400 (0:00:00.086) 0:01:01.986 ******** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:12:25 -0400 (0:00:00.044) 0:01:02.030 ******** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:12:25 -0400 (0:00:00.069) 0:01:02.099 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:12:25 -0400 (0:00:00.053) 0:01:02.153 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:12:25 -0400 (0:00:00.084) 0:01:02.238 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003198", "end": "2024-10-21 09:12:25.832317", "rc": 0, "start": "2024-10-21 09:12:25.829119" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:12:25 -0400 (0:00:00.369) 0:01:02.608 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:12:25 -0400 (0:00:00.047) 0:01:02.655 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:12:26 -0400 (0:00:00.056) 0:01:02.711 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:12:26 -0400 (0:00:00.098) 0:01:02.810 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:26 -0400 (0:00:00.121) 0:01:02.932 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:26 -0400 (0:00:00.164) 0:01:03.097 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:26 -0400 (0:00:00.160) 0:01:03.257 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:26 -0400 (0:00:00.103) 0:01:03.361 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:26 -0400 (0:00:00.100) 0:01:03.462 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:28 -0400 (0:00:01.773) 0:01:05.236 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:29 -0400 (0:00:00.682) 0:01:05.918 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:29 -0400 (0:00:00.035) 0:01:05.953 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:29 -0400 (0:00:00.043) 0:01:05.997 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:29 -0400 (0:00:00.053) 0:01:06.050 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:29 -0400 (0:00:00.090) 0:01:06.141 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:29 -0400 (0:00:00.093) 0:01:06.234 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:29 -0400 (0:00:00.116) 0:01:06.351 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:29 -0400 (0:00:00.151) 0:01:06.502 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:30 -0400 (0:00:00.262) 0:01:06.764 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:30 -0400 (0:00:00.091) 0:01:06.856 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:30 -0400 (0:00:00.060) 0:01:06.916 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:30 -0400 (0:00:00.208) 0:01:07.125 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:31 -0400 (0:00:00.606) 0:01:07.732 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:31 -0400 (0:00:00.082) 0:01:07.815 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:31 -0400 (0:00:00.051) 0:01:07.866 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:31 -0400 (0:00:00.048) 0:01:07.915 ******** changed: [managed-node3] => { "_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, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:31 -0400 (0:00:00.634) 0:01:08.549 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:31 -0400 (0:00:00.052) 0:01:08.602 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:31 -0400 (0:00:00.057) 0:01:08.659 ******** ok: [managed-node3] => { "__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, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:32 -0400 (0:00:00.071) 0:01:08.731 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:32 -0400 (0:00:00.060) 0:01:08.791 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:12:32 -0400 (0:00:00.409) 0:01:09.201 ******** ok: [managed-node3] => { "__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, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:12:32 -0400 (0:00:00.059) 0:01:09.260 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:32 -0400 (0:00:00.116) 0:01:09.377 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:32 -0400 (0:00:00.124) 0:01:09.501 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:32 -0400 (0:00:00.082) 0:01:09.584 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:32 -0400 (0:00:00.118) 0:01:09.703 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:33 -0400 (0:00:00.061) 0:01:09.764 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:34 -0400 (0:00:01.801) 0:01:11.566 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:35 -0400 (0:00:00.791) 0:01:12.357 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:35 -0400 (0:00:00.066) 0:01:12.423 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:35 -0400 (0:00:00.051) 0:01:12.475 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:35 -0400 (0:00:00.053) 0:01:12.529 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:35 -0400 (0:00:00.099) 0:01:12.628 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:36 -0400 (0:00:00.100) 0:01:12.729 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:36 -0400 (0:00:00.066) 0:01:12.795 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:36 -0400 (0:00:00.111) 0:01:12.907 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:36 -0400 (0:00:00.134) 0:01:13.041 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:36 -0400 (0:00:00.049) 0:01:13.091 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:36 -0400 (0:00:00.050) 0:01:13.142 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:36 -0400 (0:00:00.064) 0:01:13.207 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:37 -0400 (0:00:00.591) 0:01:13.798 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:37 -0400 (0:00:00.243) 0:01:14.041 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:37 -0400 (0:00:00.044) 0:01:14.085 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:37 -0400 (0:00:00.036) 0:01:14.121 ******** ok: [managed-node3] => { "_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, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:37 -0400 (0:00:00.576) 0:01:14.698 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:38 -0400 (0:00:00.034) 0:01:14.732 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:38 -0400 (0:00:00.046) 0:01:14.778 ******** ok: [managed-node3] => { "__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, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 058d7163-2d03-4d8f-ba18-6b1cdb21bcb9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:38 -0400 (0:00:00.042) 0:01:14.821 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:38 -0400 (0:00:00.031) 0:01:14.853 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 09:12:38 -0400 (0:00:00.363) 0:01:15.217 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:38 -0400 (0:00:00.130) 0:01:15.348 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:38 -0400 (0:00:00.138) 0:01:15.486 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:38 -0400 (0:00:00.090) 0:01:15.577 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:38 -0400 (0:00:00.060) 0:01:15.638 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:38 -0400 (0:00:00.059) 0:01:15.697 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:40 -0400 (0:00:01.825) 0:01:17.522 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:41 -0400 (0:00:00.731) 0:01:18.254 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:41 -0400 (0:00:00.034) 0:01:18.288 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:41 -0400 (0:00:00.031) 0:01:18.320 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:41 -0400 (0:00:00.037) 0:01:18.357 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:41 -0400 (0:00:00.074) 0:01:18.432 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:41 -0400 (0:00:00.063) 0:01:18.496 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:41 -0400 (0:00:00.047) 0:01:18.544 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:41 -0400 (0:00:00.067) 0:01:18.611 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:42 -0400 (0:00:00.232) 0:01:18.844 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:42 -0400 (0:00:00.081) 0:01:18.925 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:42 -0400 (0:00:00.052) 0:01:18.978 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:42 -0400 (0:00:00.093) 0:01:19.072 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:43 -0400 (0:00:00.674) 0:01:19.746 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:43 -0400 (0:00:00.095) 0:01:19.841 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:43 -0400 (0:00:00.052) 0:01:19.894 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:43 -0400 (0:00:00.038) 0:01:19.933 ******** changed: [managed-node3] => { "_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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:43 -0400 (0:00:00.631) 0:01:20.564 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:43 -0400 (0:00:00.032) 0:01:20.597 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:43 -0400 (0:00:00.034) 0:01:20.631 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:43 -0400 (0:00:00.036) 0:01:20.667 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:44 -0400 (0:00:00.062) 0:01:20.730 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:12:44 -0400 (0:00:00.394) 0:01:21.124 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:12:44 -0400 (0:00:00.053) 0:01:21.178 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:44 -0400 (0:00:00.063) 0:01:21.241 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:44 -0400 (0:00:00.063) 0:01:21.304 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:44 -0400 (0:00:00.095) 0:01:21.400 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:44 -0400 (0:00:00.068) 0:01:21.469 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:44 -0400 (0:00:00.089) 0:01:21.558 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:46 -0400 (0:00:01.790) 0:01:23.349 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:47 -0400 (0:00:00.917) 0:01:24.267 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:47 -0400 (0:00:00.034) 0:01:24.302 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:47 -0400 (0:00:00.029) 0:01:24.332 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:47 -0400 (0:00:00.029) 0:01:24.362 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:47 -0400 (0:00:00.062) 0:01:24.425 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:47 -0400 (0:00:00.087) 0:01:24.512 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:47 -0400 (0:00:00.060) 0:01:24.572 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:47 -0400 (0:00:00.066) 0:01:24.638 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:48 -0400 (0:00:00.098) 0:01:24.737 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:48 -0400 (0:00:00.035) 0:01:24.772 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:48 -0400 (0:00:00.052) 0:01:24.825 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:48 -0400 (0:00:00.118) 0:01:24.944 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:48 -0400 (0:00:00.662) 0:01:25.606 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:48 -0400 (0:00:00.100) 0:01:25.707 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:49 -0400 (0:00:00.055) 0:01:25.763 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:49 -0400 (0:00:00.043) 0:01:25.806 ******** changed: [managed-node3] => { "_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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:49 -0400 (0:00:00.700) 0:01:26.507 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:49 -0400 (0:00:00.108) 0:01:26.615 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:49 -0400 (0:00:00.051) 0:01:26.667 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:50 -0400 (0:00:00.056) 0:01:26.723 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:50 -0400 (0:00:00.051) 0:01:26.775 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:12:50 -0400 (0:00:00.403) 0:01:27.179 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:12:50 -0400 (0:00:00.070) 0:01:27.250 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:12:50 -0400 (0:00:00.070) 0:01:27.320 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:12:50 -0400 (0:00:00.033) 0:01:27.354 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:12:50 -0400 (0:00:00.333) 0:01:27.688 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:12:51 -0400 (0:00:00.035) 0:01:27.724 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016706", "end": "2024-10-21 09:12:51.339929", "rc": 1, "start": "2024-10-21 09:12:51.323223" } 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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:12:51 -0400 (0:00:00.412) 0:01:28.136 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:12:51 -0400 (0:00:00.052) 0:01:28.189 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:12:51 -0400 (0:00:00.053) 0:01:28.243 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:12:51 -0400 (0:00:00.043) 0:01:28.287 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:12:51 -0400 (0:00:00.057) 0:01:28.345 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:12:51 -0400 (0:00:00.100) 0:01:28.445 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:12:51 -0400 (0:00:00.057) 0:01:28.502 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:12:51 -0400 (0:00:00.106) 0:01:28.608 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:12:51 -0400 (0:00:00.052) 0:01:28.661 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:12:52 -0400 (0:00:00.355) 0:01:29.016 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:12:52 -0400 (0:00:00.100) 0:01:29.117 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:12:52 -0400 (0:00:00.066) 0:01:29.184 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:12:52 -0400 (0:00:00.105) 0:01:29.289 ******** fatal: [managed-node3]: 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.032762", "end": "2024-10-21 09:12:52.927147", "rc": 1, "start": "2024-10-21 09:12:52.894385" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 21 October 2024 09:12:53 -0400 (0:00:00.453) 0:01:29.743 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 09:12:53 -0400 (0:00:00.107) 0:01:29.850 ******** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 09:12:53 -0400 (0:00:00.063) 0:01:29.914 ******** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 09:12:53 -0400 (0:00:00.104) 0:01:30.019 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 09:12:53 -0400 (0:00:00.086) 0:01:30.105 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 09:12:53 -0400 (0:00:00.156) 0:01:30.262 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003499", "end": "2024-10-21 09:12:53.849093", "rc": 0, "start": "2024-10-21 09:12:53.845594" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 09:12:53 -0400 (0:00:00.359) 0:01:30.621 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 09:12:53 -0400 (0:00:00.051) 0:01:30.672 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 09:12:54 -0400 (0:00:00.039) 0:01:30.711 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 09:12:54 -0400 (0:00:00.059) 0:01:30.771 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:12:54 -0400 (0:00:00.068) 0:01:30.840 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:12:54 -0400 (0:00:00.058) 0:01:30.898 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:12:54 -0400 (0:00:00.061) 0:01:30.960 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:12:54 -0400 (0:00:00.084) 0:01:31.044 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:12:54 -0400 (0:00:00.060) 0:01:31.105 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:12:56 -0400 (0:00:01.734) 0:01:32.840 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:12:57 -0400 (0:00:00.918) 0:01:33.758 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:12:57 -0400 (0:00:00.085) 0:01:33.844 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:12:57 -0400 (0:00:00.032) 0:01:33.877 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:12:57 -0400 (0:00:00.030) 0:01:33.907 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:12:57 -0400 (0:00:00.062) 0:01:33.970 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:12:57 -0400 (0:00:00.089) 0:01:34.060 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:12:57 -0400 (0:00:00.112) 0:01:34.172 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:12:57 -0400 (0:00:00.152) 0:01:34.324 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:12:57 -0400 (0:00:00.193) 0:01:34.517 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:12:57 -0400 (0:00:00.043) 0:01:34.561 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:12:57 -0400 (0:00:00.063) 0:01:34.624 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:12:58 -0400 (0:00:00.112) 0:01:34.737 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:12:58 -0400 (0:00:00.550) 0:01:35.288 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:12:58 -0400 (0:00:00.057) 0:01:35.345 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:12:58 -0400 (0:00:00.031) 0:01:35.377 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:12:58 -0400 (0:00:00.035) 0:01:35.413 ******** changed: [managed-node3] => { "_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, 18e74109-6ba5-42d4-aefa-81cd0776fa2e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:12:59 -0400 (0:00:00.643) 0:01:36.057 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:12:59 -0400 (0:00:00.038) 0:01:36.095 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18e74109-6ba5-42d4-aefa-81cd0776fa2e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:12:59 -0400 (0:00:00.038) 0:01:36.134 ******** ok: [managed-node3] => { "__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, 18e74109-6ba5-42d4-aefa-81cd0776fa2e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18e74109-6ba5-42d4-aefa-81cd0776fa2e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:12:59 -0400 (0:00:00.076) 0:01:36.211 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:12:59 -0400 (0:00:00.030) 0:01:36.242 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 09:12:59 -0400 (0:00:00.381) 0:01:36.623 ******** ok: [managed-node3] => { "__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, 18e74109-6ba5-42d4-aefa-81cd0776fa2e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18e74109-6ba5-42d4-aefa-81cd0776fa2e" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 09:12:59 -0400 (0:00:00.035) 0:01:36.658 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:13:00 -0400 (0:00:00.065) 0:01:36.723 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:13:00 -0400 (0:00:00.061) 0:01:36.785 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:13:00 -0400 (0:00:00.057) 0:01:36.842 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:13:00 -0400 (0:00:00.049) 0:01:36.892 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:13:00 -0400 (0:00:00.055) 0:01:36.948 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:13:01 -0400 (0:00:01.724) 0:01:38.672 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:13:02 -0400 (0:00:00.699) 0:01:39.372 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:13:02 -0400 (0:00:00.034) 0:01:39.406 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:13:02 -0400 (0:00:00.029) 0:01:39.435 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:13:02 -0400 (0:00:00.070) 0:01:39.506 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:13:02 -0400 (0:00:00.060) 0:01:39.566 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:13:02 -0400 (0:00:00.058) 0:01:39.625 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:13:02 -0400 (0:00:00.050) 0:01:39.675 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:13:03 -0400 (0:00:00.057) 0:01:39.733 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:13:03 -0400 (0:00:00.086) 0:01:39.820 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:13:03 -0400 (0:00:00.030) 0:01:39.850 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:13:03 -0400 (0:00:00.030) 0:01:39.881 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:13:03 -0400 (0:00:00.057) 0:01:39.938 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:13:03 -0400 (0:00:00.541) 0:01:40.480 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:13:03 -0400 (0:00:00.060) 0:01:40.541 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:13:03 -0400 (0:00:00.031) 0:01:40.573 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:13:03 -0400 (0:00:00.029) 0:01:40.602 ******** ok: [managed-node3] => { "_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, 18e74109-6ba5-42d4-aefa-81cd0776fa2e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:13:04 -0400 (0:00:00.494) 0:01:41.096 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:13:04 -0400 (0:00:00.030) 0:01:41.126 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18e74109-6ba5-42d4-aefa-81cd0776fa2e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:13:04 -0400 (0:00:00.034) 0:01:41.161 ******** ok: [managed-node3] => { "__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, 18e74109-6ba5-42d4-aefa-81cd0776fa2e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18e74109-6ba5-42d4-aefa-81cd0776fa2e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:13:04 -0400 (0:00:00.033) 0:01:41.195 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:13:04 -0400 (0:00:00.031) 0:01:41.227 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:13:04 -0400 (0:00:00.391) 0:01:41.618 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:13:04 -0400 (0:00:00.067) 0:01:41.685 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:13:05 -0400 (0:00:00.058) 0:01:41.744 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:13:05 -0400 (0:00:00.053) 0:01:41.797 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:13:05 -0400 (0:00:00.035) 0:01:41.833 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:13:05 -0400 (0:00:00.034) 0:01:41.868 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:13:06 -0400 (0:00:01.736) 0:01:43.604 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:13:07 -0400 (0:00:00.683) 0:01:44.287 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:13:07 -0400 (0:00:00.034) 0:01:44.321 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:13:07 -0400 (0:00:00.031) 0:01:44.353 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:13:07 -0400 (0:00:00.034) 0:01:44.387 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:13:07 -0400 (0:00:00.063) 0:01:44.451 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:13:07 -0400 (0:00:00.058) 0:01:44.510 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:13:07 -0400 (0:00:00.139) 0:01:44.649 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:13:07 -0400 (0:00:00.058) 0:01:44.707 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:13:08 -0400 (0:00:00.082) 0:01:44.790 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:13:08 -0400 (0:00:00.031) 0:01:44.822 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:13:08 -0400 (0:00:00.029) 0:01:44.852 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:13:08 -0400 (0:00:00.059) 0:01:44.911 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:13:08 -0400 (0:00:00.540) 0:01:45.451 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:13:08 -0400 (0:00:00.057) 0:01:45.508 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:13:08 -0400 (0:00:00.030) 0:01:45.539 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:13:08 -0400 (0:00:00.028) 0:01:45.568 ******** changed: [managed-node3] => { "_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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:13:09 -0400 (0:00:00.586) 0:01:46.154 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:13:09 -0400 (0:00:00.031) 0:01:46.186 ******** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:13:09 -0400 (0:00:00.032) 0:01:46.218 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:13:09 -0400 (0:00:00.034) 0:01:46.253 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:13:09 -0400 (0:00:00.028) 0:01:46.282 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 09:13:09 -0400 (0:00:00.344) 0:01:46.627 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 09:13:10 -0400 (0:00:00.093) 0:01:46.721 ******** redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf included: fedora.linux_system_roles.network for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 09:13:10 -0400 (0:00:00.065) 0:01:46.786 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 09:13:10 -0400 (0:00:00.059) 0:01:46.845 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 09:13:10 -0400 (0:00:00.054) 0:01:46.900 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 09:13:10 -0400 (0:00:00.034) 0:01:46.934 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 09:13:10 -0400 (0:00:00.032) 0:01:46.967 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 09:13:11 -0400 (0:00:01.694) 0:01:48.661 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 09:13:12 -0400 (0:00:00.684) 0:01:49.346 ******** ok: [managed-node3] => {} 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 09:13:12 -0400 (0:00:00.034) 0:01:49.380 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 09:13:12 -0400 (0:00:00.029) 0:01:49.409 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 09:13:12 -0400 (0:00:00.033) 0:01:49.443 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 09:13:12 -0400 (0:00:00.061) 0:01:49.504 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 09:13:12 -0400 (0:00:00.062) 0:01:49.566 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 09:13:12 -0400 (0:00:00.050) 0:01:49.616 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 09:13:13 -0400 (0:00:00.148) 0:01:49.765 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 09:13:13 -0400 (0:00:00.086) 0:01:49.851 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 09:13:13 -0400 (0:00:00.030) 0:01:49.881 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 09:13:13 -0400 (0:00:00.030) 0:01:49.912 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 09:13:13 -0400 (0:00:00.056) 0:01:49.968 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 09:13:13 -0400 (0:00:00.542) 0:01:50.510 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 09:13:13 -0400 (0:00:00.058) 0:01:50.569 ******** skipping: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 09:13:13 -0400 (0:00:00.029) 0:01:50.599 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 09:13:13 -0400 (0:00:00.030) 0:01:50.629 ******** ok: [managed-node3] => { "_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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 09:13:14 -0400 (0:00:00.507) 0:01:51.136 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 09:13:14 -0400 (0:00:00.030) 0:01:51.167 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 09:13:14 -0400 (0:00:00.034) 0:01:51.202 ******** ok: [managed-node3] => { "__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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 09:13:14 -0400 (0:00:00.034) 0:01:51.236 ******** skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 09:13:14 -0400 (0:00:00.030) 0:01:51.266 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 09:13:14 -0400 (0:00:00.344) 0:01:51.611 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 09:13:14 -0400 (0:00:00.061) 0:01:51.673 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 09:13:15 -0400 (0:00:00.095) 0:01:51.768 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 09:13:15 -0400 (0:00:00.033) 0:01:51.802 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 09:13:15 -0400 (0:00:00.331) 0:01:52.134 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 09:13:15 -0400 (0:00:00.029) 0:01:52.163 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016879", "end": "2024-10-21 09:13:15.739213", "rc": 1, "start": "2024-10-21 09:13:15.722334" } 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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 09:13:15 -0400 (0:00:00.347) 0:01:52.511 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 09:13:15 -0400 (0:00:00.030) 0:01:52.541 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 09:13:15 -0400 (0:00:00.030) 0:01:52.572 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 09:13:15 -0400 (0:00:00.029) 0:01:52.601 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 09:13:15 -0400 (0:00:00.030) 0:01:52.632 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 09:13:15 -0400 (0:00:00.030) 0:01:52.663 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 21 October 2024 09:13:15 -0400 (0:00:00.032) 0:01:52.696 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.163141", "end": "2024-10-21 09:13:16.417753", "rc": 0, "start": "2024-10-21 09:13:16.254612" } STDOUT: NetworkManager-1.51.2-1.el10 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 21 October 2024 09:13:16 -0400 (0:00:00.495) 0:01:53.191 ******** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 21 October 2024 09:13:16 -0400 (0:00:00.032) 0:01:53.224 ******** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.51.2-1.el10" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 09:13:16 -0400 (0:00:00.034) 0:01:53.258 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 09:13:16 -0400 (0:00:00.076) 0:01:53.334 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 09:13:16 -0400 (0:00:00.047) 0:01:53.382 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 09:13:17 -0400 (0:00:00.377) 0:01:53.759 ******** ok: [managed-node3] => { "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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 09:13:17 -0400 (0:00:00.035) 0:01:53.795 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 09:13:17 -0400 (0:00:00.033) 0:01:53.829 ******** included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 09:13:17 -0400 (0:00:00.063) 0:01:53.892 ******** fatal: [managed-node3]: 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.033943", "end": "2024-10-21 09:13:17.493607", "rc": 1, "start": "2024-10-21 09:13:17.459664" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 21 October 2024 09:13:17 -0400 (0:00:00.374) 0:01:54.266 ******** ok: [managed-node3] => { "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.008861", "end": "2024-10-21 09:13:17.840384", "rc": 0, "start": "2024-10-21 09:13:17.831523" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:f1:b5:87:b4:63 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.11.204/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2659sec preferred_lft 2659sec inet6 fe80::10f1:b5ff:fe87:b463/64 scope link noprefixroute valid_lft forever preferred_lft forever 28: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether aa:fe:f3:09:7f:26 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.204 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.204 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 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-1lz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 21 October 2024 09:13:17 -0400 (0:00:00.345) 0:01:54.612 ******** ok: [managed-node3] => { "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.458100", "end": "2024-10-21 09:13:18.637625", "rc": 0, "start": "2024-10-21 09:13:18.179525" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 2600:2701:4000:5211:dead:beef:fe:fed3 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:fed7 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 1394 0 --:--:-- --:--:-- --:--:-- 1399 % 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 1348 0 --:--:-- --:--:-- --:--:-- 1353 PLAY RECAP ********************************************************************* managed-node3 : ok=334 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=10 Monday 21 October 2024 09:13:18 -0400 (0:00:00.846) 0:01:55.459 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-1lz/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-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /tmp/collections-1lz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26