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-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 23 November 2024 07:54:06 -0500 (0:00:00.032) 0:00:00.032 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 23 November 2024 07:54:07 -0500 (0:00:01.011) 0:00:01.043 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 23 November 2024 07:54:07 -0500 (0:00:00.064) 0:00:01.108 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 23 November 2024 07:54:08 -0500 (0:00:00.651) 0:00:01.760 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 23 November 2024 07:54:09 -0500 (0:00:00.661) 0:00:02.421 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 23 November 2024 07:54:09 -0500 (0:00:00.102) 0:00:02.523 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 23 November 2024 07:54:09 -0500 (0:00:00.140) 0:00:02.664 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 23 November 2024 07:54:09 -0500 (0:00:00.202) 0:00:02.866 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.568) 0:00:03.435 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.030) 0:00:03.465 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.029) 0:00:03.495 ***** [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.255249", "end": "2024-11-23 07:54:10.795420", "rc": 0, "start": "2024-11-23 07:54:10.540171" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.657) 0:00:04.153 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.033) 0:00:04.187 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 23 November 2024 07:54:10 -0500 (0:00:00.044) 0:00:04.231 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.705) 0:00:04.937 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.026) 0:00:04.963 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.029) 0:00:04.993 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.024) 0:00:05.017 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.087) 0:00:05.105 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.041) 0:00:05.146 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:11 -0500 (0:00:00.034) 0:00:05.181 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-11-23 07:54:12.247949", "rc": 0, "start": "2024-11-23 07:54:12.244845" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.462) 0:00:05.644 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.049) 0:00:05.693 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.028) 0:00:05.722 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.085) 0:00:05.807 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007585", "end": "2024-11-23 07:54:12.873927", "rc": 1, "start": "2024-11-23 07:54:12.866342" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.426) 0:00:06.233 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:12 -0500 (0:00:00.032) 0:00:06.266 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.369) 0:00:06.636 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.030) 0:00:06.666 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.036) 0:00:06.703 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.120) 0:00:06.823 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.039) 0:00:06.862 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.020) 0:00:06.883 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.019) 0:00:06.903 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:13 -0500 (0:00:00.018) 0:00:06.922 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:15 -0500 (0:00:01.902) 0:00:08.824 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:17 -0500 (0:00:01.822) 0:00:10.646 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.056) 0:00:10.703 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.059) 0:00:10.763 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.057) 0:00:10.821 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.057) 0:00:10.879 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.081) 0:00:10.960 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.067) 0:00:11.027 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.051) 0:00:11.078 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.083) 0:00:11.162 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.044) 0:00:11.206 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.044) 0:00:11.251 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:17 -0500 (0:00:00.041) 0:00:11.292 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:18 -0500 (0:00:00.036) 0:00:11.329 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:18 -0500 (0:00:00.037) 0:00:11.366 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.955) 0:00:12.322 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpbkup382w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.413) 0:00:12.736 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.980) 0:00:13.716 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.058) 0:00:13.775 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.060) 0:00:13.836 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.066) 0:00:13.902 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:20 -0500 (0:00:00.061) 0:00:13.964 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.625) 0:00:14.590 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.069) 0:00:14.659 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.130) 0:00:14.790 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.150) 0:00:14.940 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:21 -0500 (0:00:00.060) 0:00:15.000 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366460.2982383, "block_size": 4096, "blocks": 8, "ctime": 1732366460.2982383, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366460.2982383, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.394) 0:00:15.395 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.040) 0:00:15.435 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020290", "end": "2024-11-23 07:54:22.486661", "rc": 1, "start": "2024-11-23 07:54:22.466371" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.424) 0:00:15.859 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:54:22 -0500 (0:00:00.045) 0:00:15.905 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003065", "end": "2024-11-23 07:54:22.925803", "rc": 0, "start": "2024-11-23 07:54:22.922738" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.406) 0:00:16.311 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.054) 0:00:16.366 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003001", "end": "2024-11-23 07:54:23.421050", "rc": 0, "start": "2024-11-23 07:54:23.418049" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.431) 0:00:16.798 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.070) 0:00:16.868 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.105) 0:00:16.973 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.048) 0:00:17.022 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.047) 0:00:17.070 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.050) 0:00:17.120 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.045) 0:00:17.165 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:54:23 -0500 (0:00:00.083) 0:00:17.249 ***** 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.039753", "end": "2024-11-23 07:54:24.322623", "rc": 1, "start": "2024-11-23 07:54:24.282870" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.441) 0:00:17.690 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.064) 0:00:17.755 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.038) 0:00:17.793 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.093) 0:00:17.887 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.098) 0:00:17.985 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:24 -0500 (0:00:00.181) 0:00:18.166 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-11-23 07:54:25.425205", "rc": 0, "start": "2024-11-23 07:54:25.422053" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.649) 0:00:18.816 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.059) 0:00:18.875 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.060) 0:00:18.936 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 23 November 2024 07:54:25 -0500 (0:00:00.101) 0:00:19.038 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005845", "end": "2024-11-23 07:54:26.067425", "rc": 1, "start": "2024-11-23 07:54:26.061580" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.404) 0:00:19.442 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.087) 0:00:19.530 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.451) 0:00:19.982 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.040) 0:00:20.023 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.101) 0:00:20.124 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:26 -0500 (0:00:00.144) 0:00:20.269 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.132) 0:00:20.402 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.088) 0:00:20.490 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.070) 0:00:20.561 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:27 -0500 (0:00:00.064) 0:00:20.625 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:29 -0500 (0:00:01.869) 0:00:22.495 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:30 -0500 (0:00:01.695) 0:00:24.191 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:30 -0500 (0:00:00.053) 0:00:24.244 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:30 -0500 (0:00:00.043) 0:00:24.287 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.046) 0:00:24.334 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.046) 0:00:24.380 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.055) 0:00:24.436 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.038) 0:00:24.475 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.054) 0:00:24.530 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.082) 0:00:24.613 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.056) 0:00:24.669 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.047) 0:00:24.716 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.050) 0:00:24.766 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.087) 0:00:24.854 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:31 -0500 (0:00:00.042) 0:00:24.896 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.605) 0:00:25.501 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpz0aljleu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:32 -0500 (0:00:00.425) 0:00:25.927 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.600) 0:00:26.528 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.088) 0:00:26.616 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.116) 0:00:26.732 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.067) 0:00:26.800 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:33 -0500 (0:00:00.091) 0:00:26.891 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.679) 0:00:27.571 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.059) 0:00:27.630 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.191) 0:00:27.822 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:34 -0500 (0:00:00.113) 0:00:27.935 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.437) 0:00:28.373 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.097) 0:00:28.471 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.108) 0:00:28.580 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.078) 0:00:28.658 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366473.114254, "block_size": 4096, "blocks": 8, "ctime": 1732366473.114254, "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": 1732366473.114254, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.442) 0:00:29.101 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:35 -0500 (0:00:00.039) 0:00:29.141 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019598", "end": "2024-11-23 07:54:36.237824", "rc": 1, "start": "2024-11-23 07:54:36.218226" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:54:36 -0500 (0:00:00.477) 0:00:29.618 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:54:36 -0500 (0:00:00.048) 0:00:29.666 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003081", "end": "2024-11-23 07:54:36.703670", "rc": 0, "start": "2024-11-23 07:54:36.700589" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:54:36 -0500 (0:00:00.496) 0:00:30.163 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:54:36 -0500 (0:00:00.085) 0:00:30.249 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003004", "end": "2024-11-23 07:54:37.324535", "rc": 0, "start": "2024-11-23 07:54:37.321531" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.484) 0:00:30.733 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.081) 0:00:30.815 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.071) 0:00:30.886 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.067) 0:00:30.954 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.071) 0:00:31.026 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.079) 0:00:31.106 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.073) 0:00:31.180 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:54:37 -0500 (0:00:00.093) 0:00:31.274 ***** 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.039730", "end": "2024-11-23 07:54:38.344967", "rc": 1, "start": "2024-11-23 07:54:38.305237" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.482) 0:00:31.756 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.088) 0:00:31.845 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.110) 0:00:31.955 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.085) 0:00:32.041 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.062) 0:00:32.104 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:38 -0500 (0:00:00.085) 0:00:32.189 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003924", "end": "2024-11-23 07:54:40.318633", "rc": 0, "start": "2024-11-23 07:54:39.314709" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:54:40 -0500 (0:00:01.510) 0:00:33.700 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.073) 0:00:33.773 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.057) 0:00:33.831 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.079) 0:00:33.910 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.089) 0:00:33.999 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.106) 0:00:34.106 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.046) 0:00:34.153 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.039) 0:00:34.193 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:40 -0500 (0:00:00.039) 0:00:34.232 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:42 -0500 (0:00:01.872) 0:00:36.105 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:44 -0500 (0:00:01.569) 0:00:37.675 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.061) 0:00:37.737 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.061) 0:00:37.799 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.059) 0:00:37.858 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.058) 0:00:37.917 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.070) 0:00:37.987 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.054) 0:00:38.042 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.061) 0:00:38.103 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.113) 0:00:38.217 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:44 -0500 (0:00:00.044) 0:00:38.262 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.043) 0:00:38.305 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.048) 0:00:38.354 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.036) 0:00:38.391 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.038) 0:00:38.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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:45 -0500 (0:00:00.590) 0:00:39.021 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmp9o_wswv_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.447) 0:00:39.469 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.532) 0:00:40.001 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.059) 0:00:40.061 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.063) 0:00:40.124 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.070) 0:00:40.195 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:46 -0500 (0:00:00.042) 0:00:40.237 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.449) 0:00:40.687 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.065) 0:00:40.753 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.114) 0:00:40.867 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.170) 0:00:41.038 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.117) 0:00:41.155 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:54:47 -0500 (0:00:00.087) 0:00:41.243 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.058) 0:00:41.302 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:54:48 -0500 (0:00:00.063) 0:00:41.365 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:54:49 -0500 (0:00:01.812) 0:00:43.178 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:54:51 -0500 (0:00:01.763) 0:00:44.941 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.075) 0:00:45.017 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.061) 0:00:45.078 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.066) 0:00:45.145 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.048) 0:00:45.193 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.051) 0:00:45.245 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:54:51 -0500 (0:00:00.039) 0:00:45.284 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.043) 0:00:45.328 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.095) 0:00:45.423 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.072) 0:00:45.496 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.077) 0:00:45.574 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.084) 0:00:45.658 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.076) 0:00:45.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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:54:52 -0500 (0:00:00.056) 0:00:45.791 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.784) 0:00:46.575 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmph885myp9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:54:53 -0500 (0:00:00.456) 0:00:47.032 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.858) 0:00:47.890 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.058) 0:00:47.949 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.074) 0:00:48.023 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.065) 0:00:48.089 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:54:54 -0500 (0:00:00.068) 0:00:48.157 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.466) 0:00:48.624 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.152) 0:00:48.776 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:54:55 -0500 (0:00:00.118) 0:00:48.895 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366494.3921044, "block_size": 4096, "blocks": 0, "ctime": 1732366494.3921044, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34887, "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": 1732366494.3921044, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.558) 0:00:49.454 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.057) 0:00:49.511 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.101) 0:00:49.613 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.045) 0:00:49.658 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366494.2122786, "block_size": 4096, "blocks": 8, "ctime": 1732366486.6092699, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732366486.6092699, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.410) 0:00:50.069 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:54:56 -0500 (0:00:00.062) 0:00:50.131 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020378", "end": "2024-11-23 07:54:57.214370", "rc": 1, "start": "2024-11-23 07:54:57.193992" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.464) 0:00:50.595 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.042) 0:00:50.638 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002981", "end": "2024-11-23 07:54:57.665992", "rc": 0, "start": "2024-11-23 07:54:57.663011" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.406) 0:00:51.044 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:54:57 -0500 (0:00:00.074) 0:00:51.119 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002990", "end": "2024-11-23 07:54:58.161170", "rc": 0, "start": "2024-11-23 07:54:58.158180" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.440) 0:00:51.559 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.057) 0:00:51.617 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.047) 0:00:51.664 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.042) 0:00:51.707 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.041) 0:00:51.749 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.036) 0:00:51.786 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.040) 0:00:51.826 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:54:58 -0500 (0:00:00.071) 0:00:51.897 ***** 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.048196", "end": "2024-11-23 07:54:59.003224", "rc": 0, "start": "2024-11-23 07:54:58.955028" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.476) 0:00:52.374 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.065) 0:00:52.439 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.039) 0:00:52.479 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.107) 0:00:52.586 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.162) 0:00:52.749 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:54:59 -0500 (0:00:00.097) 0:00:52.846 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2024-11-23 07:54:59.911953", "rc": 0, "start": "2024-11-23 07:54:59.908869" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.458) 0:00:53.305 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.067) 0:00:53.373 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.113) 0:00:53.487 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.137) 0:00:53.624 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.103) 0:00:53.728 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.143) 0:00:53.871 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.082) 0:00:53.953 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.064) 0:00:54.018 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:00 -0500 (0:00:00.067) 0:00:54.085 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:02 -0500 (0:00:01.972) 0:00:56.058 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:04 -0500 (0:00:01.634) 0:00:57.692 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.040) 0:00:57.733 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.038) 0:00:57.772 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.078) 0:00:57.851 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.053) 0:00:57.904 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.089) 0:00:57.993 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.048) 0:00:58.041 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.055) 0:00:58.097 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.090) 0:00:58.188 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.041) 0:00:58.230 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:04 -0500 (0:00:00.039) 0:00:58.269 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.044) 0:00:58.314 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.039) 0:00:58.353 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.042) 0:00:58.396 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:05 -0500 (0:00:00.669) 0:00:59.065 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpb1ttihp9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.433) 0:00:59.499 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.720) 0:01:00.219 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:06 -0500 (0:00:00.037) 0:01:00.257 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.043) 0:01:00.300 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.053) 0:01:00.354 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.055) 0:01:00.410 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.624) 0:01:01.034 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.082) 0:01:01.117 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:07 -0500 (0:00:00.133) 0:01:01.250 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.129) 0:01:01.380 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.091) 0:01:01.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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.060) 0:01:01.531 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.076) 0:01:01.607 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:10 -0500 (0:00:01.817) 0:01:03.425 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:11 -0500 (0:00:01.626) 0:01:05.052 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.062) 0:01:05.114 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.058) 0:01:05.173 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.060) 0:01:05.233 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.107) 0:01:05.341 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.083) 0:01:05.425 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.050) 0:01:05.476 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.049) 0:01:05.525 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.089) 0:01:05.615 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.043) 0:01:05.658 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.039) 0:01:05.698 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.044) 0:01:05.742 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.039) 0:01:05.782 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.038) 0:01:05.820 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.653) 0:01:06.474 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmp0za6q_m2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.416) 0:01:06.891 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:14 -0500 (0:00:01.074) 0:01:07.965 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.116) 0:01:08.081 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.077) 0:01:08.158 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.107) 0:01:08.266 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.082) 0:01:08.348 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.461) 0:01:08.810 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.067) 0:01:08.877 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.074) 0:01:08.952 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.070) 0:01:09.022 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.052) 0:01:09.075 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.053) 0:01:09.128 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.061) 0:01:09.190 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:17 -0500 (0:00:01.811) 0:01:11.001 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:19 -0500 (0:00:01.615) 0:01:12.617 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.053) 0:01:12.670 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.037) 0:01:12.708 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.038) 0:01:12.746 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.069) 0:01:12.816 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.049) 0:01:12.865 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.054) 0:01:12.920 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.075) 0:01:12.995 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.109) 0:01:13.105 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.060) 0:01:13.166 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:19 -0500 (0:00:00.060) 0:01:13.226 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.082) 0:01:13.308 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.059) 0:01:13.368 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.059) 0:01:13.428 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:20 -0500 (0:00:00.689) 0:01:14.117 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmplq0i_yl7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:21 -0500 (0:00:00.425) 0:01:14.543 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.856) 0:01:15.400 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.083) 0:01:15.483 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.109) 0:01:15.592 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.161) 0:01:15.754 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.053) 0:01:15.807 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:22 -0500 (0:00:00.430) 0:01:16.238 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.097) 0:01:16.335 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.088) 0:01:16.424 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366514.318571, "block_size": 4096, "blocks": 0, "ctime": 1732366514.318571, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35018, "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": 1732366514.318571, "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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.451) 0:01:16.875 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.060) 0:01:16.936 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.151) 0:01:17.088 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:23 -0500 (0:00:00.070) 0:01:17.158 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.621) 0:01:17.780 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:24 -0500 (0:00:00.075) 0:01:17.855 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020261", "end": "2024-11-23 07:55:25.003175", "rc": 1, "start": "2024-11-23 07:55:24.982914" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.548) 0:01:18.404 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.066) 0:01:18.470 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.068) 0:01:18.538 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.066) 0:01:18.605 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.055) 0:01:18.661 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.051) 0:01:18.712 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.049) 0:01:18.762 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.037) 0:01:18.800 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.054) 0:01:18.855 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:25 -0500 (0:00:00.089) 0:01:18.945 ***** 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.046813", "end": "2024-11-23 07:55:26.055141", "rc": 0, "start": "2024-11-23 07:55:26.008328" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.560) 0:01:19.505 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.113) 0:01:19.619 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.046) 0:01:19.666 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.097) 0:01:19.763 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.068) 0:01:19.831 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:26 -0500 (0:00:00.064) 0:01:19.896 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003001", "end": "2024-11-23 07:55:26.924903", "rc": 0, "start": "2024-11-23 07:55:26.921902" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.428) 0:01:20.325 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.061) 0:01:20.386 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.043) 0:01:20.429 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.095) 0:01:20.524 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.105) 0:01:20.630 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.075) 0:01:20.705 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.055) 0:01:20.761 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.060) 0:01:20.822 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:27 -0500 (0:00:00.057) 0:01:20.879 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:29 -0500 (0:00:01.782) 0:01:22.661 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:31 -0500 (0:00:01.651) 0:01:24.313 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.048) 0:01:24.362 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.050) 0:01:24.413 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.043) 0:01:24.457 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.038) 0:01:24.495 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.046) 0:01:24.542 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.039) 0:01:24.581 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.043) 0:01:24.625 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.076) 0:01:24.701 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.040) 0:01:24.742 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.041) 0:01:24.783 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.065) 0:01:24.849 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.062) 0:01:24.912 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:31 -0500 (0:00:00.113) 0:01:25.025 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:32 -0500 (0:00:00.721) 0:01:25.747 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmp5d1748ab" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.566) 0:01:26.313 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.530) 0:01:26.843 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.038) 0:01:26.882 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.040) 0:01:26.923 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.041) 0:01:26.965 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:33 -0500 (0:00:00.037) 0:01:27.002 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.380) 0:01:27.383 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.040) 0:01:27.423 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.102) 0:01:27.526 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.072) 0:01:27.598 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.048) 0:01:27.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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.039) 0:01:27.687 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:34 -0500 (0:00:00.039) 0:01:27.726 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:36 -0500 (0:00:01.825) 0:01:29.551 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:37 -0500 (0:00:01.608) 0:01:31.159 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.045) 0:01:31.204 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:37 -0500 (0:00:00.060) 0:01:31.265 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.077) 0:01:31.342 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.066) 0:01:31.408 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.073) 0:01:31.482 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.054) 0:01:31.536 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.057) 0:01:31.593 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.087) 0:01:31.681 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.041) 0:01:31.722 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.038) 0:01:31.761 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.084) 0:01:31.846 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.043) 0:01:31.889 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:38 -0500 (0:00:00.062) 0:01:31.951 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.674) 0:01:32.625 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmp6jvn0p6v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:39 -0500 (0:00:00.470) 0:01:33.096 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:40 -0500 (0:00:00.867) 0:01:33.964 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:40 -0500 (0:00:00.062) 0:01:34.027 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:40 -0500 (0:00:00.081) 0:01:34.108 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:40 -0500 (0:00:00.109) 0:01:34.217 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.089) 0:01:34.307 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.398) 0:01:34.705 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.120) 0:01:34.825 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.120) 0:01:34.946 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.076) 0:01:35.022 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.063) 0:01:35.086 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:41 -0500 (0:00:00.045) 0:01:35.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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:43 -0500 (0:00:01.836) 0:01:36.967 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:45 -0500 (0:00:01.839) 0:01:38.807 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.066) 0:01:38.873 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.065) 0:01:38.938 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.069) 0:01:39.008 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.052) 0:01:39.060 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.051) 0:01:39.112 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.047) 0:01:39.160 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:45 -0500 (0:00:00.049) 0:01:39.209 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.107) 0:01:39.317 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.046) 0:01:39.364 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.052) 0:01:39.416 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.065) 0:01:39.482 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.064) 0:01:39.546 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.134) 0:01:39.681 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.629) 0:01:40.310 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpuqe9wk6e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.490) 0:01:40.800 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.939) 0:01:41.740 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.065) 0:01:41.806 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.066) 0:01:41.872 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.060) 0:01:41.933 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:48 -0500 (0:00:00.066) 0:01:41.999 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.469) 0:01:42.469 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.082) 0:01:42.551 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.139) 0:01:42.691 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.122) 0:01:42.813 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.089) 0:01:42.903 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.061) 0:01:42.964 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:55:49 -0500 (0:00:00.068) 0:01:43.033 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:55:51 -0500 (0:00:01.820) 0:01:44.853 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:55:53 -0500 (0:00:01.575) 0:01:46.429 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.039) 0:01:46.468 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.037) 0:01:46.506 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.039) 0:01:46.545 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.049) 0:01:46.595 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.064) 0:01:46.659 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.064) 0:01:46.724 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.066) 0:01:46.790 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.130) 0:01:46.921 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.060) 0:01:46.981 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.056) 0:01:47.038 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.111) 0:01:47.150 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.058) 0:01:47.208 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:55:53 -0500 (0:00:00.059) 0:01:47.268 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:55:54 -0500 (0:00:00.642) 0:01:47.911 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmphdyehxec" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.428) 0:01:48.339 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.545) 0:01:48.885 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.060) 0:01:48.945 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.066) 0:01:49.012 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.060) 0:01:49.073 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:55:55 -0500 (0:00:00.052) 0:01:49.125 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.420) 0:01:49.546 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.157) 0:01:49.703 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.101) 0:01:49.805 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.062) 0:01:49.867 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:55:56 -0500 (0:00:00.408) 0:01:50.276 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.061) 0:01:50.337 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020286", "end": "2024-11-23 07:55:57.416730", "rc": 1, "start": "2024-11-23 07:55:57.396444" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.451) 0:01:50.789 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.041) 0:01:50.830 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.042) 0:01:50.873 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.040) 0:01:50.914 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.043) 0:01:50.957 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.040) 0:01:50.998 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.043) 0:01:51.041 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.092) 0:01:51.134 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.040) 0:01:51.174 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:55:57 -0500 (0:00:00.071) 0:01:51.245 ***** 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.046294", "end": "2024-11-23 07:55:58.311436", "rc": 0, "start": "2024-11-23 07:55:58.265142" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.441) 0:01:51.687 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.083) 0:01:51.770 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.046) 0:01:51.817 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.104) 0:01:51.921 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.099) 0:01:52.021 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 November 2024 07:55:58 -0500 (0:00:00.116) 0:01:52.138 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004333", "end": "2024-11-23 07:56:00.206504", "rc": 0, "start": "2024-11-23 07:55:59.202171" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 November 2024 07:56:00 -0500 (0:00:01.489) 0:01:53.627 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.073) 0:01:53.701 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.062) 0:01:53.763 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.124) 0:01:53.888 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.133) 0:01:54.021 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.094) 0:01:54.116 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.061) 0:01:54.177 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:00 -0500 (0:00:00.085) 0:01:54.262 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:01 -0500 (0:00:00.090) 0:01:54.353 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:02 -0500 (0:00:01.900) 0:01:56.254 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:04 -0500 (0:00:01.582) 0:01:57.836 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.038) 0:01:57.875 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.038) 0:01:57.913 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.037) 0:01:57.951 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.094) 0:01:58.046 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.103) 0:01:58.149 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:04 -0500 (0:00:00.090) 0:01:58.239 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.076) 0:01:58.316 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.128) 0:01:58.444 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.087) 0:01:58.532 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.046) 0:01:58.578 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.050) 0:01:58.629 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.049) 0:01:58.678 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.042) 0:01:58.721 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:05 -0500 (0:00:00.565) 0:01:59.286 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmprcmvflhw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:06 -0500 (0:00:00.402) 0:01:59.689 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.671) 0:02:00.361 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.062) 0:02:00.424 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.063) 0:02:00.487 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.072) 0:02:00.560 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.059) 0:02:00.619 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.396) 0:02:01.016 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.040) 0:02:01.056 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.068) 0:02:01.125 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:07 -0500 (0:00:00.104) 0:02:01.229 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.075) 0:02:01.304 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.062) 0:02:01.367 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:08 -0500 (0:00:00.062) 0:02:01.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 : Check which packages are installed] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:09 -0500 (0:00:01.832) 0:02:03.263 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:11 -0500 (0:00:01.569) 0:02:04.833 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.059) 0:02:04.892 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.102) 0:02:04.995 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.059) 0:02:05.054 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.057) 0:02:05.112 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.054) 0:02:05.166 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.045) 0:02:05.212 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:11 -0500 (0:00:00.051) 0:02:05.264 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.078) 0:02:05.342 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.036) 0:02:05.379 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.038) 0:02:05.417 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.043) 0:02:05.460 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.037) 0:02:05.498 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.037) 0:02:05.536 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:12 -0500 (0:00:00.579) 0:02:06.115 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmp42bq6xqg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:13 -0500 (0:00:00.503) 0:02:06.619 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.900) 0:02:07.520 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.059) 0:02:07.579 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.067) 0:02:07.647 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.067) 0:02:07.715 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.045) 0:02:07.760 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.397) 0:02:08.157 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:14 -0500 (0:00:00.064) 0:02:08.222 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.097) 0:02:08.320 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.071) 0:02:08.392 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.063) 0:02:08.455 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:15 -0500 (0:00:00.115) 0:02:08.571 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:17 -0500 (0:00:01.879) 0:02:10.450 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:18 -0500 (0:00:01.703) 0:02:12.154 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.149) 0:02:12.303 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.130) 0:02:12.434 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.069) 0:02:12.503 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.060) 0:02:12.564 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.066) 0:02:12.631 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.054) 0:02:12.686 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.047) 0:02:12.733 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.081) 0:02:12.815 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.045) 0:02:12.860 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.048) 0:02:12.909 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.074) 0:02:12.984 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.054) 0:02:13.038 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:19 -0500 (0:00:00.065) 0:02:13.104 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.628) 0:02:13.732 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpj216pk5_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:20 -0500 (0:00:00.480) 0:02:14.213 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.804) 0:02:15.017 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.065) 0:02:15.083 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.045) 0:02:15.128 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.048) 0:02:15.177 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:21 -0500 (0:00:00.046) 0:02:15.224 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.410) 0:02:15.635 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.108) 0:02:15.743 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.078) 0:02:15.822 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.092) 0:02:15.915 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.051) 0:02:15.966 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.038) 0:02:16.004 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 November 2024 07:56:22 -0500 (0:00:00.087) 0:02:16.092 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 November 2024 07:56:24 -0500 (0:00:01.806) 0:02:17.899 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 November 2024 07:56:26 -0500 (0:00:01.696) 0:02:19.595 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.132) 0:02:19.728 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.072) 0:02:19.800 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.071) 0:02:19.872 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.086) 0:02:19.958 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.092) 0:02:20.051 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.046) 0:02:20.097 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.049) 0:02:20.146 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 23 November 2024 07:56:26 -0500 (0:00:00.137) 0:02:20.284 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.070) 0:02:20.354 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.124) 0:02:20.479 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.094) 0:02:20.574 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.071) 0:02:20.646 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 November 2024 07:56:27 -0500 (0:00:00.081) 0:02:20.727 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.659) 0:02:21.387 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49659b1fwk1ox/tmpa4fpn33z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 23 November 2024 07:56:28 -0500 (0:00:00.512) 0:02:21.899 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.583) 0:02:22.482 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.058) 0:02:22.541 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.068) 0:02:22.609 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.065) 0:02:22.675 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.051) 0:02:22.726 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 23 November 2024 07:56:29 -0500 (0:00:00.426) 0:02:23.153 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.155) 0:02:23.308 ***** included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.108) 0:02:23.417 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.056) 0:02:23.474 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.397) 0:02:23.871 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 November 2024 07:56:30 -0500 (0:00:00.087) 0:02:23.959 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020397", "end": "2024-11-23 07:56:31.030190", "rc": 1, "start": "2024-11-23 07:56:31.009793" } 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.440) 0:02:24.400 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.041) 0:02:24.442 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.041) 0:02:24.483 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.039) 0:02:24.522 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.041) 0:02:24.564 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.041) 0:02:24.605 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 November 2024 07:56:31 -0500 (0:00:00.042) 0:02:24.647 ***** [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.952073", "end": "2024-11-23 07:56:32.616820", "rc": 0, "start": "2024-11-23 07:56:31.664747" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 November 2024 07:56:32 -0500 (0:00:01.347) 0:02:25.995 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.053) 0:02:26.049 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.062) 0:02:26.112 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.121) 0:02:26.233 ***** 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 23 November 2024 07:56:32 -0500 (0:00:00.064) 0:02:26.297 ***** included: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.151) 0:02:26.449 ***** 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.046040", "end": "2024-11-23 07:56:33.513134", "rc": 0, "start": "2024-11-23 07:56:33.467094" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 23 November 2024 07:56:33 -0500 (0:00:00.440) 0:02:26.890 ***** 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.008882", "end": "2024-11-23 07:56:33.962639", "rc": 0, "start": "2024-11-23 07:56:33.953757" } 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:d3:68:ce:43:c9 brd ff:ff:ff:ff:ff:ff inet 10.31.40.60/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2375sec preferred_lft 2375sec inet6 fe80::cd3:68ff:fece:43c9/64 scope link valid_lft forever preferred_lft forever 49: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether f6:a3:29:e7:c5:29 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.40.60 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.60 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-ydJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.441) 0:02:27.332 ***** 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.229058", "end": "2024-11-23 07:56:34.609146", "rc": 0, "start": "2024-11-23 07:56:34.380088" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 3588 0 --:--:-- --:--:-- --:--:-- 3588 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.626) 0:02:27.959 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/collections-ydJ/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-ydJ/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-ydJ/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-ydJ/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-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-ydJ/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-ydJ/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-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-ydJ/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-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ydJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26