ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Tuesday 08 October 2024 02:06:38 -0400 (0:00:00.024) 0:00:00.024 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Tuesday 08 October 2024 02:06:39 -0400 (0:00:01.016) 0:00:01.041 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:06:39 -0400 (0:00:00.035) 0:00:01.077 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:06:40 -0400 (0:00:00.471) 0:00:01.548 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:06:40 -0400 (0:00:00.430) 0:00:01.978 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:06:40 -0400 (0:00:00.047) 0:00:02.026 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:06:40 -0400 (0:00:00.038) 0:00:02.064 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:06:40 -0400 (0:00:00.093) 0:00:02.158 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:06:41 -0400 (0:00:00.423) 0:00:02.582 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:06:41 -0400 (0:00:00.025) 0:00:02.607 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:06:41 -0400 (0:00:00.024) 0:00:02.631 ******* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.221820", "end": "2024-10-08 02:06:41.970435", "rc": 0, "start": "2024-10-08 02:06:41.748615" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.557) 0:00:03.188 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.028) 0:00:03.216 ******* ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.028) 0:00:03.245 ******* ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.616) 0:00:03.861 ******* ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.022) 0:00:03.883 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.027) 0:00:03.911 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.018) 0:00:03.929 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.058) 0:00:03.987 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.024) 0:00:04.012 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:06:42 -0400 (0:00:00.025) 0:00:04.037 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002928", "end": "2024-10-08 02:06:43.167228", "rc": 0, "start": "2024-10-08 02:06:43.164300" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.339) 0:00:04.377 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.023) 0:00:04.400 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.018) 0:00:04.418 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.046) 0:00:04.465 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007401", "end": "2024-10-08 02:06:43.612604", "rc": 1, "start": "2024-10-08 02:06:43.605203" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.355) 0:00:04.821 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:06:43 -0400 (0:00:00.027) 0:00:04.848 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.373) 0:00:05.221 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.034) 0:00:05.256 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.045) 0:00:05.301 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.114) 0:00:05.416 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.041) 0:00:05.457 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.021) 0:00:05.479 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.017) 0:00:05.496 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:06:44 -0400 (0:00:00.017) 0:00:05.514 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:06:45 -0400 (0:00:01.628) 0:00:07.143 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:06:47 -0400 (0:00:01.600) 0:00:08.744 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.037) 0:00:08.781 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.043) 0:00:08.825 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.052) 0:00:08.878 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.045) 0:00:08.923 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.059) 0:00:08.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.054) 0:00:09.037 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:06:47 -0400 (0:00:00.062) 0:00:09.100 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.101) 0:00:09.201 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.096) 0:00:09.298 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.060) 0:00:09.358 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.068) 0:00:09.427 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.056) 0:00:09.483 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:06:48 -0400 (0:00:00.089) 0:00:09.573 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:06:49 -0400 (0:00:01.028) 0:00:10.601 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp5puds566" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:06:49 -0400 (0:00:00.397) 0:00:10.998 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.832) 0:00:11.831 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.077) 0:00:11.908 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.077) 0:00:11.986 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.079) 0:00:12.066 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:06:50 -0400 (0:00:00.053) 0:00:12.120 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.479) 0:00:12.599 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.054) 0:00:12.654 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.107) 0:00:12.761 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.128) 0:00:12.889 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:06:51 -0400 (0:00:00.047) 0:00:12.937 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367610.5219982, "block_size": 4096, "blocks": 8, "ctime": 1728367610.5219982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367610.5219982, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.380) 0:00:13.317 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.044) 0:00:13.362 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016972", "end": "2024-10-08 02:06:52.558404", "rc": 1, "start": "2024-10-08 02:06:52.541432" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.457) 0:00:13.820 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:06:52 -0400 (0:00:00.079) 0:00:13.900 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002744", "end": "2024-10-08 02:06:53.112580", "rc": 0, "start": "2024-10-08 02:06:53.109836" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.465) 0:00:14.366 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.156) 0:00:14.522 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002684", "end": "2024-10-08 02:06:53.729552", "rc": 0, "start": "2024-10-08 02:06:53.726868" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.469) 0:00:14.992 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.078) 0:00:15.070 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:06:53 -0400 (0:00:00.062) 0:00:15.132 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.070) 0:00:15.203 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.064) 0:00:15.268 ******* skipping: [managed-node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.076) 0:00:15.344 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.061) 0:00:15.406 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.087) 0:00:15.494 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033263", "end": "2024-10-08 02:06:54.675952", "rc": 1, "start": "2024-10-08 02:06:54.642689" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.407) 0:00:15.902 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.060) 0:00:15.962 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.045) 0:00:16.008 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:06:54 -0400 (0:00:00.114) 0:00:16.122 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.079) 0:00:16.202 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.093) 0:00:16.295 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002834", "end": "2024-10-08 02:06:55.457027", "rc": 0, "start": "2024-10-08 02:06:55.454193" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.393) 0:00:16.689 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.037) 0:00:16.726 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.036) 0:00:16.763 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:06:55 -0400 (0:00:00.067) 0:00:16.830 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005413", "end": "2024-10-08 02:06:56.009330", "rc": 1, "start": "2024-10-08 02:06:56.003917" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.405) 0:00:17.235 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.059) 0:00:17.295 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.358) 0:00:17.653 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.119) 0:00:17.773 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.075) 0:00:17.849 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.085) 0:00:17.935 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.071) 0:00:18.006 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.054) 0:00:18.061 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.035) 0:00:18.096 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:06:56 -0400 (0:00:00.040) 0:00:18.137 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:06:58 -0400 (0:00:01.605) 0:00:19.742 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:00 -0400 (0:00:01.625) 0:00:21.368 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.085) 0:00:21.454 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.054) 0:00:21.508 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.054) 0:00:21.563 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.058) 0:00:21.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.074) 0:00:21.696 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.049) 0:00:21.746 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.051) 0:00:21.798 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.082) 0:00:21.880 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.036) 0:00:21.916 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.084) 0:00:22.001 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.049) 0:00:22.051 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.042) 0:00:22.093 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.042) 0:00:22.135 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:01 -0400 (0:00:00.535) 0:00:22.671 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpi4lc69l7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:01 -0400 (0:00:00.366) 0:00:23.037 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.515) 0:00:23.552 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.071) 0:00:23.623 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.048) 0:00:23.672 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.045) 0:00:23.718 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.044) 0:00:23.763 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.376) 0:00:24.139 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.039) 0:00:24.178 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.072) 0:00:24.251 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.059) 0:00:24.311 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.348) 0:00:24.659 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.039) 0:00:24.698 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.062) 0:00:24.761 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.036) 0:00:24.798 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367622.2860446, "block_size": 4096, "blocks": 8, "ctime": 1728367622.2860446, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367622.2860446, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.386) 0:00:25.185 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.064) 0:00:25.250 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017253", "end": "2024-10-08 02:07:04.469586", "rc": 1, "start": "2024-10-08 02:07:04.452333" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.470) 0:00:25.721 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.079) 0:00:25.800 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002835", "end": "2024-10-08 02:07:04.934481", "rc": 0, "start": "2024-10-08 02:07:04.931646" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.371) 0:00:26.171 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.066) 0:00:26.238 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002823", "end": "2024-10-08 02:07:05.438922", "rc": 0, "start": "2024-10-08 02:07:05.436099" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.438) 0:00:26.676 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.044) 0:00:26.721 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.054) 0:00:26.775 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.059) 0:00:26.835 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.055) 0:00:26.890 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.052) 0:00:26.942 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.055) 0:00:26.998 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.124) 0:00:27.123 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033245", "end": "2024-10-08 02:07:06.471192", "rc": 1, "start": "2024-10-08 02:07:06.437947" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.608) 0:00:27.732 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.173) 0:00:27.906 ******* ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.054) 0:00:27.960 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.113) 0:00:28.074 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.074) 0:00:28.148 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.058) 0:00:28.207 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002881", "end": "2024-10-08 02:07:07.327441", "rc": 0, "start": "2024-10-08 02:07:07.324560" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.416) 0:00:28.623 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.112) 0:00:28.735 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.070) 0:00:28.806 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.102) 0:00:28.908 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.088) 0:00:28.997 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.117) 0:00:29.114 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.044) 0:00:29.159 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.036) 0:00:29.196 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:08 -0400 (0:00:00.034) 0:00:29.231 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:09 -0400 (0:00:01.576) 0:00:30.807 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:11 -0400 (0:00:01.442) 0:00:32.249 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.046) 0:00:32.295 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.043) 0:00:32.339 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.037) 0:00:32.376 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.037) 0:00:32.414 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.043) 0:00:32.458 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.036) 0:00:32.494 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.058) 0:00:32.552 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.077) 0:00:32.630 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.042) 0:00:32.672 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.034) 0:00:32.707 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.040) 0:00:32.748 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.035) 0:00:32.784 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.036) 0:00:32.820 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.559) 0:00:33.380 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpaqwq_o7_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.469) 0:00:33.850 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.584) 0:00:34.435 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.037) 0:00:34.472 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.038) 0:00:34.510 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.039) 0:00:34.550 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.036) 0:00:34.586 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.380) 0:00:34.967 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.045) 0:00:35.012 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:13 -0400 (0:00:00.077) 0:00:35.090 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.083) 0:00:35.173 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.100) 0:00:35.274 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.045) 0:00:35.319 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.047) 0:00:35.367 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.049) 0:00:35.416 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:16 -0400 (0:00:01.795) 0:00:37.212 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:17 -0400 (0:00:01.482) 0:00:38.695 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.044) 0:00:38.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.035) 0:00:38.774 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.037) 0:00:38.812 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.036) 0:00:38.848 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.049) 0:00:38.897 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.073) 0:00:38.970 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.081) 0:00:39.052 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.154) 0:00:39.207 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.068) 0:00:39.276 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.057) 0:00:39.333 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.065) 0:00:39.399 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.058) 0:00:39.457 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.054) 0:00:39.511 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.531) 0:00:40.042 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp9l3kgl3s" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.406) 0:00:40.449 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.838) 0:00:41.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.116) 0:00:41.404 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.113) 0:00:41.518 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.102) 0:00:41.621 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.082) 0:00:41.704 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.471) 0:00:42.175 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.089) 0:00:42.264 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.065) 0:00:42.330 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367639.950427, "block_size": 4096, "blocks": 0, "ctime": 1728367639.950427, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35930, "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": 1728367639.950427, "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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.446) 0:00:42.776 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.062) 0:00:42.838 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.086) 0:00:42.925 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.042) 0:00:42.968 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367639.8001144, "block_size": 4096, "blocks": 8, "ctime": 1728367633.2010882, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367633.2010882, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.417) 0:00:43.385 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.060) 0:00:43.446 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017658", "end": "2024-10-08 02:07:22.681566", "rc": 1, "start": "2024-10-08 02:07:22.663908" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.492) 0:00:43.938 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.068) 0:00:44.006 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002672", "end": "2024-10-08 02:07:23.188162", "rc": 0, "start": "2024-10-08 02:07:23.185490" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.430) 0:00:44.437 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.044) 0:00:44.482 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002756", "end": "2024-10-08 02:07:23.613577", "rc": 0, "start": "2024-10-08 02:07:23.610821" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.373) 0:00:44.855 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.064) 0:00:44.920 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.046) 0:00:44.967 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.111) 0:00:45.078 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.039) 0:00:45.118 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.034) 0:00:45.152 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.040) 0:00:45.192 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.083) 0:00:45.276 ******* ok: [managed-node1] => { "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.041849", "end": "2024-10-08 02:07:24.511682", "rc": 0, "start": "2024-10-08 02:07:24.469833" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.466) 0:00:45.742 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.079) 0:00:45.821 ******* ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.054) 0:00:45.876 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.115) 0:00:45.991 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:24 -0400 (0:00:00.093) 0:00:46.085 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.099) 0:00:46.184 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2024-10-08 02:07:25.436958", "rc": 0, "start": "2024-10-08 02:07:25.434008" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.500) 0:00:46.684 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.049) 0:00:46.734 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.048) 0:00:46.783 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.117) 0:00:46.900 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.088) 0:00:46.988 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.080) 0:00:47.069 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.052) 0:00:47.121 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:25 -0400 (0:00:00.040) 0:00:47.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:26 -0400 (0:00:00.047) 0:00:47.209 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:27 -0400 (0:00:01.578) 0:00:48.788 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:29 -0400 (0:00:01.470) 0:00:50.259 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.087) 0:00:50.346 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.063) 0:00:50.410 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.059) 0:00:50.470 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.058) 0:00:50.528 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.057) 0:00:50.586 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.087) 0:00:50.673 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.041) 0:00:50.715 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.076) 0:00:50.791 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.038) 0:00:50.829 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.037) 0:00:50.867 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.046) 0:00:50.913 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.038) 0:00:50.951 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.035) 0:00:50.986 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.512) 0:00:51.498 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp23fbfy14" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.448) 0:00:51.947 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.746) 0:00:52.694 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.117) 0:00:52.811 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.100) 0:00:52.911 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.157) 0:00:53.068 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.061) 0:00:53.130 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.396) 0:00:53.527 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.071) 0:00:53.598 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.100) 0:00:53.699 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.113) 0:00:53.812 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.069) 0:00:53.881 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.054) 0:00:53.936 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.047) 0:00:53.984 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:34 -0400 (0:00:01.774) 0:00:55.758 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:36 -0400 (0:00:01.617) 0:00:57.376 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.084) 0:00:57.460 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.065) 0:00:57.525 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.059) 0:00:57.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.066) 0:00:57.651 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.059) 0:00:57.711 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.044) 0:00:57.755 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.050) 0:00:57.805 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.099) 0:00:57.905 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.061) 0:00:57.967 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.100) 0:00:58.067 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.065) 0:00:58.132 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.044) 0:00:58.177 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.041) 0:00:58.219 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.558) 0:00:58.777 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpfaijza89" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.388) 0:00:59.166 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.766) 0:00:59.933 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.054) 0:00:59.987 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.057) 0:01:00.045 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.051) 0:01:00.097 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:38 -0400 (0:00:00.040) 0:01:00.138 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.402) 0:01:00.540 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.106) 0:01:00.646 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.115) 0:01:00.762 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.190) 0:01:00.953 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:39 -0400 (0:00:00.159) 0:01:01.112 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.077) 0:01:01.190 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:40 -0400 (0:00:00.058) 0:01:01.248 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:41 -0400 (0:00:01.628) 0:01:02.877 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:43 -0400 (0:00:01.473) 0:01:04.351 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.096) 0:01:04.447 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.089) 0:01:04.537 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.070) 0:01:04.608 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.080) 0:01:04.688 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.065) 0:01:04.753 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.056) 0:01:04.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.105) 0:01:04.915 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.230) 0:01:05.145 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.057) 0:01:05.202 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.089) 0:01:05.292 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.080) 0:01:05.373 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.059) 0:01:05.432 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.066) 0:01:05.499 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.600) 0:01:06.100 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpcy4r25o5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.374) 0:01:06.475 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.522) 0:01:06.997 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.071) 0:01:07.068 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.091) 0:01:07.160 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.066) 0:01:07.226 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.121) 0:01:07.348 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.394) 0:01:07.742 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.121) 0:01:07.863 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:46 -0400 (0:00:00.078) 0:01:07.942 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728367658.6227772, "block_size": 4096, "blocks": 0, "ctime": 1728367658.6227772, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36061, "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": 1728367658.6227772, "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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.362) 0:01:08.304 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.068) 0:01:08.373 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.096) 0:01:08.470 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.050) 0:01:08.520 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.396) 0:01:08.916 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:47 -0400 (0:00:00.072) 0:01:08.989 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017373", "end": "2024-10-08 02:07:48.191167", "rc": 1, "start": "2024-10-08 02:07:48.173794" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.559) 0:01:09.548 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.067) 0:01:09.615 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.053) 0:01:09.668 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.072) 0:01:09.741 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.059) 0:01:09.801 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.069) 0:01:09.870 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.066) 0:01:09.937 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.053) 0:01:09.991 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:48 -0400 (0:00:00.059) 0:01:10.050 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.111) 0:01:10.162 ******* ok: [managed-node1] => { "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.042127", "end": "2024-10-08 02:07:49.428159", "rc": 0, "start": "2024-10-08 02:07:49.386032" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.502) 0:01:10.665 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.073) 0:01:10.739 ******* ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.046) 0:01:10.785 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.172) 0:01:10.957 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.095) 0:01:11.052 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.161) 0:01:11.213 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2024-10-08 02:07:50.488623", "rc": 0, "start": "2024-10-08 02:07:50.485658" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.505) 0:01:11.719 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.038) 0:01:11.757 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.042) 0:01:11.800 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.134) 0:01:11.935 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.143) 0:01:12.078 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.161) 0:01:12.240 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.112) 0:01:12.352 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.064) 0:01:12.417 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.131) 0:01:12.548 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:52 -0400 (0:00:01.551) 0:01:14.099 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:54 -0400 (0:00:01.391) 0:01:15.490 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.068) 0:01:15.558 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.036) 0:01:15.594 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.037) 0:01:15.632 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.038) 0:01:15.670 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.043) 0:01:15.713 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.037) 0:01:15.751 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.055) 0:01:15.806 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.099) 0:01:15.906 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.059) 0:01:15.965 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.059) 0:01:16.025 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.065) 0:01:16.090 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.061) 0:01:16.152 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.058) 0:01:16.211 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.798) 0:01:17.010 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpap22k0sn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.398) 0:01:17.409 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.653) 0:01:18.062 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.043) 0:01:18.106 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.046) 0:01:18.152 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.051) 0:01:18.203 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.041) 0:01:18.245 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.427) 0:01:18.673 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.063) 0:01:18.736 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.115) 0:01:18.852 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.088) 0:01:18.940 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.053) 0:01:18.994 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.045) 0:01:19.040 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.049) 0:01:19.090 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:59 -0400 (0:00:01.568) 0:01:20.658 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:00 -0400 (0:00:01.374) 0:01:22.033 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.044) 0:01:22.077 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:00 -0400 (0:00:00.046) 0:01:22.124 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.060) 0:01:22.185 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.061) 0:01:22.246 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.085) 0:01:22.332 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.036) 0:01:22.369 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.042) 0:01:22.411 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.075) 0:01:22.487 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.035) 0:01:22.523 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.034) 0:01:22.558 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.043) 0:01:22.601 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.035) 0:01:22.637 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:01 -0400 (0:00:00.047) 0:01:22.684 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.910) 0:01:23.595 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp18uhzwca" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:02 -0400 (0:00:00.482) 0:01:24.078 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.723) 0:01:24.802 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.042) 0:01:24.844 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.070) 0:01:24.915 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.039) 0:01:24.954 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.042) 0:01:24.997 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.462) 0:01:25.459 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.060) 0:01:25.519 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.070) 0:01:25.590 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.053) 0:01:25.643 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.067) 0:01:25.711 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.111) 0:01:25.823 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:06 -0400 (0:00:01.697) 0:01:27.521 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:07 -0400 (0:00:01.461) 0:01:28.982 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.098) 0:01:29.081 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.081) 0:01:29.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.054) 0:01:29.216 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.045) 0:01:29.262 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.058) 0:01:29.321 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.050) 0:01:29.371 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.041) 0:01:29.413 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.074) 0:01:29.487 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.093) 0:01:29.580 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.057) 0:01:29.638 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.086) 0:01:29.724 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.115) 0:01:29.840 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:08 -0400 (0:00:00.116) 0:01:29.957 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.791) 0:01:30.748 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpzizhjkqo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:09 -0400 (0:00:00.354) 0:01:31.102 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.486) 0:01:31.589 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.035) 0:01:31.625 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.037) 0:01:31.663 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.037) 0:01:31.700 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.035) 0:01:31.735 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:10 -0400 (0:00:00.360) 0:01:32.095 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.099) 0:01:32.195 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.153) 0:01:32.348 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.120) 0:01:32.469 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.069) 0:01:32.539 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.064) 0:01:32.603 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.048) 0:01:32.652 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:13 -0400 (0:00:01.636) 0:01:34.288 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:14 -0400 (0:00:01.510) 0:01:35.799 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.038) 0:01:35.838 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.035) 0:01:35.873 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.035) 0:01:35.909 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.035) 0:01:35.944 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.042) 0:01:35.986 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.040) 0:01:36.027 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.063) 0:01:36.090 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.107) 0:01:36.197 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.096) 0:01:36.294 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.056) 0:01:36.351 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.055) 0:01:36.406 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.051) 0:01:36.458 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.044) 0:01:36.503 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.532) 0:01:37.036 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp2s4uqog0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.388) 0:01:37.424 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.479) 0:01:37.904 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.035) 0:01:37.939 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.039) 0:01:37.979 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.038) 0:01:38.017 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.035) 0:01:38.053 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.342) 0:01:38.396 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.067) 0:01:38.463 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.073) 0:01:38.537 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.037) 0:01:38.574 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.345) 0:01:38.919 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:17 -0400 (0:00:00.035) 0:01:38.954 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017549", "end": "2024-10-08 02:08:18.086969", "rc": 1, "start": "2024-10-08 02:08:18.069420" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.358) 0:01:39.313 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.036) 0:01:39.349 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.037) 0:01:39.387 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.038) 0:01:39.425 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.036) 0:01:39.461 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.081) 0:01:39.542 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.040) 0:01:39.583 ******* skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.042) 0:01:39.626 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.038) 0:01:39.665 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.066) 0:01:39.731 ******* ok: [managed-node1] => { "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.046249", "end": "2024-10-08 02:08:18.906491", "rc": 0, "start": "2024-10-08 02:08:18.860242" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:08:18 -0400 (0:00:00.403) 0:01:40.134 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.062) 0:01:40.197 ******* ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.037) 0:01:40.235 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.077) 0:01:40.312 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.057) 0:01:40.370 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.057) 0:01:40.427 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002879", "end": "2024-10-08 02:08:19.578258", "rc": 0, "start": "2024-10-08 02:08:19.575379" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.405) 0:01:40.832 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.063) 0:01:40.896 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.066) 0:01:40.962 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:19 -0400 (0:00:00.120) 0:01:41.082 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.100) 0:01:41.183 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.101) 0:01:41.285 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.081) 0:01:41.366 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.072) 0:01:41.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.113) 0:01:41.552 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:22 -0400 (0:00:01.647) 0:01:43.200 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:23 -0400 (0:00:01.436) 0:01:44.636 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.054) 0:01:44.691 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.075) 0:01:44.767 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.061) 0:01:44.828 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.044) 0:01:44.873 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.051) 0:01:44.924 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.044) 0:01:44.969 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.049) 0:01:45.018 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.071) 0:01:45.090 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.070) 0:01:45.160 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.036) 0:01:45.197 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.051) 0:01:45.249 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.074) 0:01:45.323 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.062) 0:01:45.385 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.563) 0:01:45.949 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpvgi17epe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.391) 0:01:46.341 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.594) 0:01:46.936 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.046) 0:01:46.982 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.059) 0:01:47.041 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.044) 0:01:47.086 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.046) 0:01:47.132 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.356) 0:01:47.489 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.045) 0:01:47.534 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.076) 0:01:47.611 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.073) 0:01:47.685 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.045) 0:01:47.731 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.037) 0:01:47.769 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.036) 0:01:47.805 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:28 -0400 (0:00:01.661) 0:01:49.467 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:29 -0400 (0:00:01.563) 0:01:51.030 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.041) 0:01:51.071 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.056) 0:01:51.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.048) 0:01:51.176 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.045) 0:01:51.222 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.120) 0:01:51.343 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.084) 0:01:51.427 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.069) 0:01:51.497 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.110) 0:01:51.607 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.052) 0:01:51.660 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.040) 0:01:51.700 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.086) 0:01:51.787 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.045) 0:01:51.832 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:30 -0400 (0:00:00.043) 0:01:51.876 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.626) 0:01:52.503 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmpru1oxpg5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:31 -0400 (0:00:00.447) 0:01:52.951 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.772) 0:01:53.723 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.056) 0:01:53.780 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.058) 0:01:53.838 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.060) 0:01:53.899 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:32 -0400 (0:00:00.069) 0:01:53.969 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.444) 0:01:54.414 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.116) 0:01:54.531 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.113) 0:01:54.644 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.067) 0:01:54.712 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.062) 0:01:54.774 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.061) 0:01:54.836 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:35 -0400 (0:00:01.582) 0:01:56.418 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:36 -0400 (0:00:01.413) 0:01:57.831 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.037) 0:01:57.869 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.037) 0:01:57.906 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.036) 0:01:57.943 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.041) 0:01:57.985 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.061) 0:01:58.047 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.041) 0:01:58.089 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.057) 0:01:58.146 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.154) 0:01:58.301 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.078) 0:01:58.379 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.081) 0:01:58.460 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.121) 0:01:58.582 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.071) 0:01:58.653 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.073) 0:01:58.727 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.576) 0:01:59.304 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp_di4xjh5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:38 -0400 (0:00:00.370) 0:01:59.675 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.629) 0:02:00.305 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.062) 0:02:00.367 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.067) 0:02:00.434 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.067) 0:02:00.502 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.092) 0:02:00.595 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:39 -0400 (0:00:00.456) 0:02:01.051 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.128) 0:02:01.179 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.107) 0:02:01.287 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.227) 0:02:01.514 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.075) 0:02:01.590 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.059) 0:02:01.650 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:40 -0400 (0:00:00.059) 0:02:01.709 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:42 -0400 (0:00:01.540) 0:02:03.249 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:43 -0400 (0:00:01.446) 0:02:04.696 ******* ok: [managed-node1] => {} MSG: Using network provider: initscripts 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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.041) 0:02:04.738 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.042) 0:02:04.781 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.049) 0:02:04.830 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.038) 0:02:04.869 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.044) 0:02:04.913 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.048) 0:02:04.962 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.055) 0:02:05.017 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.114) 0:02:05.131 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.064) 0:02:05.196 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.060) 0:02:05.257 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.108) 0:02:05.366 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.059) 0:02:05.425 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.064) 0:02:05.489 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.586) 0:02:06.076 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49026ikf1eew3/tmp2x891sg2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.427) 0:02:06.504 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.539) 0:02:07.043 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.035) 0:02:07.079 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.040) 0:02:07.119 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.046) 0:02:07.166 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.053) 0:02:07.219 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.391) 0:02:07.610 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.104) 0:02:07.715 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.088) 0:02:07.803 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:46 -0400 (0:00:00.061) 0:02:07.865 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.405) 0:02:08.270 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.045) 0:02:08.315 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017553", "end": "2024-10-08 02:08:47.450522", "rc": 1, "start": "2024-10-08 02:08:47.432969" } 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-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.361) 0:02:08.677 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.037) 0:02:08.714 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.037) 0:02:08.752 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.048) 0:02:08.800 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.037) 0:02:08.838 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.038) 0:02:08.876 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 08 October 2024 02:08:47 -0400 (0:00:00.040) 0:02:08.916 ******* [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.844499", "end": "2024-10-08 02:08:48.875780", "rc": 0, "start": "2024-10-08 02:08:48.031281" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 08 October 2024 02:08:48 -0400 (0:00:01.190) 0:02:10.106 ******* ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 08 October 2024 02:08:48 -0400 (0:00:00.038) 0:02:10.145 ******* ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.036) 0:02:10.182 ******* skipping: [managed-node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.043) 0:02:10.225 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.038) 0:02:10.264 ******* included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.074) 0:02:10.338 ******* ok: [managed-node1] => { "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.043374", "end": "2024-10-08 02:08:49.497770", "rc": 0, "start": "2024-10-08 02:08:49.454396" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.388) 0:02:10.727 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007978", "end": "2024-10-08 02:08:49.867452", "rc": 0, "start": "2024-10-08 02:08:49.859474" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c4:c0:87:f7 brd ff:ff:ff:ff:ff:ff inet 10.31.14.172/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2504sec preferred_lft 2504sec inet6 fe80::8ff:c4ff:fec0:87f7/64 scope link valid_lft forever preferred_lft forever 53: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 1a:c9:f1:fc:a8:14 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.12.1 dev eth0 proto dhcp src 10.31.14.172 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.172 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.368) 0:02:11.095 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.263689", "end": "2024-10-08 02:08:50.488128", "rc": 0, "start": "2024-10-08 02:08:50.224439" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2620:52:3:1:dead:beef:cafe:fed6 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 10517 0 --:--:-- --:--:-- --:--:-- 10517 % 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 1385 0 --:--:-- --:--:-- --:--:-- 1385 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.611) 0:02:11.706 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-rEz/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-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-rEz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26