ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 11 November 2024 20:12:42 -0500 (0:00:00.032) 0:00:00.032 ******* ok: [managed-node3] 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_initscripts.yml:8 Monday 11 November 2024 20:12:43 -0500 (0:00:01.066) 0:00:01.098 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:12:43 -0500 (0:00:00.052) 0:00:01.151 ******* ok: [managed-node3] 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:12:43 -0500 (0:00:00.529) 0:00:01.681 ******* ok: [managed-node3] => { "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:12:44 -0500 (0:00:00.717) 0:00:02.398 ******* ok: [managed-node3] => { "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:12:44 -0500 (0:00:00.058) 0:00:02.457 ******* skipping: [managed-node3] => { "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:12:44 -0500 (0:00:00.059) 0:00:02.517 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 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:12:44 -0500 (0:00:00.099) 0:00:02.617 ******* ok: [managed-node3] => { "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:12:45 -0500 (0:00:00.530) 0:00:03.147 ******* skipping: [managed-node3] => { "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:12:45 -0500 (0:00:00.023) 0:00:03.171 ******* skipping: [managed-node3] => { "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:12:45 -0500 (0:00:00.021) 0:00:03.192 ******* [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-node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243759", "end": "2024-11-11 20:12:45.816244", "rc": 0, "start": "2024-11-11 20:12:45.572485" } 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:12:45 -0500 (0:00:00.602) 0:00:03.795 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 11 November 2024 20:12:45 -0500 (0:00:00.019) 0:00:03.815 ******* ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 11 November 2024 20:12:45 -0500 (0:00:00.040) 0:00:03.856 ******* ok: [managed-node3] 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:12:46 -0500 (0:00:00.768) 0:00:04.624 ******* ok: [managed-node3] => {} 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:12:46 -0500 (0:00:00.027) 0:00:04.651 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:46 -0500 (0:00:00.076) 0:00:04.728 ******* ok: [managed-node3] => {} 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:12:46 -0500 (0:00:00.028) 0:00:04.756 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:46 -0500 (0:00:00.092) 0:00:04.849 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:46 -0500 (0:00:00.034) 0:00:04.883 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:46 -0500 (0:00:00.026) 0:00:04.910 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-11-11 20:12:47.317331", "rc": 0, "start": "2024-11-11 20:12:47.314234" } STDOUT: bonding_masters eth0 lo rpltstbr 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:12:47 -0500 (0:00:00.387) 0:00:05.298 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:12:47 -0500 (0:00:00.035) 0:00:05.333 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:12:47 -0500 (0:00:00.043) 0:00:05.376 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 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:12:47 -0500 (0:00:00.063) 0:00:05.440 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007353", "end": "2024-11-11 20:12:47.890165", "rc": 1, "start": "2024-11-11 20:12:47.882812" } 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:12:47 -0500 (0:00:00.457) 0:00:05.898 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:48 -0500 (0:00:00.051) 0:00:05.950 ******* ok: [managed-node3] => { "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:12:48 -0500 (0:00:00.443) 0:00:06.394 ******* ok: [managed-node3] => { "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:12:48 -0500 (0:00:00.035) 0:00:06.430 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 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:12:48 -0500 (0:00:00.040) 0:00:06.470 ******* 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:12:48 -0500 (0:00:00.183) 0:00:06.653 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:48 -0500 (0:00:00.061) 0:00:06.715 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:48 -0500 (0:00:00.056) 0:00:06.771 ******* skipping: [managed-node3] => { "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:12:48 -0500 (0:00:00.041) 0:00:06.812 ******* skipping: [managed-node3] => { "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:12:48 -0500 (0:00:00.032) 0:00:06.845 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:50 -0500 (0:00:01.875) 0:00:08.720 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:52 -0500 (0:00:01.964) 0:00:10.685 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:52 -0500 (0:00:00.060) 0:00:10.745 ******* skipping: [managed-node3] => { "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:12:52 -0500 (0:00:00.053) 0:00:10.798 ******* skipping: [managed-node3] => { "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:12:52 -0500 (0:00:00.043) 0:00:10.842 ******* skipping: [managed-node3] => { "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:12:52 -0500 (0:00:00.042) 0:00:10.884 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.054) 0:00:10.939 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.053) 0:00:10.992 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.043) 0:00:11.035 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.074) 0:00:11.110 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.038) 0:00:11.148 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.037) 0:00:11.186 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.044) 0:00:11.231 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:12:53 -0500 (0:00:00.037) 0:00:11.268 ******* skipping: [managed-node3] => { "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:12:53 -0500 (0:00:00.036) 0:00:11.305 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:12:54 -0500 (0:00:00.799) 0:00:12.105 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpnt3e70o3" } 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:12:54 -0500 (0:00:00.389) 0:00:12.494 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:55 -0500 (0:00:00.736) 0:00:13.230 ******* skipping: [managed-node3] => { "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:12:55 -0500 (0:00:00.063) 0:00:13.294 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:55 -0500 (0:00:00.064) 0:00:13.359 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:55 -0500 (0:00:00.060) 0:00:13.419 ******* skipping: [managed-node3] => {} 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:12:55 -0500 (0:00:00.071) 0:00:13.491 ******* ok: [managed-node3] => { "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:12:56 -0500 (0:00:00.661) 0:00:14.152 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:56 -0500 (0:00:00.077) 0:00:14.230 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:12:56 -0500 (0:00:00.123) 0:00:14.353 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:56 -0500 (0:00:00.155) 0:00:14.509 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:56 -0500 (0:00:00.060) 0:00:14.569 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373975.2125678, "block_size": 4096, "blocks": 8, "ctime": 1731373975.2125678, "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": 1731373975.2125678, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:57 -0500 (0:00:00.517) 0:00:15.087 ******* ok: [managed-node3] => { "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:12:57 -0500 (0:00:00.097) 0:00:15.184 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018082", "end": "2024-11-11 20:12:57.624279", "rc": 1, "start": "2024-11-11 20:12:57.606197" } 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:12:57 -0500 (0:00:00.444) 0:00:15.628 ******* skipping: [managed-node3] => { "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:12:57 -0500 (0:00:00.064) 0:00:15.692 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002936", "end": "2024-11-11 20:12:58.189399", "rc": 0, "start": "2024-11-11 20:12:58.186463" } STDOUT: # Ansible managed 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:12:58 -0500 (0:00:00.518) 0:00:16.211 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:12:58 -0500 (0:00:00.062) 0:00:16.274 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003258", "end": "2024-11-11 20:12:58.671449", "rc": 0, "start": "2024-11-11 20:12:58.668191" } STDOUT: # system_role:network 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:12:58 -0500 (0:00:00.407) 0:00:16.681 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:12:58 -0500 (0:00:00.074) 0:00:16.756 ******* ok: [managed-node3] => { "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:12:58 -0500 (0:00:00.065) 0:00:16.822 ******* ok: [managed-node3] => { "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:12:58 -0500 (0:00:00.062) 0:00:16.884 ******* ok: [managed-node3] => { "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:12:59 -0500 (0:00:00.104) 0:00:16.988 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:59 -0500 (0:00:00.054) 0:00:17.043 ******* ok: [managed-node3] => {} 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:12:59 -0500 (0:00:00.054) 0:00:17.098 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:12:59 -0500 (0:00:00.124) 0:00:17.222 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.037623", "end": "2024-11-11 20:12:59.700205", "rc": 1, "start": "2024-11-11 20:12:59.662582" } 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:45 Monday 11 November 2024 20:12:59 -0500 (0:00:00.486) 0:00:17.709 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:59 -0500 (0:00:00.078) 0:00:17.787 ******* ok: [managed-node3] => {} 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:12:59 -0500 (0:00:00.050) 0:00:17.838 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:00 -0500 (0:00:00.085) 0:00:17.923 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:00 -0500 (0:00:00.086) 0:00:18.009 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:00 -0500 (0:00:00.066) 0:00:18.076 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003511", "end": "2024-11-11 20:13:00.465477", "rc": 0, "start": "2024-11-11 20:13:00.461966" } STDOUT: bonding_masters eth0 lo rpltstbr 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:00 -0500 (0:00:00.462) 0:00:18.538 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:00 -0500 (0:00:00.179) 0:00:18.717 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:00 -0500 (0:00:00.065) 0:00:18.783 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 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:00 -0500 (0:00:00.088) 0:00:18.871 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006145", "end": "2024-11-11 20:13:01.277352", "rc": 1, "start": "2024-11-11 20:13:01.271207" } 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:01 -0500 (0:00:00.396) 0:00:19.268 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:01 -0500 (0:00:00.072) 0:00:19.340 ******* ok: [managed-node3] => { "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:01 -0500 (0:00:00.407) 0:00:19.748 ******* ok: [managed-node3] => { "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:01 -0500 (0:00:00.057) 0:00:19.806 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 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:01 -0500 (0:00:00.080) 0:00:19.887 ******* 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:02 -0500 (0:00:00.085) 0:00:19.972 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:02 -0500 (0:00:00.105) 0:00:20.078 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:02 -0500 (0:00:00.045) 0:00:20.123 ******* skipping: [managed-node3] => { "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:02 -0500 (0:00:00.039) 0:00:20.163 ******* skipping: [managed-node3] => { "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:02 -0500 (0:00:00.038) 0:00:20.202 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:04 -0500 (0:00:01.760) 0:00:21.962 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:05 -0500 (0:00:01.583) 0:00:23.545 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:05 -0500 (0:00:00.066) 0:00:23.612 ******* skipping: [managed-node3] => { "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:05 -0500 (0:00:00.056) 0:00:23.668 ******* skipping: [managed-node3] => { "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:05 -0500 (0:00:00.066) 0:00:23.735 ******* skipping: [managed-node3] => { "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:05 -0500 (0:00:00.094) 0:00:23.829 ******* skipping: [managed-node3] => { "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:05 -0500 (0:00:00.081) 0:00:23.911 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.059) 0:00:23.971 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.082) 0:00:24.053 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.104) 0:00:24.158 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.046) 0:00:24.204 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.041) 0:00:24.246 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.044) 0:00:24.291 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:06 -0500 (0:00:00.038) 0:00:24.329 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.036) 0:00:24.366 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:07 -0500 (0:00:00.660) 0:00:25.027 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmp9wp30__s" } 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:07 -0500 (0:00:00.445) 0:00:25.472 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:08 -0500 (0:00:00.638) 0:00:26.110 ******* skipping: [managed-node3] => { "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:08 -0500 (0:00:00.061) 0:00:26.172 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:08 -0500 (0:00:00.055) 0:00:26.228 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:08 -0500 (0:00:00.049) 0:00:26.277 ******* skipping: [managed-node3] => {} 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:08 -0500 (0:00:00.044) 0:00:26.321 ******* ok: [managed-node3] => { "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:08 -0500 (0:00:00.400) 0:00:26.722 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:08 -0500 (0:00:00.058) 0:00:26.780 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:08 -0500 (0:00:00.127) 0:00:26.907 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:09 -0500 (0:00:00.171) 0:00:27.079 ******* ok: [managed-node3] => { "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:09 -0500 (0:00:00.467) 0:00:27.546 ******* ok: [managed-node3] => { "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:09 -0500 (0:00:00.059) 0:00:27.606 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:09 -0500 (0:00:00.134) 0:00:27.740 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:09 -0500 (0:00:00.057) 0:00:27.797 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373988.0966027, "block_size": 4096, "blocks": 8, "ctime": 1731373988.0966027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373988.0966027, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:10 -0500 (0:00:00.382) 0:00:28.180 ******* ok: [managed-node3] => { "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:10 -0500 (0:00:00.054) 0:00:28.235 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018925", "end": "2024-11-11 20:13:10.687702", "rc": 1, "start": "2024-11-11 20:13:10.668777" } 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:13:10 -0500 (0:00:00.447) 0:00:28.682 ******* skipping: [managed-node3] => { "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:13:10 -0500 (0:00:00.037) 0:00:28.720 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002873", "end": "2024-11-11 20:13:11.102476", "rc": 0, "start": "2024-11-11 20:13:11.099603" } STDOUT: # Ansible managed 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:11 -0500 (0:00:00.396) 0:00:29.116 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:11 -0500 (0:00:00.046) 0:00:29.162 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004030", "end": "2024-11-11 20:13:12.539818", "rc": 0, "start": "2024-11-11 20:13:11.535788" } STDOUT: # system_role:network 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:12 -0500 (0:00:01.397) 0:00:30.560 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:12 -0500 (0:00:00.059) 0:00:30.619 ******* ok: [managed-node3] => { "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:12 -0500 (0:00:00.046) 0:00:30.666 ******* ok: [managed-node3] => { "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:12 -0500 (0:00:00.050) 0:00:30.716 ******* ok: [managed-node3] => { "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:12 -0500 (0:00:00.054) 0:00:30.771 ******* 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:12 -0500 (0:00:00.040) 0:00:30.812 ******* ok: [managed-node3] => {} 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:12 -0500 (0:00:00.039) 0:00:30.851 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:13 -0500 (0:00:00.071) 0:00:30.922 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036114", "end": "2024-11-11 20:13:13.341219", "rc": 1, "start": "2024-11-11 20:13:13.305105" } 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:65 Monday 11 November 2024 20:13:13 -0500 (0:00:00.431) 0:00:31.354 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:13 -0500 (0:00:00.113) 0:00:31.468 ******* ok: [managed-node3] => {} 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:13 -0500 (0:00:00.044) 0:00:31.512 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:13 -0500 (0:00:00.093) 0:00:31.606 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:13 -0500 (0:00:00.091) 0:00:31.698 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:13 -0500 (0:00:00.093) 0:00:31.791 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003036", "end": "2024-11-11 20:13:14.395453", "rc": 0, "start": "2024-11-11 20:13:14.392417" } STDOUT: bonding_masters eth0 lo rpltstbr 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:14 -0500 (0:00:00.642) 0:00:32.433 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:14 -0500 (0:00:00.062) 0:00:32.496 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:14 -0500 (0:00:00.120) 0:00:32.617 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 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:14 -0500 (0:00:00.160) 0:00:32.778 ******* 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:14 -0500 (0:00:00.079) 0:00:32.857 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:15 -0500 (0:00:00.135) 0:00:32.993 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:15 -0500 (0:00:00.114) 0:00:33.108 ******* skipping: [managed-node3] => { "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:15 -0500 (0:00:00.043) 0:00:33.152 ******* skipping: [managed-node3] => { "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:15 -0500 (0:00:00.036) 0:00:33.188 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:16 -0500 (0:00:01.722) 0:00:34.910 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:18 -0500 (0:00:01.566) 0:00:36.477 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:18 -0500 (0:00:00.061) 0:00:36.538 ******* skipping: [managed-node3] => { "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:18 -0500 (0:00:00.066) 0:00:36.604 ******* skipping: [managed-node3] => { "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:18 -0500 (0:00:00.096) 0:00:36.701 ******* skipping: [managed-node3] => { "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:18 -0500 (0:00:00.070) 0:00:36.772 ******* skipping: [managed-node3] => { "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:18 -0500 (0:00:00.071) 0:00:36.843 ******* skipping: [managed-node3] => { "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:18 -0500 (0:00:00.066) 0:00:36.909 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.069) 0:00:36.978 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.115) 0:00:37.094 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.076) 0:00:37.170 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.059) 0:00:37.230 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.068) 0:00:37.298 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:19 -0500 (0:00:00.061) 0:00:37.359 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.042) 0:00:37.401 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:20 -0500 (0:00:00.567) 0:00:37.968 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpyr6o7l9l" } 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:20 -0500 (0:00:00.411) 0:00:38.380 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:21 -0500 (0:00:00.618) 0:00:38.998 ******* skipping: [managed-node3] => { "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:21 -0500 (0:00:00.053) 0:00:39.052 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:21 -0500 (0:00:00.045) 0:00:39.098 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:21 -0500 (0:00:00.040) 0:00:39.138 ******* skipping: [managed-node3] => {} 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:21 -0500 (0:00:00.038) 0:00:39.177 ******* ok: [managed-node3] => { "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:21 -0500 (0:00:00.453) 0:00:39.630 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:21 -0500 (0:00:00.064) 0:00:39.695 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 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:21 -0500 (0:00:00.103) 0:00:39.798 ******* 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:21 -0500 (0:00:00.114) 0:00:39.913 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:22 -0500 (0:00:00.242) 0:00:40.155 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:22 -0500 (0:00:00.072) 0:00:40.228 ******* skipping: [managed-node3] => { "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:22 -0500 (0:00:00.062) 0:00:40.291 ******* skipping: [managed-node3] => { "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:22 -0500 (0:00:00.064) 0:00:40.355 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:24 -0500 (0:00:01.802) 0:00:42.158 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:25 -0500 (0:00:01.592) 0:00:43.750 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:25 -0500 (0:00:00.043) 0:00:43.794 ******* skipping: [managed-node3] => { "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:25 -0500 (0:00:00.047) 0:00:43.842 ******* skipping: [managed-node3] => { "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:25 -0500 (0:00:00.043) 0:00:43.885 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.039) 0:00:43.924 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.045) 0:00:43.970 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.036) 0:00:44.006 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.048) 0:00:44.055 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.127) 0:00:44.182 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.073) 0:00:44.256 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.086) 0:00:44.342 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.091) 0:00:44.433 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:26 -0500 (0:00:00.067) 0:00:44.500 ******* skipping: [managed-node3] => { "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:26 -0500 (0:00:00.065) 0:00:44.566 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:27 -0500 (0:00:00.613) 0:00:45.180 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpwlyzcgw5" } 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:27 -0500 (0:00:00.463) 0:00:45.643 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:28 -0500 (0:00:00.857) 0:00:46.501 ******* skipping: [managed-node3] => { "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:28 -0500 (0:00:00.132) 0:00:46.633 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:28 -0500 (0:00:00.089) 0:00:46.723 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:28 -0500 (0:00:00.102) 0:00:46.825 ******* skipping: [managed-node3] => {} 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:28 -0500 (0:00:00.067) 0:00:46.893 ******* ok: [managed-node3] => { "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:29 -0500 (0:00:00.395) 0:00:47.288 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:29 -0500 (0:00:00.112) 0:00:47.401 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:29 -0500 (0:00:00.097) 0:00:47.498 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731374008.3700798, "block_size": 4096, "blocks": 0, "ctime": 1731374008.3700798, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32063, "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": 1731374008.3700798, "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:29 -0500 (0:00:00.416) 0:00:47.915 ******* ok: [managed-node3] => { "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:30 -0500 (0:00:00.104) 0:00:48.020 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:30 -0500 (0:00:00.084) 0:00:48.104 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:30 -0500 (0:00:00.056) 0:00:48.161 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731374008.210657, "block_size": 4096, "blocks": 8, "ctime": 1731374000.9806376, "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": 1731374000.9806376, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:30 -0500 (0:00:00.507) 0:00:48.668 ******* ok: [managed-node3] => { "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:30 -0500 (0:00:00.123) 0:00:48.791 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019060", "end": "2024-11-11 20:13:31.444226", "rc": 1, "start": "2024-11-11 20:13:31.425166" } 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:13:31 -0500 (0:00:00.672) 0:00:49.464 ******* skipping: [managed-node3] => { "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:13:31 -0500 (0:00:00.071) 0:00:49.535 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002914", "end": "2024-11-11 20:13:31.955299", "rc": 0, "start": "2024-11-11 20:13:31.952385" } STDOUT: # Ansible managed 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:32 -0500 (0:00:00.410) 0:00:49.946 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:32 -0500 (0:00:00.047) 0:00:49.993 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002888", "end": "2024-11-11 20:13:32.392120", "rc": 0, "start": "2024-11-11 20:13:32.389232" } STDOUT: # system_role:network 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:32 -0500 (0:00:00.391) 0:00:50.384 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:32 -0500 (0:00:00.048) 0:00:50.433 ******* ok: [managed-node3] => { "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:32 -0500 (0:00:00.106) 0:00:50.539 ******* ok: [managed-node3] => { "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:32 -0500 (0:00:00.058) 0:00:50.598 ******* ok: [managed-node3] => { "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:32 -0500 (0:00:00.044) 0:00:50.643 ******* 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:32 -0500 (0:00:00.063) 0:00:50.706 ******* ok: [managed-node3] => {} 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:32 -0500 (0:00:00.079) 0:00:50.786 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:32 -0500 (0:00:00.135) 0:00:50.921 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043793", "end": "2024-11-11 20:13:33.378927", "rc": 0, "start": "2024-11-11 20:13:33.335134" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:33 -0500 (0:00:00.447) 0:00:51.369 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:33 -0500 (0:00:00.062) 0:00:51.431 ******* ok: [managed-node3] => {} 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:33 -0500 (0:00:00.036) 0:00:51.467 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:33 -0500 (0:00:00.085) 0:00:51.553 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:33 -0500 (0:00:00.088) 0:00:51.642 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:33 -0500 (0:00:00.141) 0:00:51.784 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003526", "end": "2024-11-11 20:13:34.184523", "rc": 0, "start": "2024-11-11 20:13:34.180997" } STDOUT: bonding_masters eth0 lo rpltstbr 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:34 -0500 (0:00:00.390) 0:00:52.175 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:34 -0500 (0:00:00.038) 0:00:52.214 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:34 -0500 (0:00:00.036) 0:00:52.250 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 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:34 -0500 (0:00:00.091) 0:00:52.341 ******* 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:34 -0500 (0:00:00.134) 0:00:52.476 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:34 -0500 (0:00:00.143) 0:00:52.620 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:34 -0500 (0:00:00.117) 0:00:52.737 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.070) 0:00:52.808 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.068) 0:00:52.876 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:36 -0500 (0:00:01.811) 0:00:54.688 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:38 -0500 (0:00:01.478) 0:00:56.167 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:38 -0500 (0:00:00.038) 0:00:56.205 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.043) 0:00:56.248 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.047) 0:00:56.296 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.053) 0:00:56.350 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.078) 0:00:56.428 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.080) 0:00:56.509 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.050) 0:00:56.559 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.078) 0:00:56.638 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.039) 0:00:56.677 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.038) 0:00:56.716 ******* skipping: [managed-node3] => { "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:38 -0500 (0:00:00.064) 0:00:56.781 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:38 -0500 (0:00:00.095) 0:00:56.876 ******* skipping: [managed-node3] => { "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:39 -0500 (0:00:00.127) 0:00:57.003 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:39 -0500 (0:00:00.866) 0:00:57.870 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpdqbj8o4t" } 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:40 -0500 (0:00:00.456) 0:00:58.326 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:41 -0500 (0:00:00.652) 0:00:58.979 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.062) 0:00:59.041 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:41 -0500 (0:00:00.063) 0:00:59.105 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:41 -0500 (0:00:00.067) 0:00:59.173 ******* skipping: [managed-node3] => {} 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:41 -0500 (0:00:00.115) 0:00:59.289 ******* ok: [managed-node3] => { "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:41 -0500 (0:00:00.517) 0:00:59.806 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:41 -0500 (0:00:00.073) 0:00:59.879 ******* 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:42 -0500 (0:00:00.087) 0:00:59.967 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:42 -0500 (0:00:00.093) 0:01:00.060 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:42 -0500 (0:00:00.069) 0:01:00.130 ******* skipping: [managed-node3] => { "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:42 -0500 (0:00:00.043) 0:01:00.173 ******* skipping: [managed-node3] => { "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:42 -0500 (0:00:00.036) 0:01:00.210 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:44 -0500 (0:00:01.748) 0:01:01.959 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:45 -0500 (0:00:01.474) 0:01:03.434 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:45 -0500 (0:00:00.055) 0:01:03.489 ******* skipping: [managed-node3] => { "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.054) 0:01:03.544 ******* skipping: [managed-node3] => { "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.053) 0:01:03.598 ******* skipping: [managed-node3] => { "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.056) 0:01:03.655 ******* skipping: [managed-node3] => { "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.051) 0:01:03.706 ******* skipping: [managed-node3] => { "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.043) 0:01:03.750 ******* skipping: [managed-node3] => { "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.054) 0:01:03.804 ******* skipping: [managed-node3] => { "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.105) 0:01:03.910 ******* skipping: [managed-node3] => { "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:46 -0500 (0:00:00.035) 0:01:03.946 ******* skipping: [managed-node3] => { "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:46 -0500 (0:00:00.036) 0:01:03.982 ******* skipping: [managed-node3] => { "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:46 -0500 (0:00:00.041) 0:01:04.023 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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.037) 0:01:04.061 ******* skipping: [managed-node3] => { "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.036) 0:01:04.097 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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.757) 0:01:04.855 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpgti90wtr" } 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:47 -0500 (0:00:00.494) 0:01:05.349 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:48 -0500 (0:00:00.776) 0:01:06.126 ******* skipping: [managed-node3] => { "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:48 -0500 (0:00:00.054) 0:01:06.180 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:48 -0500 (0:00:00.045) 0:01:06.226 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:48 -0500 (0:00:00.044) 0:01:06.271 ******* skipping: [managed-node3] => {} 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:48 -0500 (0:00:00.049) 0:01:06.320 ******* ok: [managed-node3] => { "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:13:48 -0500 (0:00:00.438) 0:01:06.759 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 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:13:48 -0500 (0:00:00.067) 0:01:06.826 ******* 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.070) 0:01:06.896 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:49 -0500 (0:00:00.087) 0:01:06.984 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:49 -0500 (0:00:00.069) 0:01:07.053 ******* skipping: [managed-node3] => { "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:49 -0500 (0:00:00.058) 0:01:07.111 ******* skipping: [managed-node3] => { "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:49 -0500 (0:00:00.059) 0:01:07.171 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:50 -0500 (0:00:01.723) 0:01:08.894 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:52 -0500 (0:00:01.438) 0:01:10.333 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:52 -0500 (0:00:00.040) 0:01:10.373 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.042) 0:01:10.416 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.081) 0:01:10.497 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.060) 0:01:10.558 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.075) 0:01:10.633 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.063) 0:01:10.697 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.077) 0:01:10.774 ******* skipping: [managed-node3] => { "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:52 -0500 (0:00:00.139) 0:01:10.913 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.045) 0:01:10.959 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.040) 0:01:11.000 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.039) 0:01:11.040 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:53 -0500 (0:00:00.037) 0:01:11.077 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.044) 0:01:11.121 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:53 -0500 (0:00:00.767) 0:01:11.889 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpmjkjzue5" } 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:54 -0500 (0:00:00.435) 0:01:12.324 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:55 -0500 (0:00:00.624) 0:01:12.948 ******* skipping: [managed-node3] => { "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:55 -0500 (0:00:00.048) 0:01:12.997 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:55 -0500 (0:00:00.058) 0:01:13.056 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:55 -0500 (0:00:00.054) 0:01:13.110 ******* skipping: [managed-node3] => {} 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:55 -0500 (0:00:00.035) 0:01:13.146 ******* ok: [managed-node3] => { "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:55 -0500 (0:00:00.476) 0:01:13.623 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 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:55 -0500 (0:00:00.131) 0:01:13.754 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:55 -0500 (0:00:00.082) 0:01:13.837 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731374028.0325856, "block_size": 4096, "blocks": 0, "ctime": 1731374028.0325856, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32194, "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": 1731374028.0325856, "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:56 -0500 (0:00:00.516) 0:01:14.354 ******* ok: [managed-node3] => { "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:13:56 -0500 (0:00:00.092) 0:01:14.446 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:56 -0500 (0:00:00.106) 0:01:14.552 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:56 -0500 (0:00:00.078) 0:01:14.631 ******* ok: [managed-node3] => { "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:13:57 -0500 (0:00:00.457) 0:01:15.088 ******* skipping: [managed-node3] => { "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:13:57 -0500 (0:00:00.084) 0:01:15.172 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018569", "end": "2024-11-11 20:13:57.651921", "rc": 1, "start": "2024-11-11 20:13:57.633352" } 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:13:57 -0500 (0:00:00.512) 0:01:15.685 ******* skipping: [managed-node3] => { "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:13:57 -0500 (0:00:00.077) 0:01:15.763 ******* skipping: [managed-node3] => { "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:57 -0500 (0:00:00.110) 0:01:15.874 ******* skipping: [managed-node3] => { "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:57 -0500 (0:00:00.047) 0:01:15.921 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.045) 0:01:15.967 ******* skipping: [managed-node3] => { "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:13:58 -0500 (0:00:00.042) 0:01:16.009 ******* ok: [managed-node3] => { "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:58 -0500 (0:00:00.038) 0:01:16.048 ******* 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:13:58 -0500 (0:00:00.032) 0:01:16.080 ******* ok: [managed-node3] => {} 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:13:58 -0500 (0:00:00.047) 0:01:16.128 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:58 -0500 (0:00:00.116) 0:01:16.244 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043101", "end": "2024-11-11 20:13:58.859977", "rc": 0, "start": "2024-11-11 20:13:58.816876" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:13:58 -0500 (0:00:00.630) 0:01:16.874 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:59 -0500 (0:00:00.103) 0:01:16.978 ******* ok: [managed-node3] => {} 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:13:59 -0500 (0:00:00.053) 0:01:17.032 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:59 -0500 (0:00:00.088) 0:01:17.121 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:59 -0500 (0:00:00.095) 0:01:17.216 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:59 -0500 (0:00:00.057) 0:01:17.274 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003030", "end": "2024-11-11 20:13:59.657214", "rc": 0, "start": "2024-11-11 20:13:59.654184" } STDOUT: bonding_masters eth0 lo rpltstbr 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:59 -0500 (0:00:00.382) 0:01:17.656 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:59 -0500 (0:00:00.040) 0:01:17.696 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:59 -0500 (0:00:00.035) 0:01:17.732 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 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:59 -0500 (0:00:00.073) 0:01:17.806 ******* 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:59 -0500 (0:00:00.087) 0:01:17.893 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:00 -0500 (0:00:00.114) 0:01:18.007 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:00 -0500 (0:00:00.076) 0:01:18.084 ******* skipping: [managed-node3] => { "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:00 -0500 (0:00:00.059) 0:01:18.144 ******* skipping: [managed-node3] => { "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:00 -0500 (0:00:00.057) 0:01:18.202 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:02 -0500 (0:00:01.800) 0:01:20.002 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:03 -0500 (0:00:01.631) 0:01:21.633 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:03 -0500 (0:00:00.045) 0:01:21.679 ******* skipping: [managed-node3] => { "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:03 -0500 (0:00:00.049) 0:01:21.728 ******* skipping: [managed-node3] => { "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:03 -0500 (0:00:00.046) 0:01:21.774 ******* skipping: [managed-node3] => { "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:03 -0500 (0:00:00.083) 0:01:21.858 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.068) 0:01:21.927 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.046) 0:01:21.973 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.056) 0:01:22.030 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.092) 0:01:22.122 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.052) 0:01:22.175 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.057) 0:01:22.233 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.069) 0:01:22.303 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:04 -0500 (0:00:00.058) 0:01:22.362 ******* skipping: [managed-node3] => { "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:04 -0500 (0:00:00.052) 0:01:22.414 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:05 -0500 (0:00:00.637) 0:01:23.051 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmprf9c1ggj" } 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:05 -0500 (0:00:00.439) 0:01:23.491 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:06 -0500 (0:00:00.512) 0:01:24.003 ******* skipping: [managed-node3] => { "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:06 -0500 (0:00:00.072) 0:01:24.076 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:06 -0500 (0:00:00.046) 0:01:24.122 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:06 -0500 (0:00:00.060) 0:01:24.183 ******* skipping: [managed-node3] => {} 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:06 -0500 (0:00:00.057) 0:01:24.241 ******* ok: [managed-node3] => { "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:06 -0500 (0:00:00.417) 0:01:24.658 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:06 -0500 (0:00:00.048) 0:01:24.706 ******* 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:06 -0500 (0:00:00.064) 0:01:24.771 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:06 -0500 (0:00:00.078) 0:01:24.849 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:07 -0500 (0:00:00.073) 0:01:24.923 ******* skipping: [managed-node3] => { "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:07 -0500 (0:00:00.044) 0:01:24.967 ******* skipping: [managed-node3] => { "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:07 -0500 (0:00:00.039) 0:01:25.007 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:08 -0500 (0:00:01.770) 0:01:26.777 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:10 -0500 (0:00:01.521) 0:01:28.298 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:10 -0500 (0:00:00.091) 0:01:28.390 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.087) 0:01:28.477 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.068) 0:01:28.546 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.074) 0:01:28.621 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.065) 0:01:28.687 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.075) 0:01:28.763 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.050) 0:01:28.813 ******* skipping: [managed-node3] => { "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:10 -0500 (0:00:00.080) 0:01:28.895 ******* skipping: [managed-node3] => { "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:11 -0500 (0:00:00.036) 0:01:28.931 ******* skipping: [managed-node3] => { "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:11 -0500 (0:00:00.036) 0:01:28.967 ******* skipping: [managed-node3] => { "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:11 -0500 (0:00:00.045) 0:01:29.013 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:11 -0500 (0:00:00.045) 0:01:29.058 ******* skipping: [managed-node3] => { "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:11 -0500 (0:00:00.055) 0:01:29.113 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:11 -0500 (0:00:00.614) 0:01:29.728 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpyd4dfzuy" } 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:12 -0500 (0:00:00.377) 0:01:30.106 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:12 -0500 (0:00:00.721) 0:01:30.828 ******* skipping: [managed-node3] => { "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:12 -0500 (0:00:00.068) 0:01:30.897 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:13 -0500 (0:00:00.039) 0:01:30.936 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:13 -0500 (0:00:00.038) 0:01:30.975 ******* skipping: [managed-node3] => {} 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:13 -0500 (0:00:00.034) 0:01:31.010 ******* ok: [managed-node3] => { "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:13 -0500 (0:00:00.368) 0:01:31.379 ******* 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:13 -0500 (0:00:00.076) 0:01:31.455 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:13 -0500 (0:00:00.070) 0:01:31.525 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:13 -0500 (0:00:00.044) 0:01:31.570 ******* skipping: [managed-node3] => { "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:13 -0500 (0:00:00.036) 0:01:31.606 ******* skipping: [managed-node3] => { "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:13 -0500 (0:00:00.036) 0:01:31.643 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:15 -0500 (0:00:01.648) 0:01:33.291 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:16 -0500 (0:00:01.497) 0:01:34.788 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:16 -0500 (0:00:00.056) 0:01:34.845 ******* skipping: [managed-node3] => { "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:16 -0500 (0:00:00.070) 0:01:34.916 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.058) 0:01:34.974 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.057) 0:01:35.032 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.076) 0:01:35.109 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.103) 0:01:35.212 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.086) 0:01:35.299 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.159) 0:01:35.459 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.051) 0:01:35.510 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.060) 0:01:35.571 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.078) 0:01:35.649 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:17 -0500 (0:00:00.074) 0:01:35.724 ******* skipping: [managed-node3] => { "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:17 -0500 (0:00:00.055) 0:01:35.779 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:18 -0500 (0:00:00.644) 0:01:36.423 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpzercf_fv" } 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:19 -0500 (0:00:00.514) 0:01:36.938 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:19 -0500 (0:00:00.666) 0:01:37.604 ******* skipping: [managed-node3] => { "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:19 -0500 (0:00:00.058) 0:01:37.663 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:19 -0500 (0:00:00.062) 0:01:37.725 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:19 -0500 (0:00:00.106) 0:01:37.832 ******* skipping: [managed-node3] => {} 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:19 -0500 (0:00:00.066) 0:01:37.898 ******* ok: [managed-node3] => { "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:20 -0500 (0:00:00.440) 0:01:38.339 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:20 -0500 (0:00:00.207) 0:01:38.546 ******* 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:20 -0500 (0:00:00.196) 0:01:38.742 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:20 -0500 (0:00:00.125) 0:01:38.868 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-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.062) 0:01:38.930 ******* skipping: [managed-node3] => { "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.054) 0:01:38.985 ******* skipping: [managed-node3] => { "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.043) 0:01:39.028 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:22 -0500 (0:00:01.674) 0:01:40.703 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:24 -0500 (0:00:01.477) 0:01:42.181 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:24 -0500 (0:00:00.039) 0:01:42.221 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.038) 0:01:42.260 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.039) 0:01:42.299 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.043) 0:01:42.343 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.061) 0:01:42.404 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.107) 0:01:42.512 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.048) 0:01:42.561 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.079) 0:01:42.640 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.038) 0:01:42.679 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.053) 0:01:42.732 ******* skipping: [managed-node3] => { "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:24 -0500 (0:00:00.056) 0:01:42.789 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:24 -0500 (0:00:00.078) 0:01:42.867 ******* skipping: [managed-node3] => { "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:25 -0500 (0:00:00.062) 0:01:42.929 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:25 -0500 (0:00:00.961) 0:01:43.891 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpgl3ohnfo" } 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.462) 0:01:44.354 ******* ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:27 -0500 (0:00:00.574) 0:01:44.928 ******* skipping: [managed-node3] => { "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.045) 0:01:44.973 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:27 -0500 (0:00:00.044) 0:01:45.017 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:27 -0500 (0:00:00.048) 0:01:45.066 ******* skipping: [managed-node3] => {} 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.078) 0:01:45.144 ******* ok: [managed-node3] => { "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:27 -0500 (0:00:00.411) 0:01:45.556 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 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:27 -0500 (0:00:00.113) 0:01:45.669 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:27 -0500 (0:00:00.099) 0:01:45.769 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:27 -0500 (0:00:00.064) 0:01:45.834 ******* ok: [managed-node3] => { "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:28 -0500 (0:00:00.493) 0:01:46.327 ******* skipping: [managed-node3] => { "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:28 -0500 (0:00:00.069) 0:01:46.396 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018885", "end": "2024-11-11 20:14:28.814151", "rc": 1, "start": "2024-11-11 20:14:28.795266" } 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:28 -0500 (0:00:00.422) 0:01:46.818 ******* skipping: [managed-node3] => { "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:28 -0500 (0:00:00.045) 0:01:46.864 ******* skipping: [managed-node3] => { "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:28 -0500 (0:00:00.046) 0:01:46.910 ******* skipping: [managed-node3] => { "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:29 -0500 (0:00:00.042) 0:01:46.953 ******* skipping: [managed-node3] => { "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:29 -0500 (0:00:00.046) 0:01:46.999 ******* skipping: [managed-node3] => { "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:29 -0500 (0:00:00.071) 0:01:47.071 ******* ok: [managed-node3] => { "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:29 -0500 (0:00:00.040) 0:01:47.111 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:29 -0500 (0:00:00.042) 0:01:47.154 ******* ok: [managed-node3] => {} 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:29 -0500 (0:00:00.037) 0:01:47.192 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:29 -0500 (0:00:00.065) 0:01:47.257 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043940", "end": "2024-11-11 20:14:29.693162", "rc": 0, "start": "2024-11-11 20:14:29.649222" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:29 -0500 (0:00:00.426) 0:01:47.683 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:14:29 -0500 (0:00:00.062) 0:01:47.746 ******* ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:14:29 -0500 (0:00:00.037) 0:01:47.783 ******* ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:14:29 -0500 (0:00:00.079) 0:01:47.862 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:14:30 -0500 (0:00:00.074) 0:01:47.937 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:14:30 -0500 (0:00:00.101) 0:01:48.038 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-11-11 20:14:30.532112", "rc": 0, "start": "2024-11-11 20:14:30.528574" } STDOUT: bonding_masters eth0 lo rpltstbr 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:30 -0500 (0:00:00.480) 0:01:48.519 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:30 -0500 (0:00:00.038) 0:01:48.557 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] 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:30 -0500 (0:00:00.037) 0:01:48.595 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:30 -0500 (0:00:00.078) 0:01:48.674 ******* 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:30 -0500 (0:00:00.064) 0:01:48.738 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:30 -0500 (0:00:00.071) 0:01:48.809 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:30 -0500 (0:00:00.045) 0:01:48.855 ******* skipping: [managed-node3] => { "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:30 -0500 (0:00:00.038) 0:01:48.893 ******* skipping: [managed-node3] => { "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:31 -0500 (0:00:00.036) 0:01:48.930 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:32 -0500 (0:00:01.662) 0:01:50.593 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:34 -0500 (0:00:01.468) 0:01:52.061 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:34 -0500 (0:00:00.043) 0:01:52.104 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.036) 0:01:52.141 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.048) 0:01:52.190 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.037) 0:01:52.228 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.074) 0:01:52.302 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.036) 0:01:52.339 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.045) 0:01:52.385 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.087) 0:01:52.473 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.054) 0:01:52.527 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.063) 0:01:52.591 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.071) 0:01:52.662 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:34 -0500 (0:00:00.067) 0:01:52.730 ******* skipping: [managed-node3] => { "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:34 -0500 (0:00:00.056) 0:01:52.787 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:35 -0500 (0:00:00.541) 0:01:53.328 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpagd3grz2" } 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:35 -0500 (0:00:00.378) 0:01:53.707 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:36 -0500 (0:00:00.511) 0:01:54.218 ******* skipping: [managed-node3] => { "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:36 -0500 (0:00:00.118) 0:01:54.337 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:36 -0500 (0:00:00.059) 0:01:54.396 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:36 -0500 (0:00:00.057) 0:01:54.454 ******* skipping: [managed-node3] => {} 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:36 -0500 (0:00:00.055) 0:01:54.509 ******* ok: [managed-node3] => { "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:37 -0500 (0:00:00.416) 0:01:54.925 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:37 -0500 (0:00:00.063) 0:01:54.989 ******* 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:37 -0500 (0:00:00.094) 0:01:55.084 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:37 -0500 (0:00:00.140) 0:01:55.224 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:37 -0500 (0:00:00.118) 0:01:55.343 ******* skipping: [managed-node3] => { "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:37 -0500 (0:00:00.073) 0:01:55.416 ******* skipping: [managed-node3] => { "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:37 -0500 (0:00:00.101) 0:01:55.518 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:39 -0500 (0:00:01.802) 0:01:57.320 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:40 -0500 (0:00:01.492) 0:01:58.813 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:40 -0500 (0:00:00.057) 0:01:58.871 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.055) 0:01:58.926 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.043) 0:01:58.970 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.043) 0:01:59.013 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.056) 0:01:59.070 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.039) 0:01:59.110 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.071) 0:01:59.181 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.073) 0:01:59.254 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.034) 0:01:59.289 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.036) 0:01:59.326 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.040) 0:01:59.366 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:41 -0500 (0:00:00.033) 0:01:59.400 ******* skipping: [managed-node3] => { "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:41 -0500 (0:00:00.034) 0:01:59.434 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:42 -0500 (0:00:00.526) 0:01:59.962 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmp8hsx0c_0" } 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:42 -0500 (0:00:00.377) 0:02:00.339 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:43 -0500 (0:00:00.820) 0:02:01.160 ******* skipping: [managed-node3] => { "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:43 -0500 (0:00:00.053) 0:02:01.213 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:43 -0500 (0:00:00.102) 0:02:01.315 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:43 -0500 (0:00:00.060) 0:02:01.376 ******* skipping: [managed-node3] => {} 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:43 -0500 (0:00:00.056) 0:02:01.432 ******* ok: [managed-node3] => { "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:14:43 -0500 (0:00:00.411) 0:02:01.843 ******* 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:43 -0500 (0:00:00.076) 0:02:01.920 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:44 -0500 (0:00:00.097) 0:02:02.017 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:44 -0500 (0:00:00.044) 0:02:02.062 ******* skipping: [managed-node3] => { "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:44 -0500 (0:00:00.035) 0:02:02.097 ******* skipping: [managed-node3] => { "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:44 -0500 (0:00:00.035) 0:02:02.133 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:45 -0500 (0:00:01.660) 0:02:03.793 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:47 -0500 (0:00:01.439) 0:02:05.232 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:47 -0500 (0:00:00.053) 0:02:05.286 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.064) 0:02:05.351 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.060) 0:02:05.411 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.059) 0:02:05.471 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.068) 0:02:05.540 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.055) 0:02:05.596 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.088) 0:02:05.684 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.089) 0:02:05.774 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.046) 0:02:05.820 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.038) 0:02:05.859 ******* skipping: [managed-node3] => { "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:47 -0500 (0:00:00.043) 0:02:05.902 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:48 -0500 (0:00:00.035) 0:02:05.938 ******* skipping: [managed-node3] => { "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:48 -0500 (0:00:00.040) 0:02:05.979 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:48 -0500 (0:00:00.618) 0:02:06.598 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmph4qwlb18" } 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:49 -0500 (0:00:00.398) 0:02:06.996 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:49 -0500 (0:00:00.565) 0:02:07.562 ******* skipping: [managed-node3] => { "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:49 -0500 (0:00:00.036) 0:02:07.598 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:49 -0500 (0:00:00.039) 0:02:07.638 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:49 -0500 (0:00:00.038) 0:02:07.677 ******* skipping: [managed-node3] => {} 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:49 -0500 (0:00:00.074) 0:02:07.751 ******* ok: [managed-node3] => { "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:50 -0500 (0:00:00.366) 0:02:08.118 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:50 -0500 (0:00:00.067) 0:02:08.185 ******* 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:50 -0500 (0:00:00.060) 0:02:08.246 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:50 -0500 (0:00:00.070) 0:02:08.317 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:50 -0500 (0:00:00.045) 0:02:08.362 ******* skipping: [managed-node3] => { "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:50 -0500 (0:00:00.037) 0:02:08.400 ******* skipping: [managed-node3] => { "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:50 -0500 (0:00:00.037) 0:02:08.437 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:52 -0500 (0:00:01.640) 0:02:10.077 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:53 -0500 (0:00:01.561) 0:02:11.639 ******* ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:53 -0500 (0:00:00.062) 0:02:11.701 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.065) 0:02:11.767 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.068) 0:02:11.836 ******* skipping: [managed-node3] => { "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:53 -0500 (0:00:00.065) 0:02:11.901 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.097) 0:02:11.998 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.087) 0:02:12.086 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.109) 0:02:12.196 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.109) 0:02:12.305 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.066) 0:02:12.371 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.060) 0:02:12.432 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.073) 0:02:12.506 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:54 -0500 (0:00:00.046) 0:02:12.552 ******* skipping: [managed-node3] => { "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:54 -0500 (0:00:00.065) 0:02:12.617 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : 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:55 -0500 (0:00:00.658) 0:02:13.276 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49280gx8y2m42/tmpdzqwwo1p" } 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:55 -0500 (0:00:00.552) 0:02:13.828 ******* ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:56 -0500 (0:00:00.557) 0:02:14.385 ******* skipping: [managed-node3] => { "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:56 -0500 (0:00:00.036) 0:02:14.422 ******* ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:56 -0500 (0:00:00.037) 0:02:14.459 ******* ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:56 -0500 (0:00:00.045) 0:02:14.504 ******* skipping: [managed-node3] => {} 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:56 -0500 (0:00:00.057) 0:02:14.562 ******* ok: [managed-node3] => { "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:57 -0500 (0:00:00.398) 0:02:14.960 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 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:57 -0500 (0:00:00.099) 0:02:15.059 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:57 -0500 (0:00:00.104) 0:02:15.164 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:57 -0500 (0:00:00.060) 0:02:15.224 ******* ok: [managed-node3] => { "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:57 -0500 (0:00:00.504) 0:02:15.729 ******* skipping: [managed-node3] => { "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:57 -0500 (0:00:00.041) 0:02:15.770 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017751", "end": "2024-11-11 20:14:58.167947", "rc": 1, "start": "2024-11-11 20:14:58.150196" } 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:58 -0500 (0:00:00.435) 0:02:16.205 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.058) 0:02:16.264 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.061) 0:02:16.326 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.042) 0:02:16.368 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.045) 0:02:16.414 ******* skipping: [managed-node3] => { "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:58 -0500 (0:00:00.082) 0:02:16.496 ******* ok: [managed-node3] => { "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:14:58 -0500 (0:00:00.040) 0:02:16.536 ******* [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-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.883637", "end": "2024-11-11 20:14:59.802786", "rc": 0, "start": "2024-11-11 20:14:58.919149" } 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:14:59 -0500 (0:00:01.261) 0:02:17.797 ******* ok: [managed-node3] => { "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:14:59 -0500 (0:00:00.054) 0:02:17.851 ******* ok: [managed-node3] => { "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:14:59 -0500 (0:00:00.057) 0:02:17.909 ******* skipping: [managed-node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:15:00 -0500 (0:00:00.082) 0:02:17.992 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:15:00 -0500 (0:00:00.078) 0:02:18.070 ******* included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 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:00 -0500 (0:00:00.144) 0:02:18.215 ******* ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042417", "end": "2024-11-11 20:15:00.678980", "rc": 0, "start": "2024-11-11 20:15:00.636563" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:00 -0500 (0:00:00.455) 0:02:18.670 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008456", "end": "2024-11-11 20:15:01.079799", "rc": 0, "start": "2024-11-11 20:15:01.071343" } 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:7b:29:b6:26:9d brd ff:ff:ff:ff:ff:ff inet 10.31.43.88/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2474sec preferred_lft 2474sec inet6 fe80::c7b:29ff:feb6:269d/64 scope link valid_lft forever preferred_lft forever 40: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether aa:1b:44:1c:d4:e7 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.88 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.88 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 11 November 2024 20:15:01 -0500 (0:00:00.404) 0:02:19.075 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.137372", "end": "2024-11-11 20:15:01.661257", "rc": 0, "start": "2024-11-11 20:15:01.523885" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.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:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 4066 0 --:--:-- --:--:-- --:--:-- 4066 % 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 7275 0 --:--:-- --:--:-- --:--:-- 7275 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Monday 11 November 2024 20:15:01 -0500 (0:00:00.591) 0:02:19.667 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.96s /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.88s /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.81s /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.80s /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.80s /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.80s /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.77s /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.76s /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.75s /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.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.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.66s /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.66s /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.65s /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.63s /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.59s /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.58s /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.57s /tmp/collections-94Z/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26