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-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 23 October 2024 14:14:36 -0400 (0:00:00.021) 0:00:00.021 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 23 October 2024 14:14:37 -0400 (0:00:01.047) 0:00:01.069 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 14:14:37 -0400 (0:00:00.042) 0:00:01.112 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 14:14:38 -0400 (0:00:00.550) 0:00:01.662 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.560) 0:00:02.223 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.061) 0:00:02.285 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.040) 0:00:02.325 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.081) 0:00:02.406 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.484) 0:00:02.891 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.022) 0:00:02.913 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 14:14:39 -0400 (0:00:00.022) 0:00:02.936 ***** [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.269940", "end": "2024-10-23 14:14:40.353562", "rc": 0, "start": "2024-10-23 14:14:40.083622" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 14:14:40 -0400 (0:00:00.683) 0:00:03.620 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 23 October 2024 14:14:40 -0400 (0:00:00.021) 0:00:03.641 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 23 October 2024 14:14:40 -0400 (0:00:00.032) 0:00:03.673 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.682) 0:00:04.356 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.019) 0:00:04.375 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.030) 0:00:04.406 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.021) 0:00:04.428 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.069) 0:00:04.498 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.032) 0:00:04.530 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.036) 0:00:04.566 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2024-10-23 14:14:41.746179", "rc": 0, "start": "2024-10-23 14:14:41.743067" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.417) 0:00:04.984 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.027) 0:00:05.012 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.025) 0:00:05.038 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 23 October 2024 14:14:41 -0400 (0:00:00.060) 0:00:05.099 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007427", "end": "2024-10-23 14:14:42.369765", "rc": 1, "start": "2024-10-23 14:14:42.362338" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:14:42 -0400 (0:00:00.526) 0:00:05.625 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:14:42 -0400 (0:00:00.046) 0:00:05.672 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:14:42 -0400 (0:00:00.466) 0:00:06.139 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:14:42 -0400 (0:00:00.027) 0:00:06.167 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.040) 0:00:06.207 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.163) 0:00:06.371 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.063) 0:00:06.435 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.030) 0:00:06.466 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.025) 0:00:06.492 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:14:43 -0400 (0:00:00.021) 0:00:06.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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:14:45 -0400 (0:00:01.876) 0:00:08.390 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:14:47 -0400 (0:00:01.921) 0:00:10.312 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.085) 0:00:10.397 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.075) 0:00:10.473 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.062) 0:00:10.535 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.047) 0:00:10.582 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.067) 0:00:10.649 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.083) 0:00:10.733 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.056) 0:00:10.789 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.142) 0:00:10.932 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.059) 0:00:10.992 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.062) 0:00:11.054 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.069) 0:00:11.124 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.058) 0:00:11.183 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.045) 0:00:11.228 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.896) 0:00:12.125 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpouvjfrjv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.479) 0:00:12.604 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.768) 0:00:13.372 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.079) 0:00:13.452 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.046) 0:00:13.499 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.046) 0:00:13.545 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.042) 0:00:13.588 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.597) 0:00:14.186 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.096) 0:00:14.282 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.134) 0:00:14.417 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.132) 0:00:14.550 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.060) 0:00:14.611 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707290.1114554, "block_size": 4096, "blocks": 8, "ctime": 1729707290.1114554, "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": 1729707290.1114554, "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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.452) 0:00:15.063 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:14:51 -0400 (0:00:00.046) 0:00:15.109 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018952", "end": "2024-10-23 14:14:52.268675", "rc": 1, "start": "2024-10-23 14:14:52.249723" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:14:52 -0400 (0:00:00.461) 0:00:15.571 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:14:52 -0400 (0:00:00.108) 0:00:15.680 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003013", "end": "2024-10-23 14:14:52.971240", "rc": 0, "start": "2024-10-23 14:14:52.968227" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.575) 0:00:16.256 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.063) 0:00:16.319 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002804", "end": "2024-10-23 14:14:53.598968", "rc": 0, "start": "2024-10-23 14:14:53.596164" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.537) 0:00:16.857 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.066) 0:00:16.923 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.066) 0:00:16.990 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.059) 0:00:17.049 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.054) 0:00:17.104 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:14:53 -0400 (0:00:00.073) 0:00:17.177 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.074) 0:00:17.252 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.107) 0:00:17.360 ***** 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.036198", "end": "2024-10-23 14:14:54.539392", "rc": 1, "start": "2024-10-23 14:14:54.503194" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.462) 0:00:17.822 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.145) 0:00:17.968 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.072) 0:00:18.041 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.202) 0:00:18.244 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.135) 0:00:18.379 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.104) 0:00:18.483 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002938", "end": "2024-10-23 14:14:55.655454", "rc": 0, "start": "2024-10-23 14:14:55.652516" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.426) 0:00:18.910 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.044) 0:00:18.955 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.042) 0:00:18.997 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.090) 0:00:19.087 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005601", "end": "2024-10-23 14:14:56.276022", "rc": 1, "start": "2024-10-23 14:14:56.270421" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.454) 0:00:19.542 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.121) 0:00:19.663 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.404) 0:00:20.068 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.065) 0:00:20.133 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.093) 0:00:20.227 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.114) 0:00:20.341 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.086) 0:00:20.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 : Check if system is ostree] *********** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.053) 0:00:20.481 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.042) 0:00:20.524 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:14:57 -0400 (0:00:00.040) 0:00:20.564 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:14:59 -0400 (0:00:01.677) 0:00:22.241 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:00 -0400 (0:00:01.532) 0:00:23.774 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.045) 0:00:23.819 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.049) 0:00:23.869 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.062) 0:00:23.932 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.061) 0:00:23.993 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.177) 0:00:24.170 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.092) 0:00:24.263 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.091) 0:00:24.354 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.131) 0:00:24.486 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.084) 0:00:24.571 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.051) 0:00:24.622 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.058) 0:00:24.681 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.051) 0:00:24.733 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.058) 0:00:24.792 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:02 -0400 (0:00:00.605) 0:00:25.398 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpljkrdaom" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:02 -0400 (0:00:00.464) 0:00:25.862 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.568) 0:00:26.431 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.107) 0:00:26.538 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.068) 0:00:26.606 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.069) 0:00:26.676 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.055) 0:00:26.732 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.473) 0:00:27.206 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.060) 0:00:27.266 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.095) 0:00:27.361 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.072) 0:00:27.434 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.424) 0:00:27.859 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.065) 0:00:27.924 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.113) 0:00:28.038 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.108) 0:00:28.147 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707303.1654944, "block_size": 4096, "blocks": 8, "ctime": 1729707303.1654944, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707303.1654944, "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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.405) 0:00:28.552 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.046) 0:00:28.599 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017705", "end": "2024-10-23 14:15:05.761897", "rc": 1, "start": "2024-10-23 14:15:05.744192" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.416) 0:00:29.016 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.045) 0:00:29.061 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003321", "end": "2024-10-23 14:15:06.208951", "rc": 0, "start": "2024-10-23 14:15:06.205630" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.413) 0:00:29.474 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.058) 0:00:29.532 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004070", "end": "2024-10-23 14:15:07.683201", "rc": 0, "start": "2024-10-23 14:15:06.679131" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:07 -0400 (0:00:01.434) 0:00:30.967 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.104) 0:00:31.071 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.056) 0:00:31.127 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.072) 0:00:31.199 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.063) 0:00:31.263 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.061) 0:00:31.325 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.061) 0:00:31.387 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.119) 0:00:31.506 ***** 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.034632", "end": "2024-10-23 14:15:08.854284", "rc": 1, "start": "2024-10-23 14:15:08.819652" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.653) 0:00:32.159 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.114) 0:00:32.274 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.061) 0:00:32.336 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.105) 0:00:32.441 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.084) 0:00:32.525 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.130) 0:00:32.656 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003046", "end": "2024-10-23 14:15:09.859006", "rc": 0, "start": "2024-10-23 14:15:09.855960" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.489) 0:00:33.145 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.082) 0:00:33.228 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.057) 0:00:33.285 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.115) 0:00:33.401 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.096) 0:00:33.497 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.095) 0:00:33.593 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.054) 0:00:33.647 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.044) 0:00:33.692 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:10 -0400 (0:00:00.043) 0:00:33.735 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:12 -0400 (0:00:01.732) 0:00:35.468 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:13 -0400 (0:00:01.614) 0:00:37.082 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.058) 0:00:37.141 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.046) 0:00:37.187 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.043) 0:00:37.231 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.043) 0:00:37.274 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.057) 0:00:37.331 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.054) 0:00:37.386 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.086) 0:00:37.473 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.239) 0:00:37.712 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.064) 0:00:37.777 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.061) 0:00:37.838 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.060) 0:00:37.899 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.046) 0:00:37.946 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.041) 0:00:37.987 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.713) 0:00:38.700 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp066f5n6j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.493) 0:00:39.194 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.561) 0:00:39.755 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.062) 0:00:39.818 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.064) 0:00:39.883 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.052) 0:00:39.935 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.077) 0:00:40.013 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.471) 0:00:40.484 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.115) 0:00:40.599 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.115) 0:00:40.714 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.111) 0:00:40.826 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.126) 0:00:40.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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.082) 0:00:41.036 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.062) 0:00:41.098 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.059) 0:00:41.158 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:19 -0400 (0:00:01.680) 0:00:42.838 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:21 -0400 (0:00:01.533) 0:00:44.371 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.085) 0:00:44.457 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.050) 0:00:44.507 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.054) 0:00:44.562 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.056) 0:00:44.618 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.057) 0:00:44.676 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.042) 0:00:44.718 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.085) 0:00:44.804 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.109) 0:00:44.914 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.063) 0:00:44.977 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.073) 0:00:45.050 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.075) 0:00:45.126 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.103) 0:00:45.230 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.123) 0:00:45.354 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.714) 0:00:46.068 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpg6wg_lim" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:23 -0400 (0:00:00.401) 0:00:46.470 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:24 -0400 (0:00:00.776) 0:00:47.247 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:24 -0400 (0:00:00.073) 0:00:47.320 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:24 -0400 (0:00:00.121) 0:00:47.441 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:24 -0400 (0:00:00.080) 0:00:47.522 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:24 -0400 (0:00:00.177) 0:00:47.700 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.497) 0:00:48.197 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.089) 0:00:48.287 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.075) 0:00:48.362 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707323.904156, "block_size": 4096, "blocks": 0, "ctime": 1729707323.904156, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34036, "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": 1729707323.904156, "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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.408) 0:00:48.770 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.049) 0:00:48.820 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.080) 0:00:48.900 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:25 -0400 (0:00:00.045) 0:00:48.945 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707323.7465558, "block_size": 4096, "blocks": 8, "ctime": 1729707316.4725342, "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": 1729707316.4725342, "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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:26 -0400 (0:00:00.557) 0:00:49.502 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:26 -0400 (0:00:00.077) 0:00:49.580 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017963", "end": "2024-10-23 14:15:26.985435", "rc": 1, "start": "2024-10-23 14:15:26.967472" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.752) 0:00:50.332 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.081) 0:00:50.413 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002862", "end": "2024-10-23 14:15:27.654463", "rc": 0, "start": "2024-10-23 14:15:27.651601" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.521) 0:00:50.935 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.064) 0:00:51.000 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003945", "end": "2024-10-23 14:15:29.184158", "rc": 0, "start": "2024-10-23 14:15:28.180213" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:29 -0400 (0:00:01.463) 0:00:52.464 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.068) 0:00:52.532 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.055) 0:00:52.588 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.070) 0:00:52.658 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.075) 0:00:52.733 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.091) 0:00:52.825 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.064) 0:00:52.890 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.114) 0:00:53.005 ***** 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.045505", "end": "2024-10-23 14:15:30.340224", "rc": 0, "start": "2024-10-23 14:15:30.294719" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.600) 0:00:53.606 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.089) 0:00:53.695 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.068) 0:00:53.763 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.128) 0:00:53.892 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.113) 0:00:54.006 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.108) 0:00:54.114 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-10-23 14:15:31.276471", "rc": 0, "start": "2024-10-23 14:15:31.273300" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.438) 0:00:54.553 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.063) 0:00:54.617 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.228) 0:00:54.846 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.226) 0:00:55.073 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.153) 0:00:55.226 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.169) 0:00:55.395 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.134) 0:00:55.529 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.128) 0:00:55.658 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.063) 0:00:55.722 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:34 -0400 (0:00:01.730) 0:00:57.452 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:35 -0400 (0:00:01.660) 0:00:59.113 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.125) 0:00:59.239 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.082) 0:00:59.321 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.117) 0:00:59.438 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.100) 0:00:59.539 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.102) 0:00:59.641 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.070) 0:00:59.712 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.085) 0:00:59.797 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.117) 0:00:59.915 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.135) 0:01:00.051 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.062) 0:01:00.113 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.072) 0:01:00.185 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.047) 0:01:00.232 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.051) 0:01:00.284 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.588) 0:01:00.872 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpbt1llg2b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.410) 0:01:01.283 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.582) 0:01:01.866 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.062) 0:01:01.928 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.051) 0:01:01.980 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.051) 0:01:02.032 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.093) 0:01:02.125 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.408) 0:01:02.534 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.056) 0:01:02.590 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.084) 0:01:02.675 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.090) 0:01:02.765 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.052) 0:01:02.818 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.044) 0:01:02.863 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.059) 0:01:02.923 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:41 -0400 (0:00:01.921) 0:01:04.844 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:43 -0400 (0:00:01.546) 0:01:06.391 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.062) 0:01:06.453 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.058) 0:01:06.512 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.061) 0:01:06.573 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.058) 0:01:06.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.063) 0:01:06.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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.061) 0:01:06.758 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.083) 0:01:06.841 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.123) 0:01:06.965 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.117) 0:01:07.083 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.070) 0:01:07.154 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.135) 0:01:07.289 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.075) 0:01:07.365 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.065) 0:01:07.430 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.670) 0:01:08.101 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpf4ji73v8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.574) 0:01:08.675 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.912) 0:01:09.588 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.060) 0:01:09.648 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.063) 0:01:09.712 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.072) 0:01:09.785 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.068) 0:01:09.853 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.577) 0:01:10.430 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.188) 0:01:10.619 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.137) 0:01:10.756 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.137) 0:01:10.894 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.081) 0:01:10.976 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.064) 0:01:11.041 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.090) 0:01:11.131 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:49 -0400 (0:00:01.883) 0:01:13.015 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:51 -0400 (0:00:01.577) 0:01:14.593 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.067) 0:01:14.661 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.110) 0:01:14.771 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.066) 0:01:14.838 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.062) 0:01:14.900 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.103) 0:01:15.004 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.087) 0:01:15.091 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.079) 0:01:15.170 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.369) 0:01:15.540 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.071) 0:01:15.611 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.080) 0:01:15.692 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.074) 0:01:15.767 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.103) 0:01:15.871 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.060) 0:01:15.931 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.655) 0:01:16.586 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpvg7yk492" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.500) 0:01:17.086 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.640) 0:01:17.727 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.050) 0:01:17.777 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.054) 0:01:17.831 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.064) 0:01:17.896 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.133) 0:01:18.029 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.702) 0:01:18.731 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.092) 0:01:18.824 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.094) 0:01:18.919 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707346.1695826, "block_size": 4096, "blocks": 0, "ctime": 1729707346.1695826, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34167, "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": 1729707346.1695826, "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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.445) 0:01:19.365 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.052) 0:01:19.417 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.101) 0:01:19.518 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.066) 0:01:19.584 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.449) 0:01:20.034 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.060) 0:01:20.095 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018545", "end": "2024-10-23 14:15:57.410545", "rc": 1, "start": "2024-10-23 14:15:57.392000" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.570) 0:01:20.666 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.049) 0:01:20.715 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.064) 0:01:20.780 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.056) 0:01:20.836 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.055) 0:01:20.892 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.052) 0:01:20.944 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.053) 0:01:20.998 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.041) 0:01:21.039 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.044) 0:01:21.084 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.090) 0:01:21.174 ***** 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.048089", "end": "2024-10-23 14:15:58.365297", "rc": 0, "start": "2024-10-23 14:15:58.317208" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.455) 0:01:21.630 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.078) 0:01:21.708 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.101) 0:01:21.810 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.138) 0:01:21.948 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.100) 0:01:22.049 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.099) 0:01:22.149 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2024-10-23 14:15:59.569483", "rc": 0, "start": "2024-10-23 14:15:59.566327" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.797) 0:01:22.947 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.062) 0:01:23.009 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.072) 0:01:23.082 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.133) 0:01:23.216 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.126) 0:01:23.342 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.100) 0:01:23.443 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.059) 0:01:23.502 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.098) 0:01:23.601 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.043) 0:01:23.645 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:02 -0400 (0:00:01.872) 0:01:25.517 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:03 -0400 (0:00:01.617) 0:01:27.135 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.065) 0:01:27.201 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.102) 0:01:27.303 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.071) 0:01:27.375 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.068) 0:01:27.443 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.109) 0:01:27.553 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.133) 0:01:27.686 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.139) 0:01:27.825 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.148) 0:01:27.974 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.083) 0:01:28.057 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.069) 0:01:28.127 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.063) 0:01:28.190 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.069) 0:01:28.260 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.072) 0:01:28.333 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.650) 0:01:28.983 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp0e22qs2d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.494) 0:01:29.478 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.963) 0:01:30.442 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.051) 0:01:30.493 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.053) 0:01:30.547 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.063) 0:01:30.610 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.047) 0:01:30.658 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.405) 0:01:31.064 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.046) 0:01:31.111 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.076) 0:01:31.187 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.087) 0:01:31.275 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.054) 0:01:31.330 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.045) 0:01:31.375 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.043) 0:01:31.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 : Check which packages are installed] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:10 -0400 (0:00:01.829) 0:01:33.247 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:11 -0400 (0:00:01.543) 0:01:34.791 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.050) 0:01:34.841 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.043) 0:01:34.885 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.076) 0:01:34.961 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.044) 0:01:35.006 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.056) 0:01:35.063 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.049) 0:01:35.112 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.060) 0:01:35.173 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.123) 0:01:35.296 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.070) 0:01:35.367 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.062) 0:01:35.429 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.074) 0:01:35.504 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.050) 0:01:35.554 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.048) 0:01:35.603 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.623) 0:01:36.227 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmphosd8nlq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.467) 0:01:36.695 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.918) 0:01:37.613 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.044) 0:01:37.657 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.045) 0:01:37.703 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.048) 0:01:37.752 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.045) 0:01:37.797 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.417) 0:01:38.214 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.075) 0:01:38.290 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.088) 0:01:38.378 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.055) 0:01:38.434 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.044) 0:01:38.478 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.043) 0:01:38.522 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:17 -0400 (0:00:01.920) 0:01:40.443 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:19 -0400 (0:00:01.821) 0:01:42.264 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.054) 0:01:42.319 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.057) 0:01:42.376 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.050) 0:01:42.427 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.083) 0:01:42.510 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.052) 0:01:42.563 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.043) 0:01:42.607 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.053) 0:01:42.660 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.104) 0:01:42.765 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.077) 0:01:42.842 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.096) 0:01:42.938 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.096) 0:01:43.034 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.099) 0:01:43.133 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:20 -0400 (0:00:00.130) 0:01:43.264 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:20 -0400 (0:00:00.745) 0:01:44.010 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp8vpim5b5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.612) 0:01:44.623 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.695) 0:01:45.318 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.067) 0:01:45.386 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.073) 0:01:45.460 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.070) 0:01:45.531 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.061) 0:01:45.592 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.469) 0:01:46.062 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.111) 0:01:46.173 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.104) 0:01:46.277 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.106) 0:01:46.384 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.087) 0:01:46.471 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.075) 0:01:46.547 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.067) 0:01:46.614 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:25 -0400 (0:00:01.896) 0:01:48.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 : Print network provider] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:26 -0400 (0:00:01.621) 0:01:50.133 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.063) 0:01:50.197 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.061) 0:01:50.258 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.061) 0:01:50.320 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.104) 0:01:50.425 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.085) 0:01:50.510 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.098) 0:01:50.609 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.082) 0:01:50.692 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.112) 0:01:50.804 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.048) 0:01:50.852 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.050) 0:01:50.903 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.051) 0:01:50.954 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.048) 0:01:51.003 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.053) 0:01:51.056 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.823) 0:01:51.880 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp41hs06bc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.504) 0:01:52.384 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.763) 0:01:53.148 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.099) 0:01:53.248 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.061) 0:01:53.309 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.065) 0:01:53.375 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.047) 0:01:53.422 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.471) 0:01:53.894 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.128) 0:01:54.022 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.125) 0:01:54.148 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.053) 0:01:54.201 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.477) 0:01:54.678 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.061) 0:01:54.739 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018688", "end": "2024-10-23 14:16:31.962756", "rc": 1, "start": "2024-10-23 14:16:31.944068" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.490) 0:01:55.230 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.093) 0:01:55.323 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.047) 0:01:55.371 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.046) 0:01:55.418 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.047) 0:01:55.465 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.047) 0:01:55.513 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.049) 0:01:55.562 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.053) 0:01:55.616 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.047) 0:01:55.663 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.084) 0:01:55.748 ***** 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.048356", "end": "2024-10-23 14:16:32.948326", "rc": 0, "start": "2024-10-23 14:16:32.899970" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.457) 0:01:56.205 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.076) 0:01:56.282 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.046) 0:01:56.328 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.134) 0:01:56.463 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.075) 0:01:56.538 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.072) 0:01:56.611 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-10-23 14:16:33.801595", "rc": 0, "start": "2024-10-23 14:16:33.797835" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.448) 0:01:57.059 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.045) 0:01:57.105 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.046) 0:01:57.152 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.094) 0:01:57.246 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.075) 0:01:57.322 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.088) 0:01:57.411 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.055) 0:01:57.467 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.086) 0:01:57.553 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:34 -0400 (0:00:00.044) 0:01:57.598 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:36 -0400 (0:00:01.765) 0:01:59.363 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:37 -0400 (0:00:01.643) 0:02:01.007 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.103) 0:02:01.110 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.074) 0:02:01.184 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.061) 0:02:01.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.066) 0:02:01.312 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.075) 0:02:01.388 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.074) 0:02:01.462 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.074) 0:02:01.537 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.138) 0:02:01.675 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.092) 0:02:01.768 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.060) 0:02:01.828 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.066) 0:02:01.895 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.053) 0:02:01.949 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.069) 0:02:02.018 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.639) 0:02:02.657 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpd99u8qcn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.513) 0:02:03.171 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.567) 0:02:03.739 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.045) 0:02:03.785 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.046) 0:02:03.831 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.048) 0:02:03.879 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.045) 0:02:03.925 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.409) 0:02:04.334 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.051) 0:02:04.385 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.103) 0:02:04.489 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.096) 0:02:04.585 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.107) 0:02:04.692 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.043) 0:02:04.736 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.044) 0:02:04.781 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:43 -0400 (0:00:01.778) 0:02:06.560 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:44 -0400 (0:00:01.567) 0:02:08.127 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.053) 0:02:08.181 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.046) 0:02:08.227 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.044) 0:02:08.272 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.045) 0:02:08.317 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.052) 0:02:08.369 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.044) 0:02:08.414 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.051) 0:02:08.465 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.087) 0:02:08.552 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.043) 0:02:08.596 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.044) 0:02:08.640 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.051) 0:02:08.691 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.043) 0:02:08.735 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.044) 0:02:08.779 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.637) 0:02:09.416 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp2xun6b1k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.452) 0:02:09.869 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.790) 0:02:10.660 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.044) 0:02:10.704 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.045) 0:02:10.750 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.047) 0:02:10.798 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.046) 0:02:10.844 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.451) 0:02:11.296 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.106) 0:02:11.403 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.174) 0:02:11.577 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.080) 0:02:11.658 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.063) 0:02:11.722 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.070) 0:02:11.792 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:50 -0400 (0:00:01.801) 0:02:13.594 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:51 -0400 (0:00:01.562) 0:02:15.157 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.046) 0:02:15.203 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.046) 0:02:15.249 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.045) 0:02:15.295 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.045) 0:02:15.340 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.062) 0:02:15.402 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.043) 0:02:15.446 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.052) 0:02:15.498 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.088) 0:02:15.587 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.045) 0:02:15.632 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.045) 0:02:15.678 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.052) 0:02:15.730 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.051) 0:02:15.781 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.057) 0:02:15.839 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.642) 0:02:16.481 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmp6yowpluw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.476) 0:02:16.958 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.616) 0:02:17.574 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.066) 0:02:17.640 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.071) 0:02:17.712 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.066) 0:02:17.779 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.063) 0:02:17.843 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.706) 0:02:18.549 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.148) 0:02:18.698 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.101) 0:02:18.799 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.136) 0:02:18.936 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.055) 0:02:18.991 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.043) 0:02:19.034 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.046) 0:02:19.081 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:57 -0400 (0:00:02.002) 0:02:21.084 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:59 -0400 (0:00:01.681) 0:02:22.765 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.091) 0:02:22.857 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.053) 0:02:22.911 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.051) 0:02:22.962 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.051) 0:02:23.014 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.054) 0:02:23.069 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.048) 0:02:23.117 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.067) 0:02:23.185 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.122) 0:02:23.308 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.065) 0:02:23.373 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.108) 0:02:23.482 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.059) 0:02:23.541 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.058) 0:02:23.600 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.056) 0:02:23.656 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:17:01 -0400 (0:00:00.663) 0:02:24.320 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49243cy3ykqy5/tmpa1fo48a1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:17:01 -0400 (0:00:00.492) 0:02:24.812 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.722) 0:02:25.534 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.066) 0:02:25.600 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.056) 0:02:25.657 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.053) 0:02:25.710 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.050) 0:02:25.761 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.410) 0:02:26.171 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.090) 0:02:26.262 ***** included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.077) 0:02:26.340 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.045) 0:02:26.385 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.440) 0:02:26.825 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.045) 0:02:26.870 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018802", "end": "2024-10-23 14:17:04.074925", "rc": 1, "start": "2024-10-23 14:17:04.056123" } 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.522) 0:02:27.393 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.080) 0:02:27.474 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.068) 0:02:27.543 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.091) 0:02:27.634 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.071) 0:02:27.705 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.081) 0:02:27.787 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 23 October 2024 14:17:04 -0400 (0:00:00.068) 0:02:27.855 ***** [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.888806", "end": "2024-10-23 14:17:05.920393", "rc": 0, "start": "2024-10-23 14:17:05.031587" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 23 October 2024 14:17:06 -0400 (0:00:01.371) 0:02:29.227 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.120) 0:02:29.348 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.077) 0:02:29.425 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.117) 0:02:29.543 ***** 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.080) 0:02:29.624 ***** included: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.146) 0:02:29.770 ***** 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.043448", "end": "2024-10-23 14:17:07.054550", "rc": 0, "start": "2024-10-23 14:17:07.011102" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.597) 0:02:30.368 ***** 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.009037", "end": "2024-10-23 14:17:07.547848", "rc": 0, "start": "2024-10-23 14:17:07.538811" } 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 0e:e5:ab:9b:a7:0f brd ff:ff:ff:ff:ff:ff inet 10.31.43.141/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2412sec preferred_lft 2412sec inet6 fe80::ce5:abff:fe9b:a70f/64 scope link valid_lft forever preferred_lft forever 46: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 06:46:a0:8b:41:96 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.40.1 dev eth0 proto dhcp src 10.31.43.141 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.141 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-gaN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.503) 0:02:30.871 ***** 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.313593", "end": "2024-10-23 14:17:08.431515", "rc": 0, "start": "2024-10-23 14:17:08.117922" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 1473 0 --:--:-- --:--:-- --:--:-- 1473 % 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 3548 0 --:--:-- --:--:-- --:--:-- 3548 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Wednesday 23 October 2024 14:17:08 -0400 (0:00:00.828) 0:02:31.700 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.92s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.92s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.88s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-gaN/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-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-gaN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26