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-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 21 October 2024 07:20:46 -0400 (0:00:00.033) 0:00:00.033 ******** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 21 October 2024 07:20:47 -0400 (0:00:00.958) 0:00:00.991 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 21 October 2024 07:20:47 -0400 (0:00:00.036) 0:00:01.028 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 21 October 2024 07:20:48 -0400 (0:00:00.519) 0:00:01.547 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 21 October 2024 07:20:49 -0400 (0:00:00.698) 0:00:02.246 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 21 October 2024 07:20:49 -0400 (0:00:00.047) 0:00:02.293 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 21 October 2024 07:20:49 -0400 (0:00:00.061) 0:00:02.354 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 21 October 2024 07:20:49 -0400 (0:00:00.106) 0:00:02.460 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 21 October 2024 07:20:49 -0400 (0:00:00.502) 0:00:02.963 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 21 October 2024 07:20:49 -0400 (0:00:00.022) 0:00:02.986 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 21 October 2024 07:20:49 -0400 (0:00:00.021) 0:00:03.007 ******** [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.234076", "end": "2024-10-21 07:20:50.435812", "rc": 0, "start": "2024-10-21 07:20:50.201736" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 21 October 2024 07:20:50 -0400 (0:00:00.632) 0:00:03.640 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 21 October 2024 07:20:50 -0400 (0:00:00.041) 0:00:03.682 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 21 October 2024 07:20:50 -0400 (0:00:00.031) 0:00:03.713 ******** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 21 October 2024 07:20:51 -0400 (0:00:00.683) 0:00:04.397 ******** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 21 October 2024 07:20:51 -0400 (0:00:00.018) 0:00:04.415 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:20:51 -0400 (0:00:00.029) 0:00:04.445 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:20:51 -0400 (0:00:00.020) 0:00:04.465 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:20:51 -0400 (0:00:00.067) 0:00:04.533 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:20:51 -0400 (0:00:00.048) 0:00:04.581 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:20:51 -0400 (0:00:00.034) 0:00:04.616 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2024-10-21 07:20:51.869125", "rc": 0, "start": "2024-10-21 07:20:51.866190" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:20:51 -0400 (0:00:00.446) 0:00:05.062 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:20:51 -0400 (0:00:00.034) 0:00:05.096 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:20:51 -0400 (0:00:00.035) 0:00:05.132 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 07:20:52 -0400 (0:00:00.065) 0:00:05.198 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008122", "end": "2024-10-21 07:20:52.405661", "rc": 1, "start": "2024-10-21 07:20:52.397539" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:20:52 -0400 (0:00:00.394) 0:00:05.592 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:20:52 -0400 (0:00:00.027) 0:00:05.620 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:20:52 -0400 (0:00:00.393) 0:00:06.014 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:20:52 -0400 (0:00:00.044) 0:00:06.058 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:20:52 -0400 (0:00:00.055) 0:00:06.114 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:20:53 -0400 (0:00:00.172) 0:00:06.286 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:20:53 -0400 (0:00:00.064) 0:00:06.350 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:20:53 -0400 (0:00:00.032) 0:00:06.383 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:20:53 -0400 (0:00:00.031) 0:00:06.415 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:20:53 -0400 (0:00:00.029) 0:00:06.444 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:20:55 -0400 (0:00:01.913) 0:00:08.358 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:20:57 -0400 (0:00:01.783) 0:00:10.142 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:20:57 -0400 (0:00:00.045) 0:00:10.188 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:20:57 -0400 (0:00:00.062) 0:00:10.251 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:20:57 -0400 (0:00:00.061) 0:00:10.312 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:20:57 -0400 (0:00:00.054) 0:00:10.366 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:20:57 -0400 (0:00:00.064) 0:00:10.431 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:20:57 -0400 (0:00:00.098) 0:00:10.529 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:20:57 -0400 (0:00:00.051) 0:00:10.581 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:20:57 -0400 (0:00:00.075) 0:00:10.657 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:20:57 -0400 (0:00:00.038) 0:00:10.695 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:20:57 -0400 (0:00:00.037) 0:00:10.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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:20:57 -0400 (0:00:00.053) 0:00:10.786 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:20:57 -0400 (0:00:00.083) 0:00:10.869 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:20:57 -0400 (0:00:00.065) 0:00:10.934 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:20:58 -0400 (0:00:01.119) 0:00:12.054 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpg44yj4m_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:20:59 -0400 (0:00:00.374) 0:00:12.428 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:20:59 -0400 (0:00:00.683) 0:00:13.112 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:00 -0400 (0:00:00.168) 0:00:13.281 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:00 -0400 (0:00:00.058) 0:00:13.339 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:00 -0400 (0:00:00.059) 0:00:13.399 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:00 -0400 (0:00:00.060) 0:00:13.460 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:21:00 -0400 (0:00:00.443) 0:00:13.903 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:21:00 -0400 (0:00:00.048) 0:00:13.952 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:21:00 -0400 (0:00:00.068) 0:00:14.021 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:21:00 -0400 (0:00:00.064) 0:00:14.086 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:21:00 -0400 (0:00:00.037) 0:00:14.123 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729509659.8996785, "block_size": 4096, "blocks": 8, "ctime": 1729509659.8996785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729509659.8996785, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:21:01 -0400 (0:00:00.369) 0:00:14.493 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:21:01 -0400 (0:00:00.041) 0:00:14.534 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018169", "end": "2024-10-21 07:21:01.868643", "rc": 1, "start": "2024-10-21 07:21:01.850474" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:21:02 -0400 (0:00:00.702) 0:00:15.237 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:21:02 -0400 (0:00:00.061) 0:00:15.298 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002778", "end": "2024-10-21 07:21:02.704832", "rc": 0, "start": "2024-10-21 07:21:02.702054" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:21:02 -0400 (0:00:00.665) 0:00:15.964 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:21:02 -0400 (0:00:00.065) 0:00:16.029 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003266", "end": "2024-10-21 07:21:03.217872", "rc": 0, "start": "2024-10-21 07:21:03.214606" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:21:03 -0400 (0:00:00.425) 0:00:16.454 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:21:03 -0400 (0:00:00.074) 0:00:16.528 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:21:03 -0400 (0:00:00.107) 0:00:16.636 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:21:03 -0400 (0:00:00.103) 0:00:16.739 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:21:03 -0400 (0:00:00.064) 0:00:16.803 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:21:03 -0400 (0:00:00.074) 0:00:16.878 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:21:03 -0400 (0:00:00.062) 0:00:16.940 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:21:03 -0400 (0:00:00.149) 0:00:17.090 ******** 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.034243", "end": "2024-10-21 07:21:04.332640", "rc": 1, "start": "2024-10-21 07:21:04.298397" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 21 October 2024 07:21:04 -0400 (0:00:00.482) 0:00:17.572 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:04 -0400 (0:00:00.155) 0:00:17.728 ******** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:04 -0400 (0:00:00.091) 0:00:17.819 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:04 -0400 (0:00:00.197) 0:00:18.016 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:04 -0400 (0:00:00.096) 0:00:18.112 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:05 -0400 (0:00:00.100) 0:00:18.213 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002946", "end": "2024-10-21 07:21:05.409855", "rc": 0, "start": "2024-10-21 07:21:05.406909" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:05 -0400 (0:00:00.407) 0:00:18.620 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:05 -0400 (0:00:00.046) 0:00:18.667 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:05 -0400 (0:00:00.038) 0:00:18.706 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 21 October 2024 07:21:05 -0400 (0:00:00.073) 0:00:18.780 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005480", "end": "2024-10-21 07:21:05.966381", "rc": 1, "start": "2024-10-21 07:21:05.960901" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:21:06 -0400 (0:00:00.397) 0:00:19.177 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:06 -0400 (0:00:00.181) 0:00:19.359 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:21:06 -0400 (0:00:00.423) 0:00:19.782 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:06 -0400 (0:00:00.041) 0:00:19.824 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 21 October 2024 07:21:06 -0400 (0:00:00.094) 0:00:19.918 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:06 -0400 (0:00:00.096) 0:00:20.015 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:06 -0400 (0:00:00.070) 0:00:20.086 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:07 -0400 (0:00:00.052) 0:00:20.138 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:07 -0400 (0:00:00.050) 0:00:20.189 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:07 -0400 (0:00:00.103) 0:00:20.293 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:08 -0400 (0:00:01.812) 0:00:22.105 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:10 -0400 (0:00:01.557) 0:00:23.662 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:10 -0400 (0:00:00.140) 0:00:23.803 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:10 -0400 (0:00:00.114) 0:00:23.917 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:10 -0400 (0:00:00.081) 0:00:23.999 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:10 -0400 (0:00:00.084) 0:00:24.083 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:11 -0400 (0:00:00.219) 0:00:24.303 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:11 -0400 (0:00:00.116) 0:00:24.419 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:11 -0400 (0:00:00.094) 0:00:24.514 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:11 -0400 (0:00:00.149) 0:00:24.663 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:11 -0400 (0:00:00.106) 0:00:24.770 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:11 -0400 (0:00:00.082) 0:00:24.853 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:11 -0400 (0:00:00.069) 0:00:24.923 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:11 -0400 (0:00:00.108) 0:00:25.031 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:11 -0400 (0:00:00.094) 0:00:25.126 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:12 -0400 (0:00:00.698) 0:00:25.825 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpsw5_53hd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:13 -0400 (0:00:00.479) 0:00:26.305 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:13 -0400 (0:00:00.586) 0:00:26.891 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:13 -0400 (0:00:00.063) 0:00:26.954 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:13 -0400 (0:00:00.092) 0:00:27.046 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:13 -0400 (0:00:00.049) 0:00:27.095 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:14 -0400 (0:00:00.041) 0:00:27.137 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 21 October 2024 07:21:14 -0400 (0:00:00.401) 0:00:27.539 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:21:14 -0400 (0:00:00.040) 0:00:27.579 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 21 October 2024 07:21:14 -0400 (0:00:00.086) 0:00:27.666 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:14 -0400 (0:00:00.063) 0:00:27.730 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 21 October 2024 07:21:15 -0400 (0:00:00.477) 0:00:28.208 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:21:15 -0400 (0:00:00.050) 0:00:28.259 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:21:15 -0400 (0:00:00.091) 0:00:28.350 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:21:15 -0400 (0:00:00.057) 0:00:28.407 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729509673.630718, "block_size": 4096, "blocks": 8, "ctime": 1729509673.630718, "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": 1729509673.630718, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:21:15 -0400 (0:00:00.419) 0:00:28.827 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:21:15 -0400 (0:00:00.062) 0:00:28.889 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017219", "end": "2024-10-21 07:21:16.077764", "rc": 1, "start": "2024-10-21 07:21:16.060545" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:21:16 -0400 (0:00:00.422) 0:00:29.312 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:21:16 -0400 (0:00:00.092) 0:00:29.405 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003813", "end": "2024-10-21 07:21:17.849334", "rc": 0, "start": "2024-10-21 07:21:16.845521" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:21:17 -0400 (0:00:01.660) 0:00:31.065 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:21:18 -0400 (0:00:00.073) 0:00:31.139 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003129", "end": "2024-10-21 07:21:18.323958", "rc": 0, "start": "2024-10-21 07:21:18.320829" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:21:18 -0400 (0:00:00.397) 0:00:31.536 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:21:18 -0400 (0:00:00.045) 0:00:31.582 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:21:18 -0400 (0:00:00.040) 0:00:31.622 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:21:18 -0400 (0:00:00.076) 0:00:31.699 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:21:18 -0400 (0:00:00.038) 0:00:31.738 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:21:18 -0400 (0:00:00.034) 0:00:31.772 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:21:18 -0400 (0:00:00.054) 0:00:31.827 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:21:18 -0400 (0:00:00.117) 0:00:31.945 ******** 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.035069", "end": "2024-10-21 07:21:19.187365", "rc": 1, "start": "2024-10-21 07:21:19.152296" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 21 October 2024 07:21:19 -0400 (0:00:00.463) 0:00:32.408 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:19 -0400 (0:00:00.091) 0:00:32.500 ******** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:19 -0400 (0:00:00.069) 0:00:32.569 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:19 -0400 (0:00:00.154) 0:00:32.724 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:19 -0400 (0:00:00.133) 0:00:32.858 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:19 -0400 (0:00:00.111) 0:00:32.969 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003482", "end": "2024-10-21 07:21:20.212696", "rc": 0, "start": "2024-10-21 07:21:20.209214" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:20 -0400 (0:00:00.483) 0:00:33.452 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:20 -0400 (0:00:00.076) 0:00:33.529 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:20 -0400 (0:00:00.080) 0:00:33.609 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:21:20 -0400 (0:00:00.146) 0:00:33.756 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:20 -0400 (0:00:00.121) 0:00:33.877 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:20 -0400 (0:00:00.108) 0:00:33.986 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:20 -0400 (0:00:00.058) 0:00:34.044 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:20 -0400 (0:00:00.045) 0:00:34.089 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:20 -0400 (0:00:00.038) 0:00:34.128 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:22 -0400 (0:00:01.724) 0:00:35.852 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:24 -0400 (0:00:01.520) 0:00:37.372 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:24 -0400 (0:00:00.051) 0:00:37.423 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:24 -0400 (0:00:00.052) 0:00:37.476 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:24 -0400 (0:00:00.061) 0:00:37.538 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:24 -0400 (0:00:00.086) 0:00:37.624 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:24 -0400 (0:00:00.067) 0:00:37.692 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:24 -0400 (0:00:00.060) 0:00:37.753 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:24 -0400 (0:00:00.085) 0:00:37.838 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:24 -0400 (0:00:00.232) 0:00:38.071 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:25 -0400 (0:00:00.064) 0:00:38.136 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:25 -0400 (0:00:00.061) 0:00:38.197 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:25 -0400 (0:00:00.069) 0:00:38.267 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:25 -0400 (0:00:00.051) 0:00:38.319 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:25 -0400 (0:00:00.045) 0:00:38.364 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:25 -0400 (0:00:00.596) 0:00:38.961 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpdre1g67a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:26 -0400 (0:00:00.471) 0:00:39.432 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:26 -0400 (0:00:00.532) 0:00:39.965 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:26 -0400 (0:00:00.055) 0:00:40.021 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:26 -0400 (0:00:00.054) 0:00:40.075 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:26 -0400 (0:00:00.044) 0:00:40.120 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:27 -0400 (0:00:00.065) 0:00:40.185 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:21:27 -0400 (0:00:00.515) 0:00:40.700 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:27 -0400 (0:00:00.059) 0:00:40.760 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:21:27 -0400 (0:00:00.147) 0:00:40.908 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:28 -0400 (0:00:00.233) 0:00:41.141 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:28 -0400 (0:00:00.164) 0:00:41.305 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:28 -0400 (0:00:00.065) 0:00:41.371 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:28 -0400 (0:00:00.047) 0:00:41.419 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:28 -0400 (0:00:00.042) 0:00:41.461 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:30 -0400 (0:00:01.774) 0:00:43.235 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:31 -0400 (0:00:01.605) 0:00:44.840 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:31 -0400 (0:00:00.046) 0:00:44.887 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:31 -0400 (0:00:00.038) 0:00:44.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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:31 -0400 (0:00:00.038) 0:00:44.964 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:31 -0400 (0:00:00.038) 0:00:45.002 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:31 -0400 (0:00:00.052) 0:00:45.055 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:31 -0400 (0:00:00.048) 0:00:45.103 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:32 -0400 (0:00:00.074) 0:00:45.178 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:32 -0400 (0:00:00.153) 0:00:45.331 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:32 -0400 (0:00:00.164) 0:00:45.496 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:32 -0400 (0:00:00.117) 0:00:45.613 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:32 -0400 (0:00:00.080) 0:00:45.693 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:32 -0400 (0:00:00.096) 0:00:45.790 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:32 -0400 (0:00:00.109) 0:00:45.899 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:33 -0400 (0:00:00.586) 0:00:46.486 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp6xbf7pgm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:33 -0400 (0:00:00.421) 0:00:46.908 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:34 -0400 (0:00:00.830) 0:00:47.738 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:34 -0400 (0:00:00.059) 0:00:47.798 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:34 -0400 (0:00:00.086) 0:00:47.884 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:34 -0400 (0:00:00.091) 0:00:47.976 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:34 -0400 (0:00:00.057) 0:00:48.033 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:21:35 -0400 (0:00:00.436) 0:00:48.469 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:21:35 -0400 (0:00:00.097) 0:00:48.566 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:21:35 -0400 (0:00:00.100) 0:00:48.667 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729509694.3873038, "block_size": 4096, "blocks": 0, "ctime": 1729509694.3873038, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31889, "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": 1729509694.3873038, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:21:35 -0400 (0:00:00.397) 0:00:49.065 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 21 October 2024 07:21:35 -0400 (0:00:00.042) 0:00:49.107 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:21:36 -0400 (0:00:00.088) 0:00:49.196 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:21:36 -0400 (0:00:00.069) 0:00:49.265 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729509694.2317777, "block_size": 4096, "blocks": 8, "ctime": 1729509686.732756, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301238, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729509686.732756, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:21:36 -0400 (0:00:00.679) 0:00:49.945 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:21:36 -0400 (0:00:00.064) 0:00:50.010 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017720", "end": "2024-10-21 07:21:37.241836", "rc": 1, "start": "2024-10-21 07:21:37.224116" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:21:37 -0400 (0:00:00.502) 0:00:50.513 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:21:37 -0400 (0:00:00.140) 0:00:50.653 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003842", "end": "2024-10-21 07:21:38.956837", "rc": 0, "start": "2024-10-21 07:21:37.952995" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:21:39 -0400 (0:00:01.579) 0:00:52.233 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:21:39 -0400 (0:00:00.074) 0:00:52.308 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003913", "end": "2024-10-21 07:21:40.486118", "rc": 0, "start": "2024-10-21 07:21:39.482205" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:21:40 -0400 (0:00:01.394) 0:00:53.702 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 21 October 2024 07:21:40 -0400 (0:00:00.067) 0:00:53.770 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 21 October 2024 07:21:40 -0400 (0:00:00.065) 0:00:53.836 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 21 October 2024 07:21:40 -0400 (0:00:00.079) 0:00:53.916 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:21:40 -0400 (0:00:00.064) 0:00:53.980 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:21:40 -0400 (0:00:00.062) 0:00:54.043 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:21:41 -0400 (0:00:00.129) 0:00:54.173 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:21:41 -0400 (0:00:00.114) 0:00:54.288 ******** 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.042075", "end": "2024-10-21 07:21:41.548839", "rc": 0, "start": "2024-10-21 07:21:41.506764" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 21 October 2024 07:21:41 -0400 (0:00:00.466) 0:00:54.754 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:21:41 -0400 (0:00:00.064) 0:00:54.819 ******** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:21:41 -0400 (0:00:00.061) 0:00:54.881 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:21:41 -0400 (0:00:00.090) 0:00:54.971 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:21:41 -0400 (0:00:00.061) 0:00:55.032 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:21:41 -0400 (0:00:00.058) 0:00:55.090 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003417", "end": "2024-10-21 07:21:42.262221", "rc": 0, "start": "2024-10-21 07:21:42.258804" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:21:42 -0400 (0:00:00.413) 0:00:55.504 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:21:42 -0400 (0:00:00.058) 0:00:55.563 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:21:42 -0400 (0:00:00.109) 0:00:55.673 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:21:42 -0400 (0:00:00.108) 0:00:55.781 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:42 -0400 (0:00:00.109) 0:00:55.891 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:42 -0400 (0:00:00.163) 0:00:56.054 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:43 -0400 (0:00:00.094) 0:00:56.149 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:43 -0400 (0:00:00.080) 0:00:56.230 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:43 -0400 (0:00:00.066) 0:00:56.296 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:44 -0400 (0:00:01.755) 0:00:58.052 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:46 -0400 (0:00:01.638) 0:00:59.691 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:46 -0400 (0:00:00.109) 0:00:59.801 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:46 -0400 (0:00:00.049) 0:00:59.850 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:46 -0400 (0:00:00.054) 0:00:59.905 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:46 -0400 (0:00:00.059) 0:00:59.965 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:46 -0400 (0:00:00.058) 0:01:00.024 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:46 -0400 (0:00:00.037) 0:01:00.061 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:46 -0400 (0:00:00.046) 0:01:00.108 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:47 -0400 (0:00:00.091) 0:01:00.200 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:47 -0400 (0:00:00.056) 0:01:00.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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:47 -0400 (0:00:00.094) 0:01:00.351 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:47 -0400 (0:00:00.160) 0:01:00.511 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:47 -0400 (0:00:00.067) 0:01:00.579 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:47 -0400 (0:00:00.132) 0:01:00.712 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:48 -0400 (0:00:00.702) 0:01:01.415 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp2vnugamu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:48 -0400 (0:00:00.509) 0:01:01.924 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:49 -0400 (0:00:00.675) 0:01:02.600 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:49 -0400 (0:00:00.074) 0:01:02.674 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:49 -0400 (0:00:00.063) 0:01:02.738 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:49 -0400 (0:00:00.063) 0:01:02.801 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:49 -0400 (0:00:00.058) 0:01:02.860 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:21:50 -0400 (0:00:00.423) 0:01:03.283 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:21:50 -0400 (0:00:00.051) 0:01:03.335 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:50 -0400 (0:00:00.117) 0:01:03.452 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:50 -0400 (0:00:00.073) 0:01:03.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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:50 -0400 (0:00:00.045) 0:01:03.571 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:50 -0400 (0:00:00.038) 0:01:03.610 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:50 -0400 (0:00:00.037) 0:01:03.648 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:52 -0400 (0:00:01.587) 0:01:05.235 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:21:53 -0400 (0:00:01.703) 0:01:06.938 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:21:53 -0400 (0:00:00.052) 0:01:06.991 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:21:53 -0400 (0:00:00.054) 0:01:07.046 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:21:53 -0400 (0:00:00.055) 0:01:07.101 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:21:54 -0400 (0:00:00.051) 0:01:07.153 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:21:54 -0400 (0:00:00.045) 0:01:07.199 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:21:54 -0400 (0:00:00.037) 0:01:07.236 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:21:54 -0400 (0:00:00.044) 0:01:07.280 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:21:54 -0400 (0:00:00.072) 0:01:07.353 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:21:54 -0400 (0:00:00.039) 0:01:07.392 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:21:54 -0400 (0:00:00.071) 0:01:07.464 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:21:54 -0400 (0:00:00.099) 0:01:07.564 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:21:54 -0400 (0:00:00.059) 0:01:07.624 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:21:54 -0400 (0:00:00.199) 0:01:07.824 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:21:55 -0400 (0:00:00.663) 0:01:08.487 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpyfkrc081" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:21:55 -0400 (0:00:00.505) 0:01:08.993 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:21:56 -0400 (0:00:00.887) 0:01:09.880 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:21:56 -0400 (0:00:00.043) 0:01:09.924 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:21:56 -0400 (0:00:00.075) 0:01:09.999 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:21:56 -0400 (0:00:00.046) 0:01:10.045 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:21:56 -0400 (0:00:00.039) 0:01:10.085 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:21:57 -0400 (0:00:00.361) 0:01:10.447 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 07:21:57 -0400 (0:00:00.067) 0:01:10.514 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:21:57 -0400 (0:00:00.124) 0:01:10.638 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:21:57 -0400 (0:00:00.070) 0:01:10.709 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:21:57 -0400 (0:00:00.047) 0:01:10.756 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:21:57 -0400 (0:00:00.036) 0:01:10.793 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:21:57 -0400 (0:00:00.038) 0:01:10.831 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:21:59 -0400 (0:00:01.589) 0:01:12.421 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:00 -0400 (0:00:01.576) 0:01:13.997 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:00 -0400 (0:00:00.059) 0:01:14.057 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:00 -0400 (0:00:00.063) 0:01:14.121 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:01 -0400 (0:00:00.077) 0:01:14.198 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:01 -0400 (0:00:00.052) 0:01:14.250 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:01 -0400 (0:00:00.095) 0:01:14.346 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:01 -0400 (0:00:00.060) 0:01:14.406 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:01 -0400 (0:00:00.081) 0:01:14.488 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:01 -0400 (0:00:00.136) 0:01:14.624 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:01 -0400 (0:00:00.043) 0:01:14.668 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:01 -0400 (0:00:00.056) 0:01:14.724 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:01 -0400 (0:00:00.058) 0:01:14.783 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:01 -0400 (0:00:00.043) 0:01:14.827 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:01 -0400 (0:00:00.038) 0:01:14.865 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:02 -0400 (0:00:00.704) 0:01:15.570 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmprboosww5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:02 -0400 (0:00:00.475) 0:01:16.045 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:03 -0400 (0:00:00.586) 0:01:16.632 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:03 -0400 (0:00:00.063) 0:01:16.695 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:03 -0400 (0:00:00.060) 0:01:16.756 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:03 -0400 (0:00:00.067) 0:01:16.823 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:03 -0400 (0:00:00.048) 0:01:16.872 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:22:04 -0400 (0:00:00.458) 0:01:17.330 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 21 October 2024 07:22:04 -0400 (0:00:00.118) 0:01:17.449 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 21 October 2024 07:22:04 -0400 (0:00:00.098) 0:01:17.548 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729509716.5752857, "block_size": 4096, "blocks": 0, "ctime": 1729509716.5752857, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32020, "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": 1729509716.5752857, "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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 21 October 2024 07:22:04 -0400 (0:00:00.546) 0:01:18.094 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:22:05 -0400 (0:00:00.089) 0:01:18.184 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:22:05 -0400 (0:00:00.121) 0:01:18.305 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:22:05 -0400 (0:00:00.074) 0:01:18.380 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:22:05 -0400 (0:00:00.511) 0:01:18.891 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:22:05 -0400 (0:00:00.042) 0:01:18.934 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017820", "end": "2024-10-21 07:22:06.142071", "rc": 1, "start": "2024-10-21 07:22:06.124251" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:22:06 -0400 (0:00:00.476) 0:01:19.410 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:22:06 -0400 (0:00:00.092) 0:01:19.503 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:22:06 -0400 (0:00:00.066) 0:01:19.569 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:22:06 -0400 (0:00:00.054) 0:01:19.623 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:22:06 -0400 (0:00:00.046) 0:01:19.670 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:22:06 -0400 (0:00:00.040) 0:01:19.711 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:22:06 -0400 (0:00:00.040) 0:01:19.751 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:22:06 -0400 (0:00:00.080) 0:01:19.831 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:22:06 -0400 (0:00:00.056) 0:01:19.888 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:22:06 -0400 (0:00:00.119) 0:01:20.008 ******** 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.047025", "end": "2024-10-21 07:22:07.510653", "rc": 0, "start": "2024-10-21 07:22:07.463628" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 21 October 2024 07:22:07 -0400 (0:00:00.759) 0:01:20.768 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:22:07 -0400 (0:00:00.097) 0:01:20.865 ******** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:22:07 -0400 (0:00:00.075) 0:01:20.941 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:22:07 -0400 (0:00:00.122) 0:01:21.064 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:22:08 -0400 (0:00:00.118) 0:01:21.183 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:22:08 -0400 (0:00:00.072) 0:01:21.255 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002985", "end": "2024-10-21 07:22:08.432115", "rc": 0, "start": "2024-10-21 07:22:08.429130" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:22:08 -0400 (0:00:00.380) 0:01:21.636 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:22:08 -0400 (0:00:00.039) 0:01:21.676 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:22:08 -0400 (0:00:00.079) 0:01:21.756 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:22:08 -0400 (0:00:00.099) 0:01:21.855 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:08 -0400 (0:00:00.100) 0:01:21.956 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:08 -0400 (0:00:00.095) 0:01:22.051 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:08 -0400 (0:00:00.064) 0:01:22.115 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:09 -0400 (0:00:00.041) 0:01:22.157 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:09 -0400 (0:00:00.038) 0:01:22.195 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:10 -0400 (0:00:01.752) 0:01:23.948 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:12 -0400 (0:00:01.557) 0:01:25.505 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:12 -0400 (0:00:00.044) 0:01:25.549 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:12 -0400 (0:00:00.056) 0:01:25.606 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:12 -0400 (0:00:00.056) 0:01:25.663 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:12 -0400 (0:00:00.065) 0:01:25.728 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:12 -0400 (0:00:00.051) 0:01:25.780 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:12 -0400 (0:00:00.060) 0:01:25.840 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:12 -0400 (0:00:00.084) 0:01:25.924 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:12 -0400 (0:00:00.107) 0:01:26.032 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:12 -0400 (0:00:00.072) 0:01:26.105 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:13 -0400 (0:00:00.129) 0:01:26.235 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:13 -0400 (0:00:00.083) 0:01:26.318 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:13 -0400 (0:00:00.055) 0:01:26.374 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:13 -0400 (0:00:00.052) 0:01:26.426 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:13 -0400 (0:00:00.654) 0:01:27.080 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp_imzvjr3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:14 -0400 (0:00:00.470) 0:01:27.551 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:14 -0400 (0:00:00.487) 0:01:28.039 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:14 -0400 (0:00:00.037) 0:01:28.077 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:14 -0400 (0:00:00.039) 0:01:28.116 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:15 -0400 (0:00:00.041) 0:01:28.157 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:15 -0400 (0:00:00.037) 0:01:28.195 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:22:15 -0400 (0:00:00.366) 0:01:28.561 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:22:15 -0400 (0:00:00.081) 0:01:28.643 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:15 -0400 (0:00:00.062) 0:01:28.705 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:15 -0400 (0:00:00.089) 0:01:28.795 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:15 -0400 (0:00:00.089) 0:01:28.884 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:15 -0400 (0:00:00.062) 0:01:28.946 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:15 -0400 (0:00:00.051) 0:01:28.998 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:17 -0400 (0:00:01.743) 0:01:30.741 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:19 -0400 (0:00:01.750) 0:01:32.492 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:19 -0400 (0:00:00.065) 0:01:32.557 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:19 -0400 (0:00:00.065) 0:01:32.622 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:19 -0400 (0:00:00.058) 0:01:32.681 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:19 -0400 (0:00:00.052) 0:01:32.733 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:19 -0400 (0:00:00.049) 0:01:32.783 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:19 -0400 (0:00:00.045) 0:01:32.828 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:19 -0400 (0:00:00.053) 0:01:32.881 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:19 -0400 (0:00:00.077) 0:01:32.959 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:19 -0400 (0:00:00.037) 0:01:32.996 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:19 -0400 (0:00:00.038) 0:01:33.035 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:20 -0400 (0:00:00.104) 0:01:33.139 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:20 -0400 (0:00:00.068) 0:01:33.207 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:20 -0400 (0:00:00.068) 0:01:33.275 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:20 -0400 (0:00:00.591) 0:01:33.867 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp9gr6q4z_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:21 -0400 (0:00:00.378) 0:01:34.245 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:21 -0400 (0:00:00.726) 0:01:34.971 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:21 -0400 (0:00:00.038) 0:01:35.010 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:21 -0400 (0:00:00.042) 0:01:35.053 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:21 -0400 (0:00:00.043) 0:01:35.096 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:22 -0400 (0:00:00.046) 0:01:35.142 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 21 October 2024 07:22:22 -0400 (0:00:00.395) 0:01:35.537 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:22 -0400 (0:00:00.113) 0:01:35.651 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:22 -0400 (0:00:00.073) 0:01:35.725 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:22 -0400 (0:00:00.046) 0:01:35.772 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:22 -0400 (0:00:00.039) 0:01:35.811 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:22 -0400 (0:00:00.037) 0:01:35.849 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:24 -0400 (0:00:01.624) 0:01:37.473 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:25 -0400 (0:00:01.643) 0:01:39.116 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:26 -0400 (0:00:00.057) 0:01:39.174 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:26 -0400 (0:00:00.044) 0:01:39.219 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:26 -0400 (0:00:00.039) 0:01:39.258 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:26 -0400 (0:00:00.038) 0:01:39.297 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:26 -0400 (0:00:00.045) 0:01:39.342 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:26 -0400 (0:00:00.046) 0:01:39.389 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:26 -0400 (0:00:00.068) 0:01:39.457 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:26 -0400 (0:00:00.130) 0:01:39.587 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:26 -0400 (0:00:00.095) 0:01:39.683 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:26 -0400 (0:00:00.067) 0:01:39.751 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:26 -0400 (0:00:00.076) 0:01:39.827 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:26 -0400 (0:00:00.064) 0:01:39.892 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:26 -0400 (0:00:00.059) 0:01:39.951 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:27 -0400 (0:00:00.768) 0:01:40.720 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp5474cl5q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:28 -0400 (0:00:00.490) 0:01:41.211 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:28 -0400 (0:00:00.647) 0:01:41.858 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:28 -0400 (0:00:00.070) 0:01:41.929 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:28 -0400 (0:00:00.095) 0:01:42.024 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:28 -0400 (0:00:00.104) 0:01:42.129 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:29 -0400 (0:00:00.056) 0:01:42.186 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:22:29 -0400 (0:00:00.525) 0:01:42.711 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:22:29 -0400 (0:00:00.125) 0:01:42.837 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:29 -0400 (0:00:00.131) 0:01:42.968 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:30 -0400 (0:00:00.182) 0:01:43.151 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:30 -0400 (0:00:00.071) 0:01:43.222 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:30 -0400 (0:00:00.064) 0:01:43.287 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:30 -0400 (0:00:00.059) 0:01:43.347 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:31 -0400 (0:00:01.710) 0:01:45.058 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:33 -0400 (0:00:01.547) 0:01:46.606 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:33 -0400 (0:00:00.058) 0:01:46.665 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:33 -0400 (0:00:00.065) 0:01:46.730 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:33 -0400 (0:00:00.066) 0:01:46.797 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:33 -0400 (0:00:00.045) 0:01:46.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:33 -0400 (0:00:00.056) 0:01:46.899 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:33 -0400 (0:00:00.043) 0:01:46.942 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:33 -0400 (0:00:00.068) 0:01:47.011 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:33 -0400 (0:00:00.073) 0:01:47.084 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:33 -0400 (0:00:00.039) 0:01:47.124 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:34 -0400 (0:00:00.061) 0:01:47.185 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:34 -0400 (0:00:00.066) 0:01:47.251 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:34 -0400 (0:00:00.106) 0:01:47.358 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:34 -0400 (0:00:00.065) 0:01:47.424 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:35 -0400 (0:00:00.847) 0:01:48.272 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmp9_ei1l9h" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:35 -0400 (0:00:00.493) 0:01:48.766 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:36 -0400 (0:00:00.639) 0:01:49.405 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:36 -0400 (0:00:00.039) 0:01:49.444 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:36 -0400 (0:00:00.045) 0:01:49.490 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:36 -0400 (0:00:00.059) 0:01:49.550 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:36 -0400 (0:00:00.063) 0:01:49.613 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:22:36 -0400 (0:00:00.457) 0:01:50.071 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:22:37 -0400 (0:00:00.072) 0:01:50.144 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:22:37 -0400 (0:00:00.082) 0:01:50.226 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:22:37 -0400 (0:00:00.161) 0:01:50.387 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:22:37 -0400 (0:00:00.536) 0:01:50.924 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:22:37 -0400 (0:00:00.042) 0:01:50.966 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017057", "end": "2024-10-21 07:22:38.154363", "rc": 1, "start": "2024-10-21 07:22:38.137306" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:22:38 -0400 (0:00:00.391) 0:01:51.358 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:22:38 -0400 (0:00:00.043) 0:01:51.401 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:22:38 -0400 (0:00:00.053) 0:01:51.454 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:22:38 -0400 (0:00:00.041) 0:01:51.495 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:22:38 -0400 (0:00:00.039) 0:01:51.535 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:22:38 -0400 (0:00:00.044) 0:01:51.579 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:22:38 -0400 (0:00:00.043) 0:01:51.623 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:22:38 -0400 (0:00:00.046) 0:01:51.669 ******** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:22:38 -0400 (0:00:00.043) 0:01:51.713 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:22:38 -0400 (0:00:00.072) 0:01:51.785 ******** 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.043159", "end": "2024-10-21 07:22:38.994856", "rc": 0, "start": "2024-10-21 07:22:38.951697" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 21 October 2024 07:22:39 -0400 (0:00:00.456) 0:01:52.242 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 21 October 2024 07:22:39 -0400 (0:00:00.068) 0:01:52.311 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 21 October 2024 07:22:39 -0400 (0:00:00.047) 0:01:52.358 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 21 October 2024 07:22:39 -0400 (0:00:00.125) 0:01:52.484 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 21 October 2024 07:22:39 -0400 (0:00:00.074) 0:01:52.558 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 21 October 2024 07:22:39 -0400 (0:00:00.077) 0:01:52.636 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002894", "end": "2024-10-21 07:22:39.809532", "rc": 0, "start": "2024-10-21 07:22:39.806638" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 21 October 2024 07:22:39 -0400 (0:00:00.376) 0:01:53.013 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 21 October 2024 07:22:39 -0400 (0:00:00.040) 0:01:53.054 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 21 October 2024 07:22:39 -0400 (0:00:00.038) 0:01:53.092 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 21 October 2024 07:22:40 -0400 (0:00:00.083) 0:01:53.175 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:40 -0400 (0:00:00.103) 0:01:53.278 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:40 -0400 (0:00:00.073) 0:01:53.352 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:40 -0400 (0:00:00.045) 0:01:53.398 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:40 -0400 (0:00:00.039) 0:01:53.438 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:40 -0400 (0:00:00.046) 0:01:53.484 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:41 -0400 (0:00:01.635) 0:01:55.119 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:43 -0400 (0:00:01.618) 0:01:56.738 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:43 -0400 (0:00:00.066) 0:01:56.804 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:43 -0400 (0:00:00.072) 0:01:56.876 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:43 -0400 (0:00:00.078) 0:01:56.955 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:43 -0400 (0:00:00.060) 0:01:57.016 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:43 -0400 (0:00:00.081) 0:01:57.097 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:44 -0400 (0:00:00.075) 0:01:57.173 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:44 -0400 (0:00:00.081) 0:01:57.255 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:44 -0400 (0:00:00.108) 0:01:57.363 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:44 -0400 (0:00:00.044) 0:01:57.408 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:44 -0400 (0:00:00.044) 0:01:57.452 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:44 -0400 (0:00:00.051) 0:01:57.504 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:44 -0400 (0:00:00.044) 0:01:57.548 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:44 -0400 (0:00:00.090) 0:01:57.639 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:45 -0400 (0:00:00.604) 0:01:58.243 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpef5_pjee" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:45 -0400 (0:00:00.430) 0:01:58.674 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:46 -0400 (0:00:00.595) 0:01:59.269 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:46 -0400 (0:00:00.057) 0:01:59.326 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:46 -0400 (0:00:00.065) 0:01:59.392 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:46 -0400 (0:00:00.061) 0:01:59.453 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:46 -0400 (0:00:00.048) 0:01:59.501 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 21 October 2024 07:22:46 -0400 (0:00:00.364) 0:01:59.865 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 21 October 2024 07:22:46 -0400 (0:00:00.041) 0:01:59.907 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:46 -0400 (0:00:00.063) 0:01:59.970 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:46 -0400 (0:00:00.137) 0:02:00.108 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:47 -0400 (0:00:00.074) 0:02:00.183 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:47 -0400 (0:00:00.062) 0:02:00.246 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:47 -0400 (0:00:00.061) 0:02:00.307 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:48 -0400 (0:00:01.636) 0:02:01.944 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:50 -0400 (0:00:01.493) 0:02:03.438 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:50 -0400 (0:00:00.039) 0:02:03.478 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:50 -0400 (0:00:00.039) 0:02:03.517 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:50 -0400 (0:00:00.038) 0:02:03.556 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:50 -0400 (0:00:00.038) 0:02:03.594 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:50 -0400 (0:00:00.046) 0:02:03.640 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:50 -0400 (0:00:00.038) 0:02:03.679 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:50 -0400 (0:00:00.044) 0:02:03.723 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:50 -0400 (0:00:00.073) 0:02:03.797 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:50 -0400 (0:00:00.048) 0:02:03.845 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:50 -0400 (0:00:00.046) 0:02:03.892 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:50 -0400 (0:00:00.052) 0:02:03.945 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:50 -0400 (0:00:00.037) 0:02:03.983 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:50 -0400 (0:00:00.037) 0:02:04.020 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:51 -0400 (0:00:00.543) 0:02:04.564 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmppstc14dm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:51 -0400 (0:00:00.406) 0:02:04.971 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:52 -0400 (0:00:00.724) 0:02:05.695 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:52 -0400 (0:00:00.038) 0:02:05.733 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:52 -0400 (0:00:00.040) 0:02:05.774 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:52 -0400 (0:00:00.041) 0:02:05.815 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:52 -0400 (0:00:00.037) 0:02:05.853 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:22:53 -0400 (0:00:00.426) 0:02:06.280 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:22:53 -0400 (0:00:00.105) 0:02:06.385 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:22:53 -0400 (0:00:00.173) 0:02:06.559 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:22:53 -0400 (0:00:00.076) 0:02:06.636 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:22:53 -0400 (0:00:00.060) 0:02:06.696 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:22:53 -0400 (0:00:00.064) 0:02:06.760 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:22:55 -0400 (0:00:01.653) 0:02:08.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 : Print network provider] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:22:56 -0400 (0:00:01.665) 0:02:10.079 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:22:56 -0400 (0:00:00.050) 0:02:10.130 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:22:57 -0400 (0:00:00.050) 0:02:10.180 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:22:57 -0400 (0:00:00.041) 0:02:10.222 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:22:57 -0400 (0:00:00.037) 0:02:10.259 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:22:57 -0400 (0:00:00.046) 0:02:10.305 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:22:57 -0400 (0:00:00.044) 0:02:10.350 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:22:57 -0400 (0:00:00.055) 0:02:10.405 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:22:57 -0400 (0:00:00.107) 0:02:10.512 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:22:57 -0400 (0:00:00.053) 0:02:10.566 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:22:57 -0400 (0:00:00.059) 0:02:10.625 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:22:57 -0400 (0:00:00.073) 0:02:10.698 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:22:57 -0400 (0:00:00.062) 0:02:10.761 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:22:57 -0400 (0:00:00.044) 0:02:10.805 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:22:58 -0400 (0:00:00.572) 0:02:11.378 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmphz5h1g21" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:22:58 -0400 (0:00:00.412) 0:02:11.791 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:22:59 -0400 (0:00:00.645) 0:02:12.437 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:22:59 -0400 (0:00:00.058) 0:02:12.495 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:22:59 -0400 (0:00:00.117) 0:02:12.613 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:22:59 -0400 (0:00:00.095) 0:02:12.709 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:22:59 -0400 (0:00:00.071) 0:02:12.780 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 21 October 2024 07:23:00 -0400 (0:00:00.404) 0:02:13.184 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 21 October 2024 07:23:00 -0400 (0:00:00.068) 0:02:13.253 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 21 October 2024 07:23:00 -0400 (0:00:00.074) 0:02:13.328 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 21 October 2024 07:23:00 -0400 (0:00:00.148) 0:02:13.476 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 21 October 2024 07:23:00 -0400 (0:00:00.052) 0:02:13.528 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 21 October 2024 07:23:00 -0400 (0:00:00.045) 0:02:13.574 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 21 October 2024 07:23:00 -0400 (0:00:00.048) 0:02:13.622 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 21 October 2024 07:23:02 -0400 (0:00:01.607) 0:02:15.230 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 21 October 2024 07:23:03 -0400 (0:00:01.534) 0:02:16.764 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 21 October 2024 07:23:03 -0400 (0:00:00.044) 0:02:16.809 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 21 October 2024 07:23:03 -0400 (0:00:00.044) 0:02:16.853 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 21 October 2024 07:23:03 -0400 (0:00:00.051) 0:02:16.904 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 21 October 2024 07:23:03 -0400 (0:00:00.064) 0:02:16.969 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 21 October 2024 07:23:03 -0400 (0:00:00.069) 0:02:17.038 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 21 October 2024 07:23:03 -0400 (0:00:00.081) 0:02:17.120 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 21 October 2024 07:23:04 -0400 (0:00:00.091) 0:02:17.212 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 21 October 2024 07:23:04 -0400 (0:00:00.249) 0:02:17.462 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 21 October 2024 07:23:04 -0400 (0:00:00.108) 0:02:17.570 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 21 October 2024 07:23:04 -0400 (0:00:00.059) 0:02:17.630 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 21 October 2024 07:23:04 -0400 (0:00:00.067) 0:02:17.698 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 21 October 2024 07:23:04 -0400 (0:00:00.090) 0:02:17.788 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 21 October 2024 07:23:04 -0400 (0:00:00.058) 0:02:17.846 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 21 October 2024 07:23:05 -0400 (0:00:00.643) 0:02:18.490 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48975pd8lp_kj/tmpsuwih_ri" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 21 October 2024 07:23:05 -0400 (0:00:00.465) 0:02:18.956 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 21 October 2024 07:23:06 -0400 (0:00:00.638) 0:02:19.595 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 21 October 2024 07:23:06 -0400 (0:00:00.051) 0:02:19.646 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 21 October 2024 07:23:06 -0400 (0:00:00.055) 0:02:19.701 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 21 October 2024 07:23:06 -0400 (0:00:00.050) 0:02:19.751 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 21 October 2024 07:23:06 -0400 (0:00:00.043) 0:02:19.795 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 21 October 2024 07:23:07 -0400 (0:00:00.367) 0:02:20.162 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 21 October 2024 07:23:07 -0400 (0:00:00.100) 0:02:20.263 ******** included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 21 October 2024 07:23:07 -0400 (0:00:00.088) 0:02:20.352 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 21 October 2024 07:23:07 -0400 (0:00:00.047) 0:02:20.399 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 21 October 2024 07:23:07 -0400 (0:00:00.415) 0:02:20.815 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 21 October 2024 07:23:07 -0400 (0:00:00.037) 0:02:20.853 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017699", "end": "2024-10-21 07:23:08.038174", "rc": 1, "start": "2024-10-21 07:23:08.020475" } 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 21 October 2024 07:23:08 -0400 (0:00:00.400) 0:02:21.254 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 21 October 2024 07:23:08 -0400 (0:00:00.039) 0:02:21.293 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 21 October 2024 07:23:08 -0400 (0:00:00.040) 0:02:21.334 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 21 October 2024 07:23:08 -0400 (0:00:00.040) 0:02:21.375 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 21 October 2024 07:23:08 -0400 (0:00:00.039) 0:02:21.414 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 21 October 2024 07:23:08 -0400 (0:00:00.040) 0:02:21.455 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 21 October 2024 07:23:08 -0400 (0:00:00.042) 0:02:21.497 ******** [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.874538", "end": "2024-10-21 07:23:09.596820", "rc": 0, "start": "2024-10-21 07:23:08.722282" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 21 October 2024 07:23:09 -0400 (0:00:01.434) 0:02:22.932 ******** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 21 October 2024 07:23:09 -0400 (0:00:00.125) 0:02:23.057 ******** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 21 October 2024 07:23:10 -0400 (0:00:00.131) 0:02:23.189 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 21 October 2024 07:23:10 -0400 (0:00:00.195) 0:02:23.385 ******** 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 21 October 2024 07:23:10 -0400 (0:00:00.079) 0:02:23.464 ******** included: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 21 October 2024 07:23:10 -0400 (0:00:00.135) 0:02:23.600 ******** 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.042684", "end": "2024-10-21 07:23:10.872137", "rc": 0, "start": "2024-10-21 07:23:10.829453" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 21 October 2024 07:23:10 -0400 (0:00:00.498) 0:02:24.098 ******** 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.008128", "end": "2024-10-21 07:23:11.323908", "rc": 0, "start": "2024-10-21 07:23:11.315780" } 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 02:c6:d0:75:65:51 brd ff:ff:ff:ff:ff:ff inet 10.31.47.129/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2473sec preferred_lft 2473sec inet6 fe80::c6:d0ff:fe75:6551/64 scope link valid_lft forever preferred_lft forever 38: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 8a:1e:99:d4:df:0f 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.44.1 dev eth0 proto dhcp src 10.31.47.129 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.129 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-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 21 October 2024 07:23:11 -0400 (0:00:00.434) 0:02:24.532 ******** 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.288965", "end": "2024-10-21 07:23:12.006842", "rc": 0, "start": "2024-10-21 07:23:11.717877" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 6630 0 --:--:-- --:--:-- --:--:-- 6630 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1328 0 --:--:-- --:--:-- --:--:-- 1322 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 21 October 2024 07:23:12 -0400 (0:00:00.662) 0:02:25.195 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-FlR/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-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.66s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-FlR/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-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-FlR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26