ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Monday 11 November 2024 20:13:12 -0500 (0:00:00.024) 0:00:00.024 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Monday 11 November 2024 20:13:13 -0500 (0:00:00.970) 0:00:00.995 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:13:13 -0500 (0:00:00.040) 0:00:01.035 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 11 November 2024 20:13:13 -0500 (0:00:00.559) 0:00:01.595 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 11 November 2024 20:13:14 -0500 (0:00:00.641) 0:00:02.237 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 11 November 2024 20:13:14 -0500 (0:00:00.058) 0:00:02.296 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 11 November 2024 20:13:14 -0500 (0:00:00.085) 0:00:02.381 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 11 November 2024 20:13:14 -0500 (0:00:00.094) 0:00:02.475 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 11 November 2024 20:13:15 -0500 (0:00:00.588) 0:00:03.064 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 11 November 2024 20:13:15 -0500 (0:00:00.027) 0:00:03.091 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 11 November 2024 20:13:15 -0500 (0:00:00.022) 0:00:03.113 ******* [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.226876", "end": "2024-11-11 20:13:15.993299", "rc": 0, "start": "2024-11-11 20:13:15.766423" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 11 November 2024 20:13:16 -0500 (0:00:00.585) 0:00:03.699 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Monday 11 November 2024 20:13:16 -0500 (0:00:00.025) 0:00:03.724 ******* ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 11 November 2024 20:13:16 -0500 (0:00:00.018) 0:00:03.743 ******* ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 11 November 2024 20:13:16 -0500 (0:00:00.607) 0:00:04.350 ******* ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 11 November 2024 20:13:16 -0500 (0:00:00.017) 0:00:04.368 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:16 -0500 (0:00:00.027) 0:00:04.395 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:16 -0500 (0:00:00.019) 0:00:04.415 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:16 -0500 (0:00:00.064) 0:00:04.480 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:16 -0500 (0:00:00.034) 0:00:04.514 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:16 -0500 (0:00:00.022) 0:00:04.537 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003023", "end": "2024-11-11 20:13:17.206487", "rc": 0, "start": "2024-11-11 20:13:17.203464" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:17 -0500 (0:00:00.377) 0:00:04.914 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:17 -0500 (0:00:00.019) 0:00:04.934 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:17 -0500 (0:00:00.018) 0:00:04.953 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.034) 0:00:04.987 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007971", "end": "2024-11-11 20:13:17.632668", "rc": 1, "start": "2024-11-11 20:13:17.624697" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.361) 0:00:05.349 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.035) 0:00:05.384 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:13:18 -0500 (0:00:00.364) 0:00:05.748 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:18 -0500 (0:00:00.034) 0:00:05.783 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:18 -0500 (0:00:00.045) 0:00:05.828 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:18 -0500 (0:00:00.148) 0:00:05.977 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:18 -0500 (0:00:00.057) 0:00:06.034 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:18 -0500 (0:00:00.025) 0:00:06.059 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:18 -0500 (0:00:00.019) 0:00:06.079 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:18 -0500 (0:00:00.048) 0:00:06.127 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:20 -0500 (0:00:01.935) 0:00:08.063 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:22 -0500 (0:00:01.898) 0:00:09.961 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:22 -0500 (0:00:00.057) 0:00:10.018 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:22 -0500 (0:00:00.067) 0:00:10.086 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:22 -0500 (0:00:00.063) 0:00:10.149 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:22 -0500 (0:00:00.043) 0:00:10.192 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:22 -0500 (0:00:00.053) 0:00:10.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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:22 -0500 (0:00:00.037) 0:00:10.282 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:22 -0500 (0:00:00.044) 0:00:10.327 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:22 -0500 (0:00:00.069) 0:00:10.396 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:22 -0500 (0:00:00.035) 0:00:10.431 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:22 -0500 (0:00:00.033) 0:00:10.465 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:22 -0500 (0:00:00.039) 0:00:10.505 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:23 -0500 (0:00:00.770) 0:00:11.275 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:23 -0500 (0:00:00.093) 0:00:11.368 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:23 -0500 (0:00:00.056) 0:00:11.425 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:23 -0500 (0:00:00.054) 0:00:11.479 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:24 -0500 (0:00:00.912) 0:00:12.391 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:24 -0500 (0:00:00.037) 0:00:12.429 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:24 -0500 (0:00:00.047) 0:00:12.477 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:24 -0500 (0:00:00.057) 0:00:12.535 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:24 -0500 (0:00:00.052) 0:00:12.587 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:25 -0500 (0:00:00.494) 0:00:13.082 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee7761d1-a971-4913-8dc2-7f2d5e035916" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:25 -0500 (0:00:00.047) 0:00:13.130 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:13:25 -0500 (0:00:00.092) 0:00:13.223 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:25 -0500 (0:00:00.128) 0:00:13.351 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:25 -0500 (0:00:00.075) 0:00:13.426 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374004.6615984, "block_size": 4096, "blocks": 8, "ctime": 1731374004.6085982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731374004.6085982, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:26 -0500 (0:00:00.446) 0:00:13.872 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:26 -0500 (0:00:00.069) 0:00:13.942 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019414", "end": "2024-11-11 20:13:26.782721", "rc": 0, "start": "2024-11-11 20:13:26.763307" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:26 -0500 (0:00:00.588) 0:00:14.531 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:26 -0500 (0:00:00.053) 0:00:14.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:26 -0500 (0:00:00.040) 0:00:14.625 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:27 -0500 (0:00:00.039) 0:00:14.665 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:27 -0500 (0:00:00.043) 0:00:14.708 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:13:27 -0500 (0:00:00.039) 0:00:14.747 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:13:27 -0500 (0:00:00.039) 0:00:14.787 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:13:27 -0500 (0:00:00.040) 0:00:14.828 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:27 -0500 (0:00:00.049) 0:00:14.877 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:13:27 -0500 (0:00:00.100) 0:00:14.977 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:27 -0500 (0:00:00.107) 0:00:15.085 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374004.6102173, "block_size": 4096, "blocks": 0, "ctime": 1731374004.6102173, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37366, "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": 1731374004.6102173, "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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:13:27 -0500 (0:00:00.391) 0:00:15.477 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:27 -0500 (0:00:00.048) 0:00:15.526 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:27 -0500 (0:00:00.040) 0:00:15.566 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:27 -0500 (0:00:00.080) 0:00:15.647 ******* 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.057525", "end": "2024-11-11 20:13:28.341083", "rc": 1, "start": "2024-11-11 20:13:28.283558" } STDOUT: Connection 'statebr' (ee7761d1-a971-4913-8dc2-7f2d5e035916) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 11 November 2024 20:13:28 -0500 (0:00:00.429) 0:00:16.077 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:28 -0500 (0:00:00.089) 0:00:16.167 ******* ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:28 -0500 (0:00:00.099) 0:00:16.266 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:28 -0500 (0:00:00.115) 0:00:16.382 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:28 -0500 (0:00:00.155) 0:00:16.537 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:29 -0500 (0:00:00.142) 0:00:16.680 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003018", "end": "2024-11-11 20:13:29.319588", "rc": 0, "start": "2024-11-11 20:13:29.316570" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:29 -0500 (0:00:00.380) 0:00:17.061 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:29 -0500 (0:00:00.057) 0:00:17.119 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:29 -0500 (0:00:00.059) 0:00:17.178 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:13:29 -0500 (0:00:00.112) 0:00:17.291 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005830", "end": "2024-11-11 20:13:29.928361", "rc": 1, "start": "2024-11-11 20:13:29.922531" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:13:30 -0500 (0:00:00.377) 0:00:17.669 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:30 -0500 (0:00:00.099) 0:00:17.768 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:13:30 -0500 (0:00:00.443) 0:00:18.211 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:30 -0500 (0:00:00.068) 0:00:18.280 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 11 November 2024 20:13:30 -0500 (0:00:00.186) 0:00:18.467 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:30 -0500 (0:00:00.146) 0:00:18.614 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:31 -0500 (0:00:00.124) 0:00:18.738 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:31 -0500 (0:00:00.076) 0:00:18.815 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:31 -0500 (0:00:00.065) 0:00:18.880 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:31 -0500 (0:00:00.054) 0:00:18.935 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:32 -0500 (0:00:01.714) 0:00:20.650 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:34 -0500 (0:00:01.618) 0:00:22.268 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:34 -0500 (0:00:00.116) 0:00:22.385 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:34 -0500 (0:00:00.078) 0:00:22.463 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:34 -0500 (0:00:00.066) 0:00:22.530 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:34 -0500 (0:00:00.080) 0:00:22.611 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:35 -0500 (0:00:00.060) 0:00:22.671 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:35 -0500 (0:00:00.050) 0:00:22.722 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:35 -0500 (0:00:00.052) 0:00:22.774 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:35 -0500 (0:00:00.108) 0:00:22.883 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:35 -0500 (0:00:00.041) 0:00:22.924 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:35 -0500 (0:00:00.051) 0:00:22.976 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:35 -0500 (0:00:00.067) 0:00:23.043 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:35 -0500 (0:00:00.609) 0:00:23.652 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:36 -0500 (0:00:00.044) 0:00:23.696 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:36 -0500 (0:00:00.037) 0:00:23.734 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:36 -0500 (0:00:00.036) 0:00:23.770 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:36 -0500 (0:00:00.539) 0:00:24.310 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:36 -0500 (0:00:00.044) 0:00:24.355 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:36 -0500 (0:00:00.055) 0:00:24.410 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:36 -0500 (0:00:00.054) 0:00:24.465 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:36 -0500 (0:00:00.044) 0:00:24.509 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 11 November 2024 20:13:37 -0500 (0:00:00.371) 0:00:24.880 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690f02ba-bafa-4de1-adb1-05db6de28606" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:37 -0500 (0:00:00.038) 0:00:24.919 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:13:37 -0500 (0:00:00.089) 0:00:25.008 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:37 -0500 (0:00:00.109) 0:00:25.118 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:13:37 -0500 (0:00:00.382) 0:00:25.500 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:13:37 -0500 (0:00:00.040) 0:00:25.540 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:37 -0500 (0:00:00.064) 0:00:25.605 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:37 -0500 (0:00:00.046) 0:00:25.652 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374016.5686412, "block_size": 4096, "blocks": 8, "ctime": 1731374016.5686412, "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": 1731374016.5686412, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:38 -0500 (0:00:00.400) 0:00:26.052 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:38 -0500 (0:00:00.064) 0:00:26.117 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018439", "end": "2024-11-11 20:13:38.811788", "rc": 0, "start": "2024-11-11 20:13:38.793349" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:38 -0500 (0:00:00.485) 0:00:26.602 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:39 -0500 (0:00:00.089) 0:00:26.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:39 -0500 (0:00:00.121) 0:00:26.813 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:39 -0500 (0:00:00.079) 0:00:26.892 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:39 -0500 (0:00:00.130) 0:00:27.023 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:13:39 -0500 (0:00:00.073) 0:00:27.097 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:13:39 -0500 (0:00:00.075) 0:00:27.172 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:13:39 -0500 (0:00:00.072) 0:00:27.244 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:39 -0500 (0:00:00.060) 0:00:27.305 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:39 -0500 (0:00:00.057) 0:00:27.363 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:39 -0500 (0:00:00.057) 0:00:27.421 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:39 -0500 (0:00:00.118) 0:00:27.539 ******* 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.038817", "end": "2024-11-11 20:13:40.310443", "rc": 1, "start": "2024-11-11 20:13:40.271626" } STDOUT: Connection 'statebr' (690f02ba-bafa-4de1-adb1-05db6de28606) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 11 November 2024 20:13:40 -0500 (0:00:00.507) 0:00:28.047 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:40 -0500 (0:00:00.104) 0:00:28.151 ******* ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:40 -0500 (0:00:00.069) 0:00:28.221 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:40 -0500 (0:00:00.101) 0:00:28.322 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:40 -0500 (0:00:00.123) 0:00:28.446 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:40 -0500 (0:00:00.056) 0:00:28.502 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003128", "end": "2024-11-11 20:13:41.132605", "rc": 0, "start": "2024-11-11 20:13:41.129477" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:41 -0500 (0:00:00.399) 0:00:28.901 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:41 -0500 (0:00:00.085) 0:00:28.986 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:41 -0500 (0:00:00.071) 0:00:29.057 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:41 -0500 (0:00:00.072) 0:00:29.130 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:41 -0500 (0:00:00.077) 0:00:29.208 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:41 -0500 (0:00:00.075) 0:00:29.283 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:41 -0500 (0:00:00.049) 0:00:29.333 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:41 -0500 (0:00:00.050) 0:00:29.383 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:41 -0500 (0:00:00.071) 0:00:29.454 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:43 -0500 (0:00:01.816) 0:00:31.271 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:45 -0500 (0:00:01.440) 0:00:32.711 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:45 -0500 (0:00:00.046) 0:00:32.757 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:45 -0500 (0:00:00.039) 0:00:32.796 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:45 -0500 (0:00:00.062) 0:00:32.859 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:45 -0500 (0:00:00.036) 0:00:32.895 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:45 -0500 (0:00:00.055) 0:00:32.950 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:45 -0500 (0:00:00.035) 0:00:32.986 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:45 -0500 (0:00:00.043) 0:00:33.030 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:45 -0500 (0:00:00.112) 0:00:33.143 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:45 -0500 (0:00:00.058) 0:00:33.201 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:45 -0500 (0:00:00.053) 0:00:33.255 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:45 -0500 (0:00:00.065) 0:00:33.320 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:46 -0500 (0:00:00.596) 0:00:33.917 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:46 -0500 (0:00:00.059) 0:00:33.976 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:46 -0500 (0:00:00.061) 0:00:34.037 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:46 -0500 (0:00:00.054) 0:00:34.092 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:47 -0500 (0:00:00.678) 0:00:34.771 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:47 -0500 (0:00:00.098) 0:00:34.869 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:47 -0500 (0:00:00.042) 0:00:34.912 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:47 -0500 (0:00:00.049) 0:00:34.961 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:47 -0500 (0:00:00.038) 0:00:35.000 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:47 -0500 (0:00:00.409) 0:00:35.410 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:47 -0500 (0:00:00.060) 0:00:35.470 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:47 -0500 (0:00:00.101) 0:00:35.572 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:48 -0500 (0:00:00.092) 0:00:35.664 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:48 -0500 (0:00:00.083) 0:00:35.748 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:48 -0500 (0:00:00.050) 0:00:35.799 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:48 -0500 (0:00:00.040) 0:00:35.840 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:48 -0500 (0:00:00.054) 0:00:35.894 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:49 -0500 (0:00:01.742) 0:00:37.636 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:51 -0500 (0:00:01.454) 0:00:39.091 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:51 -0500 (0:00:00.039) 0:00:39.131 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:51 -0500 (0:00:00.045) 0:00:39.177 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:51 -0500 (0:00:00.065) 0:00:39.242 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:51 -0500 (0:00:00.037) 0:00:39.280 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:51 -0500 (0:00:00.045) 0:00:39.325 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:51 -0500 (0:00:00.046) 0:00:39.372 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:51 -0500 (0:00:00.062) 0:00:39.435 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:51 -0500 (0:00:00.090) 0:00:39.525 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:51 -0500 (0:00:00.044) 0:00:39.570 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:51 -0500 (0:00:00.045) 0:00:39.615 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:52 -0500 (0:00:00.047) 0:00:39.663 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:52 -0500 (0:00:00.547) 0:00:40.211 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:52 -0500 (0:00:00.072) 0:00:40.283 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:52 -0500 (0:00:00.052) 0:00:40.335 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:52 -0500 (0:00:00.057) 0:00:40.393 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:53 -0500 (0:00:00.671) 0:00:41.064 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:53 -0500 (0:00:00.106) 0:00:41.171 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:53 -0500 (0:00:00.058) 0:00:41.230 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b152bec0-1ac6-4a51-ba32-80f33f50c81e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:53 -0500 (0:00:00.078) 0:00:41.308 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:53 -0500 (0:00:00.052) 0:00:41.361 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:54 -0500 (0:00:00.402) 0:00:41.763 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:13:54 -0500 (0:00:00.086) 0:00:41.849 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:54 -0500 (0:00:00.072) 0:00:41.921 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374026.9672318, "block_size": 4096, "blocks": 0, "ctime": 1731374026.9672318, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37497, "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": 1731374026.9672318, "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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:13:54 -0500 (0:00:00.435) 0:00:42.356 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:13:54 -0500 (0:00:00.067) 0:00:42.424 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:54 -0500 (0:00:00.106) 0:00:42.530 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:54 -0500 (0:00:00.066) 0:00:42.597 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374027.0196784, "block_size": 4096, "blocks": 8, "ctime": 1731374026.9656782, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731374026.9656782, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:55 -0500 (0:00:00.475) 0:00:43.073 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:55 -0500 (0:00:00.040) 0:00:43.113 ******* ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018284", "end": "2024-11-11 20:13:55.851910", "rc": 0, "start": "2024-11-11 20:13:55.833626" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:55 -0500 (0:00:00.491) 0:00:43.605 ******* ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:56 -0500 (0:00:00.055) 0:00:43.661 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:56 -0500 (0:00:00.055) 0:00:43.716 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:56 -0500 (0:00:00.049) 0:00:43.766 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:56 -0500 (0:00:00.043) 0:00:43.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:13:56 -0500 (0:00:00.047) 0:00:43.857 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:13:56 -0500 (0:00:00.058) 0:00:43.915 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:13:56 -0500 (0:00:00.073) 0:00:43.989 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:56 -0500 (0:00:00.095) 0:00:44.084 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:56 -0500 (0:00:00.106) 0:00:44.191 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:56 -0500 (0:00:00.066) 0:00:44.258 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:56 -0500 (0:00:00.124) 0:00:44.382 ******* 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.066364", "end": "2024-11-11 20:13:57.116156", "rc": 1, "start": "2024-11-11 20:13:57.049792" } STDOUT: Connection 'statebr' (b152bec0-1ac6-4a51-ba32-80f33f50c81e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 11 November 2024 20:13:57 -0500 (0:00:00.581) 0:00:44.963 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:57 -0500 (0:00:00.092) 0:00:45.056 ******* ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:57 -0500 (0:00:00.045) 0:00:45.101 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:57 -0500 (0:00:00.080) 0:00:45.181 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:57 -0500 (0:00:00.057) 0:00:45.239 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:57 -0500 (0:00:00.076) 0:00:45.316 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2024-11-11 20:13:58.146174", "rc": 0, "start": "2024-11-11 20:13:58.143002" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:58 -0500 (0:00:00.575) 0:00:45.891 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:58 -0500 (0:00:00.060) 0:00:45.952 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:58 -0500 (0:00:00.071) 0:00:46.024 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:58 -0500 (0:00:00.116) 0:00:46.140 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:58 -0500 (0:00:00.158) 0:00:46.299 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:58 -0500 (0:00:00.088) 0:00:46.387 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:58 -0500 (0:00:00.049) 0:00:46.437 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:58 -0500 (0:00:00.035) 0:00:46.472 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:58 -0500 (0:00:00.033) 0:00:46.505 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:00 -0500 (0:00:01.722) 0:00:48.227 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:02 -0500 (0:00:01.611) 0:00:49.838 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:02 -0500 (0:00:00.068) 0:00:49.907 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:02 -0500 (0:00:00.071) 0:00:49.978 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:02 -0500 (0:00:00.046) 0:00:50.025 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:02 -0500 (0:00:00.045) 0:00:50.070 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:02 -0500 (0:00:00.043) 0:00:50.113 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:02 -0500 (0:00:00.034) 0:00:50.147 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:02 -0500 (0:00:00.041) 0:00:50.189 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:02 -0500 (0:00:00.093) 0:00:50.282 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:02 -0500 (0:00:00.062) 0:00:50.345 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:02 -0500 (0:00:00.058) 0:00:50.404 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:02 -0500 (0:00:00.067) 0:00:50.471 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:03 -0500 (0:00:00.630) 0:00:51.102 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:03 -0500 (0:00:00.043) 0:00:51.146 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:03 -0500 (0:00:00.035) 0:00:51.182 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:03 -0500 (0:00:00.036) 0:00:51.218 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:04 -0500 (0:00:00.660) 0:00:51.879 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:04 -0500 (0:00:00.057) 0:00:51.937 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:04 -0500 (0:00:00.057) 0:00:51.994 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:04 -0500 (0:00:00.059) 0:00:52.053 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:04 -0500 (0:00:00.058) 0:00:52.112 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:14:04 -0500 (0:00:00.422) 0:00:52.535 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b2036fc0-6368-447e-9095-f46d17402692" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:04 -0500 (0:00:00.057) 0:00:52.592 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:05 -0500 (0:00:00.073) 0:00:52.665 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:05 -0500 (0:00:00.106) 0:00:52.772 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:05 -0500 (0:00:00.106) 0:00:52.879 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:05 -0500 (0:00:00.042) 0:00:52.922 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:05 -0500 (0:00:00.045) 0:00:52.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 : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:06 -0500 (0:00:01.685) 0:00:54.652 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:08 -0500 (0:00:01.580) 0:00:56.233 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:08 -0500 (0:00:00.048) 0:00:56.282 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:08 -0500 (0:00:00.043) 0:00:56.326 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:08 -0500 (0:00:00.038) 0:00:56.365 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:08 -0500 (0:00:00.037) 0:00:56.402 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:08 -0500 (0:00:00.048) 0:00:56.451 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:08 -0500 (0:00:00.054) 0:00:56.505 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:08 -0500 (0:00:00.055) 0:00:56.560 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:08 -0500 (0:00:00.081) 0:00:56.642 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:09 -0500 (0:00:00.044) 0:00:56.687 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:09 -0500 (0:00:00.039) 0:00:56.727 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:09 -0500 (0:00:00.042) 0:00:56.769 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:09 -0500 (0:00:00.531) 0:00:57.300 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:09 -0500 (0:00:00.042) 0:00:57.343 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:09 -0500 (0:00:00.073) 0:00:57.417 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:09 -0500 (0:00:00.035) 0:00:57.452 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2036fc0-6368-447e-9095-f46d17402692 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:10 -0500 (0:00:00.691) 0:00:58.144 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:10 -0500 (0:00:00.059) 0:00:58.203 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2036fc0-6368-447e-9095-f46d17402692 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:10 -0500 (0:00:00.081) 0:00:58.284 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2036fc0-6368-447e-9095-f46d17402692 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b2036fc0-6368-447e-9095-f46d17402692 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:10 -0500 (0:00:00.056) 0:00:58.341 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:10 -0500 (0:00:00.058) 0:00:58.400 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:14:11 -0500 (0:00:00.433) 0:00:58.833 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:14:11 -0500 (0:00:00.121) 0:00:58.954 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:11 -0500 (0:00:00.084) 0:00:59.039 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:11 -0500 (0:00:00.082) 0:00:59.121 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:11 -0500 (0:00:00.075) 0:00:59.197 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:11 -0500 (0:00:00.037) 0:00:59.234 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:11 -0500 (0:00:00.034) 0:00:59.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 : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:13 -0500 (0:00:01.642) 0:01:00.911 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:14 -0500 (0:00:01.484) 0:01:02.396 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:14 -0500 (0:00:00.055) 0:01:02.452 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:14 -0500 (0:00:00.035) 0:01:02.487 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:14 -0500 (0:00:00.035) 0:01:02.523 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:14 -0500 (0:00:00.038) 0:01:02.561 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:14 -0500 (0:00:00.042) 0:01:02.603 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:14 -0500 (0:00:00.036) 0:01:02.639 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:15 -0500 (0:00:00.041) 0:01:02.680 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:15 -0500 (0:00:00.071) 0:01:02.752 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:15 -0500 (0:00:00.035) 0:01:02.788 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:15 -0500 (0:00:00.035) 0:01:02.823 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:15 -0500 (0:00:00.039) 0:01:02.863 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:15 -0500 (0:00:00.560) 0:01:03.423 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:15 -0500 (0:00:00.076) 0:01:03.500 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:15 -0500 (0:00:00.035) 0:01:03.536 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:15 -0500 (0:00:00.035) 0:01:03.571 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:16 -0500 (0:00:00.556) 0:01:04.128 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:16 -0500 (0:00:00.035) 0:01:04.163 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:16 -0500 (0:00:00.035) 0:01:04.199 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:16 -0500 (0:00:00.037) 0:01:04.236 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:16 -0500 (0:00:00.034) 0:01:04.271 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:17 -0500 (0:00:00.459) 0:01:04.730 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:14:17 -0500 (0:00:00.214) 0:01:04.944 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:14:17 -0500 (0:00:00.117) 0:01:05.062 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731374044.0690956, "block_size": 4096, "blocks": 0, "ctime": 1731374044.0690956, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37628, "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": 1731374044.0690956, "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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:14:17 -0500 (0:00:00.546) 0:01:05.609 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:18 -0500 (0:00:00.100) 0:01:05.709 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:18 -0500 (0:00:00.080) 0:01:05.790 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:18 -0500 (0:00:00.037) 0:01:05.827 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:18 -0500 (0:00:00.431) 0:01:06.259 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:18 -0500 (0:00:00.056) 0:01:06.315 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019023", "end": "2024-11-11 20:14:19.032941", "rc": 1, "start": "2024-11-11 20:14:19.013918" } 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:19 -0500 (0:00:00.474) 0:01:06.790 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:19 -0500 (0:00:00.042) 0:01:06.833 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:19 -0500 (0:00:00.047) 0:01:06.880 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:19 -0500 (0:00:00.046) 0:01:06.927 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:19 -0500 (0:00:00.045) 0:01:06.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:19 -0500 (0:00:00.037) 0:01:07.010 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:19 -0500 (0:00:00.039) 0:01:07.049 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:19 -0500 (0:00:00.037) 0:01:07.087 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:19 -0500 (0:00:00.107) 0:01:07.194 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:19 -0500 (0:00:00.115) 0:01:07.309 ******* 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.074760", "end": "2024-11-11 20:14:20.157272", "rc": 1, "start": "2024-11-11 20:14:20.082512" } STDOUT: Connection 'statebr' (b2036fc0-6368-447e-9095-f46d17402692) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 11 November 2024 20:14:20 -0500 (0:00:00.573) 0:01:07.883 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:14:20 -0500 (0:00:00.062) 0:01:07.945 ******* ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:14:20 -0500 (0:00:00.048) 0:01:07.993 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:14:20 -0500 (0:00:00.126) 0:01:08.120 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:14:20 -0500 (0:00:00.093) 0:01:08.213 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:14:20 -0500 (0:00:00.129) 0:01:08.342 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003268", "end": "2024-11-11 20:14:21.194599", "rc": 0, "start": "2024-11-11 20:14:21.191331" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:14:21 -0500 (0:00:00.584) 0:01:08.927 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:14:21 -0500 (0:00:00.043) 0:01:08.970 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:14:21 -0500 (0:00:00.054) 0:01:09.025 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:14:21 -0500 (0:00:00.135) 0:01:09.160 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:21 -0500 (0:00:00.074) 0:01:09.235 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:21 -0500 (0:00:00.074) 0:01:09.310 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:21 -0500 (0:00:00.045) 0:01:09.356 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:21 -0500 (0:00:00.036) 0:01:09.392 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:21 -0500 (0:00:00.033) 0:01:09.426 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:23 -0500 (0:00:01.671) 0:01:11.098 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:24 -0500 (0:00:01.535) 0:01:12.633 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:25 -0500 (0:00:00.066) 0:01:12.700 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:25 -0500 (0:00:00.105) 0:01:12.805 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:25 -0500 (0:00:00.056) 0:01:12.861 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:25 -0500 (0:00:00.062) 0:01:12.924 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:25 -0500 (0:00:00.067) 0:01:12.991 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:25 -0500 (0:00:00.067) 0:01:13.059 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:25 -0500 (0:00:00.077) 0:01:13.136 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:25 -0500 (0:00:00.118) 0:01:13.255 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:25 -0500 (0:00:00.065) 0:01:13.321 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:25 -0500 (0:00:00.118) 0:01:13.439 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:25 -0500 (0:00:00.076) 0:01:13.516 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:26 -0500 (0:00:00.681) 0:01:14.197 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:26 -0500 (0:00:00.049) 0:01:14.247 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:26 -0500 (0:00:00.043) 0:01:14.291 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:26 -0500 (0:00:00.047) 0:01:14.338 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:27 -0500 (0:00:00.592) 0:01:14.931 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:27 -0500 (0:00:00.038) 0:01:14.970 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:27 -0500 (0:00:00.046) 0:01:15.017 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:27 -0500 (0:00:00.043) 0:01:15.060 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:27 -0500 (0:00:00.035) 0:01:15.095 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:14:27 -0500 (0:00:00.402) 0:01:15.498 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:27 -0500 (0:00:00.067) 0:01:15.565 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:28 -0500 (0:00:00.119) 0:01:15.685 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:28 -0500 (0:00:00.105) 0:01:15.791 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:28 -0500 (0:00:00.076) 0:01:15.868 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:28 -0500 (0:00:00.061) 0:01:15.929 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:28 -0500 (0:00:00.057) 0:01:15.987 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:30 -0500 (0:00:01.726) 0:01:17.714 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:31 -0500 (0:00:01.492) 0:01:19.207 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:31 -0500 (0:00:00.037) 0:01:19.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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:31 -0500 (0:00:00.036) 0:01:19.281 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:31 -0500 (0:00:00.035) 0:01:19.316 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:31 -0500 (0:00:00.036) 0:01:19.353 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:31 -0500 (0:00:00.044) 0:01:19.397 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:31 -0500 (0:00:00.035) 0:01:19.433 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:31 -0500 (0:00:00.042) 0:01:19.475 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:31 -0500 (0:00:00.072) 0:01:19.548 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:31 -0500 (0:00:00.034) 0:01:19.582 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:31 -0500 (0:00:00.035) 0:01:19.618 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:32 -0500 (0:00:00.059) 0:01:19.678 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:32 -0500 (0:00:00.516) 0:01:20.194 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:32 -0500 (0:00:00.045) 0:01:20.239 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:32 -0500 (0:00:00.043) 0:01:20.283 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:32 -0500 (0:00:00.055) 0:01:20.339 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:33 -0500 (0:00:00.549) 0:01:20.888 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:33 -0500 (0:00:00.036) 0:01:20.925 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:33 -0500 (0:00:00.037) 0:01:20.962 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6accf8aa-8379-4138-9373-7ae8b58da5ff skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:33 -0500 (0:00:00.038) 0:01:21.001 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:33 -0500 (0:00:00.035) 0:01:21.036 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:14:33 -0500 (0:00:00.341) 0:01:21.378 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:33 -0500 (0:00:00.060) 0:01:21.438 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:33 -0500 (0:00:00.101) 0:01:21.540 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:33 -0500 (0:00:00.044) 0:01:21.585 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:33 -0500 (0:00:00.036) 0:01:21.621 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:33 -0500 (0:00:00.036) 0:01:21.657 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:35 -0500 (0:00:01.579) 0:01:23.237 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:37 -0500 (0:00:01.478) 0:01:24.715 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:37 -0500 (0:00:00.072) 0:01:24.787 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:37 -0500 (0:00:00.063) 0:01:24.851 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:37 -0500 (0:00:00.096) 0:01:24.948 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:37 -0500 (0:00:00.070) 0:01:25.018 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:37 -0500 (0:00:00.121) 0:01:25.139 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:37 -0500 (0:00:00.096) 0:01:25.236 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:37 -0500 (0:00:00.096) 0:01:25.332 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:37 -0500 (0:00:00.097) 0:01:25.430 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:37 -0500 (0:00:00.050) 0:01:25.480 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:37 -0500 (0:00:00.049) 0:01:25.530 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:37 -0500 (0:00:00.043) 0:01:25.573 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:38 -0500 (0:00:00.538) 0:01:26.111 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:38 -0500 (0:00:00.057) 0:01:26.169 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:38 -0500 (0:00:00.072) 0:01:26.242 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:38 -0500 (0:00:00.064) 0:01:26.306 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:39 -0500 (0:00:00.718) 0:01:27.024 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:39 -0500 (0:00:00.057) 0:01:27.082 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:39 -0500 (0:00:00.045) 0:01:27.127 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:39 -0500 (0:00:00.046) 0:01:27.173 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:39 -0500 (0:00:00.046) 0:01:27.219 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:14:39 -0500 (0:00:00.351) 0:01:27.571 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:39 -0500 (0:00:00.065) 0:01:27.636 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:40 -0500 (0:00:00.070) 0:01:27.707 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:40 -0500 (0:00:00.069) 0:01:27.776 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:40 -0500 (0:00:00.044) 0:01:27.821 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:40 -0500 (0:00:00.069) 0:01:27.891 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:40 -0500 (0:00:00.037) 0:01:27.928 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:41 -0500 (0:00:01.529) 0:01:29.458 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:43 -0500 (0:00:01.413) 0:01:30.871 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:43 -0500 (0:00:00.094) 0:01:30.966 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:43 -0500 (0:00:00.051) 0:01:31.017 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:43 -0500 (0:00:00.056) 0:01:31.074 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:43 -0500 (0:00:00.055) 0:01:31.129 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:43 -0500 (0:00:00.062) 0:01:31.191 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:43 -0500 (0:00:00.043) 0:01:31.235 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:43 -0500 (0:00:00.047) 0:01:31.283 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:43 -0500 (0:00:00.081) 0:01:31.364 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:43 -0500 (0:00:00.044) 0:01:31.408 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:43 -0500 (0:00:00.035) 0:01:31.443 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:43 -0500 (0:00:00.038) 0:01:31.482 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:44 -0500 (0:00:00.569) 0:01:32.052 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:44 -0500 (0:00:00.041) 0:01:32.093 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:44 -0500 (0:00:00.034) 0:01:32.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:44 -0500 (0:00:00.033) 0:01:32.161 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:45 -0500 (0:00:00.608) 0:01:32.769 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:45 -0500 (0:00:00.036) 0:01:32.805 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:45 -0500 (0:00:00.038) 0:01:32.844 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:45 -0500 (0:00:00.037) 0:01:32.882 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:45 -0500 (0:00:00.036) 0:01:32.918 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:45 -0500 (0:00:00.341) 0:01:33.260 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:45 -0500 (0:00:00.087) 0:01:33.347 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:45 -0500 (0:00:00.062) 0:01:33.410 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:45 -0500 (0:00:00.056) 0:01:33.466 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:46 -0500 (0:00:00.364) 0:01:33.831 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:46 -0500 (0:00:00.073) 0:01:33.905 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018211", "end": "2024-11-11 20:14:46.555674", "rc": 1, "start": "2024-11-11 20:14:46.537463" } 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:46 -0500 (0:00:00.375) 0:01:34.280 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:46 -0500 (0:00:00.039) 0:01:34.320 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:46 -0500 (0:00:00.037) 0:01:34.358 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:46 -0500 (0:00:00.036) 0:01:34.395 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:46 -0500 (0:00:00.038) 0:01:34.433 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:46 -0500 (0:00:00.041) 0:01:34.474 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:46 -0500 (0:00:00.043) 0:01:34.518 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:14:46 -0500 (0:00:00.069) 0:01:34.588 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:14:46 -0500 (0:00:00.058) 0:01:34.646 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:14:47 -0500 (0:00:00.384) 0:01:35.031 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:47 -0500 (0:00:00.060) 0:01:35.091 ******* ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:47 -0500 (0:00:00.102) 0:01:35.194 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:47 -0500 (0:00:00.109) 0:01:35.303 ******* 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.037948", "end": "2024-11-11 20:14:48.026101", "rc": 1, "start": "2024-11-11 20:14:47.988153" } 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 11 November 2024 20:14:48 -0500 (0:00:00.474) 0:01:35.778 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:14:48 -0500 (0:00:00.069) 0:01:35.847 ******* ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:14:48 -0500 (0:00:00.046) 0:01:35.893 ******* ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:14:48 -0500 (0:00:00.086) 0:01:35.980 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:14:48 -0500 (0:00:00.059) 0:01:36.039 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:14:48 -0500 (0:00:00.061) 0:01:36.101 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003158", "end": "2024-11-11 20:14:48.759856", "rc": 0, "start": "2024-11-11 20:14:48.756698" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:14:48 -0500 (0:00:00.395) 0:01:36.496 ******* ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:14:48 -0500 (0:00:00.041) 0:01:36.538 ******* ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:14:48 -0500 (0:00:00.079) 0:01:36.618 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:14:49 -0500 (0:00:00.082) 0:01:36.700 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:49 -0500 (0:00:00.101) 0:01:36.801 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:49 -0500 (0:00:00.095) 0:01:36.897 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:49 -0500 (0:00:00.055) 0:01:36.952 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:49 -0500 (0:00:00.043) 0:01:36.996 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:49 -0500 (0:00:00.041) 0:01:37.037 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:50 -0500 (0:00:01.599) 0:01:38.637 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:52 -0500 (0:00:01.453) 0:01:40.090 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:52 -0500 (0:00:00.059) 0:01:40.150 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:52 -0500 (0:00:00.054) 0:01:40.205 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:52 -0500 (0:00:00.055) 0:01:40.260 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:52 -0500 (0:00:00.056) 0:01:40.317 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:52 -0500 (0:00:00.063) 0:01:40.381 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:52 -0500 (0:00:00.046) 0:01:40.427 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:52 -0500 (0:00:00.049) 0:01:40.477 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:52 -0500 (0:00:00.073) 0:01:40.550 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:52 -0500 (0:00:00.069) 0:01:40.620 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:53 -0500 (0:00:00.051) 0:01:40.671 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:53 -0500 (0:00:00.041) 0:01:40.713 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:53 -0500 (0:00:00.548) 0:01:41.262 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:53 -0500 (0:00:00.067) 0:01:41.329 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:53 -0500 (0:00:00.060) 0:01:41.390 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:53 -0500 (0:00:00.065) 0:01:41.456 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:54 -0500 (0:00:00.904) 0:01:42.360 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:54 -0500 (0:00:00.056) 0:01:42.417 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:54 -0500 (0:00:00.048) 0:01:42.466 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:54 -0500 (0:00:00.041) 0:01:42.508 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:54 -0500 (0:00:00.040) 0:01:42.548 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:14:55 -0500 (0:00:00.383) 0:01:42.931 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:55 -0500 (0:00:00.130) 0:01:43.061 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:55 -0500 (0:00:00.110) 0:01:43.172 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:55 -0500 (0:00:00.090) 0:01:43.262 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:55 -0500 (0:00:00.053) 0:01:43.316 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:55 -0500 (0:00:00.035) 0:01:43.351 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:55 -0500 (0:00:00.037) 0:01:43.389 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:57 -0500 (0:00:01.704) 0:01:45.093 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:58 -0500 (0:00:01.519) 0:01:46.612 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:58 -0500 (0:00:00.042) 0:01:46.655 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:59 -0500 (0:00:00.043) 0:01:46.698 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:59 -0500 (0:00:00.037) 0:01:46.736 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:59 -0500 (0:00:00.035) 0:01:46.771 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:59 -0500 (0:00:00.043) 0:01:46.815 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:59 -0500 (0:00:00.035) 0:01:46.851 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:59 -0500 (0:00:00.047) 0:01:46.898 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:59 -0500 (0:00:00.115) 0:01:47.013 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:59 -0500 (0:00:00.055) 0:01:47.069 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:59 -0500 (0:00:00.040) 0:01:47.110 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:59 -0500 (0:00:00.046) 0:01:47.156 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:15:00 -0500 (0:00:00.597) 0:01:47.753 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:15:00 -0500 (0:00:00.094) 0:01:47.848 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:15:00 -0500 (0:00:00.054) 0:01:47.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:15:00 -0500 (0:00:00.057) 0:01:47.960 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:15:00 -0500 (0:00:00.547) 0:01:48.508 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:15:00 -0500 (0:00:00.044) 0:01:48.552 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:15:00 -0500 (0:00:00.045) 0:01:48.597 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f96b5928-8b6d-4ea4-a510-717523d9fe9b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:15:00 -0500 (0:00:00.040) 0:01:48.637 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:15:01 -0500 (0:00:00.035) 0:01:48.673 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:15:01 -0500 (0:00:00.415) 0:01:49.088 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:15:01 -0500 (0:00:00.102) 0:01:49.191 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:15:01 -0500 (0:00:00.161) 0:01:49.352 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:15:01 -0500 (0:00:00.067) 0:01:49.419 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:15:01 -0500 (0:00:00.061) 0:01:49.481 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:15:01 -0500 (0:00:00.059) 0:01:49.541 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:15:03 -0500 (0:00:01.562) 0:01:51.103 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:15:05 -0500 (0:00:01.618) 0:01:52.722 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:15:05 -0500 (0:00:00.091) 0:01:52.813 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:15:05 -0500 (0:00:00.117) 0:01:52.931 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:15:05 -0500 (0:00:00.051) 0:01:52.982 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:15:05 -0500 (0:00:00.049) 0:01:53.032 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:15:05 -0500 (0:00:00.077) 0:01:53.110 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:15:05 -0500 (0:00:00.063) 0:01:53.174 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:15:05 -0500 (0:00:00.070) 0:01:53.244 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:15:05 -0500 (0:00:00.120) 0:01:53.365 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:15:05 -0500 (0:00:00.055) 0:01:53.420 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:15:05 -0500 (0:00:00.048) 0:01:53.469 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:15:05 -0500 (0:00:00.062) 0:01:53.531 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:15:06 -0500 (0:00:00.577) 0:01:54.108 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:15:06 -0500 (0:00:00.075) 0:01:54.184 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:15:06 -0500 (0:00:00.111) 0:01:54.296 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:15:06 -0500 (0:00:00.052) 0:01:54.348 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:15:07 -0500 (0:00:00.649) 0:01:54.998 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:15:07 -0500 (0:00:00.036) 0:01:55.034 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:15:07 -0500 (0:00:00.038) 0:01:55.073 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:15:07 -0500 (0:00:00.038) 0:01:55.112 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:15:07 -0500 (0:00:00.036) 0:01:55.148 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:15:07 -0500 (0:00:00.430) 0:01:55.579 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:15:08 -0500 (0:00:00.079) 0:01:55.659 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:15:08 -0500 (0:00:00.061) 0:01:55.721 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:15:08 -0500 (0:00:00.068) 0:01:55.789 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:15:08 -0500 (0:00:00.144) 0:01:55.934 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:15:08 -0500 (0:00:00.049) 0:01:55.983 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:15:08 -0500 (0:00:00.041) 0:01:56.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 : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:15:09 -0500 (0:00:01.529) 0:01:57.554 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:15:11 -0500 (0:00:01.463) 0:01:59.018 ******* ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:15:11 -0500 (0:00:00.038) 0:01:59.056 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:15:11 -0500 (0:00:00.037) 0:01:59.094 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:15:11 -0500 (0:00:00.036) 0:01:59.131 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:15:11 -0500 (0:00:00.036) 0:01:59.167 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:15:11 -0500 (0:00:00.044) 0:01:59.212 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:15:11 -0500 (0:00:00.036) 0:01:59.248 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:15:11 -0500 (0:00:00.040) 0:01:59.288 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:15:11 -0500 (0:00:00.085) 0:01:59.374 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:15:11 -0500 (0:00:00.038) 0:01:59.412 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:15:11 -0500 (0:00:00.035) 0:01:59.448 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:15:11 -0500 (0:00:00.041) 0:01:59.490 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:15:12 -0500 (0:00:00.515) 0:02:00.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:15:12 -0500 (0:00:00.042) 0:02:00.048 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:15:12 -0500 (0:00:00.073) 0:02:00.122 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:15:12 -0500 (0:00:00.038) 0:02:00.160 ******* ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:15:13 -0500 (0:00:00.533) 0:02:00.694 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:15:13 -0500 (0:00:00.045) 0:02:00.739 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:15:13 -0500 (0:00:00.044) 0:02:00.784 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:15:13 -0500 (0:00:00.040) 0:02:00.825 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:15:13 -0500 (0:00:00.035) 0:02:00.860 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:15:13 -0500 (0:00:00.343) 0:02:01.204 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:15:13 -0500 (0:00:00.074) 0:02:01.279 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:15:13 -0500 (0:00:00.063) 0:02:01.343 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:15:13 -0500 (0:00:00.036) 0:02:01.380 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:15:14 -0500 (0:00:00.358) 0:02:01.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:15:14 -0500 (0:00:00.035) 0:02:01.775 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017092", "end": "2024-11-11 20:15:14.420713", "rc": 1, "start": "2024-11-11 20:15:14.403621" } 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:15:14 -0500 (0:00:00.374) 0:02:02.149 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:15:14 -0500 (0:00:00.037) 0:02:02.187 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:15:14 -0500 (0:00:00.039) 0:02:02.226 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:15:14 -0500 (0:00:00.038) 0:02:02.265 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:15:14 -0500 (0:00:00.037) 0:02:02.302 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:15:14 -0500 (0:00:00.042) 0:02:02.345 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 11 November 2024 20:15:14 -0500 (0:00:00.042) 0:02:02.387 ******* [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.881300", "end": "2024-11-11 20:15:15.914460", "rc": 0, "start": "2024-11-11 20:15:15.033160" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 11 November 2024 20:15:16 -0500 (0:00:01.285) 0:02:03.673 ******* ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 11 November 2024 20:15:16 -0500 (0:00:00.084) 0:02:03.757 ******* ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:15:16 -0500 (0:00:00.045) 0:02:03.803 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:15:16 -0500 (0:00:00.083) 0:02:03.887 ******* included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:15:16 -0500 (0:00:00.060) 0:02:03.948 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:15:16 -0500 (0:00:00.416) 0:02:04.364 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:15:16 -0500 (0:00:00.047) 0:02:04.411 ******* 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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:15:16 -0500 (0:00:00.047) 0:02:04.459 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:15:16 -0500 (0:00:00.092) 0:02:04.551 ******* 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.036548", "end": "2024-11-11 20:15:17.221450", "rc": 1, "start": "2024-11-11 20:15:17.184902" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 11 November 2024 20:15:17 -0500 (0:00:00.396) 0:02:04.947 ******* 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.008441", "end": "2024-11-11 20:15:17.585470", "rc": 0, "start": "2024-11-11 20:15:17.577029" } 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:a5:24:f0:ba:e3 brd ff:ff:ff:ff:ff:ff inet 10.31.41.207/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2463sec preferred_lft 2463sec inet6 fe80::ca5:24ff:fef0:bae3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.207 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.207 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 11 November 2024 20:15:17 -0500 (0:00:00.362) 0:02:05.310 ******* 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.140007", "end": "2024-11-11 20:15:18.149115", "rc": 0, "start": "2024-11-11 20:15:18.009108" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3860 0 --:--:-- --:--:-- --:--:-- 3860 % 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 7461 0 --:--:-- --:--:-- --:--:-- 7461 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Monday 11 November 2024 20:15:18 -0500 (0:00:00.544) 0:02:05.854 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.90s /tmp/collections-94Z/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-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21