ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-OCc executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 14.3.1 20250617 (Red Hat 14.3.1-2)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml PLAY [Test executing the role with default parameters] ************************* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 17 October 2025 17:38:25 -0400 (0:00:00.104) 0:00:00.104 ******** included: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node7 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 17 October 2025 17:38:25 -0400 (0:00:00.158) 0:00:00.262 ******** ok: [managed-node7] => { "censored": "the output 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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 17 October 2025 17:38:26 -0400 (0:00:01.118) 0:00:01.380 ******** ok: [managed-node7] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 17 October 2025 17:38:27 -0400 (0:00:01.109) 0:00:02.490 ******** ok: [managed-node7] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.network : Run systemctl] *********************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:24 Friday 17 October 2025 17:38:27 -0400 (0:00:00.069) 0:00:02.560 ******** ok: [managed-node7] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009350", "end": "2025-10-17 17:38:28.367725", "failed_when_result": false, "rc": 0, "start": "2025-10-17 17:38:28.358375" } STDOUT: running TASK [fedora.linux_system_roles.network : Require installed systemd] *********** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Friday 17 October 2025 17:38:28 -0400 (0:00:00.802) 0:00:03.363 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:37 Friday 17 October 2025 17:38:28 -0400 (0:00:00.167) 0:00:03.530 ******** ok: [managed-node7] => { "ansible_facts": { "__network_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:42 Friday 17 October 2025 17:38:28 -0400 (0:00:00.115) 0:00:03.646 ******** ok: [managed-node7] => { "censored": "the output 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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:47 Friday 17 October 2025 17:38:31 -0400 (0:00:02.923) 0:00:06.569 ******** ok: [managed-node7] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Switch to offline NM backend if host is not booted] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 17 October 2025 17:38:33 -0400 (0:00:01.912) 0:00:08.482 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "not __network_is_booted", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:14 Friday 17 October 2025 17:38:33 -0400 (0:00:00.173) 0:00:08.656 ******** ok: [managed-node7] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 17 October 2025 17:38:34 -0400 (0:00:00.262) 0:00:08.918 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_state != {}", "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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 17 October 2025 17:38:34 -0400 (0:00:00.168) 0:00:09.087 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_state != {}", "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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:32 Friday 17 October 2025 17:38:34 -0400 (0:00:00.154) 0:00:09.242 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Friday 17 October 2025 17:38:34 -0400 (0:00:00.206) 0:00:09.448 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:55 Friday 17 October 2025 17:38:34 -0400 (0:00:00.298) 0:00:09.747 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:67 Friday 17 October 2025 17:38:35 -0400 (0:00:00.244) 0:00:09.991 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Friday 17 October 2025 17:38:35 -0400 (0:00:00.371) 0:00:10.363 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 17 October 2025 17:38:36 -0400 (0:00:00.751) 0:00:11.115 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 17 October 2025 17:38:36 -0400 (0:00:00.165) 0:00:11.280 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Friday 17 October 2025 17:38:36 -0400 (0:00:00.172) 0:00:11.452 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Friday 17 October 2025 17:38:36 -0400 (0:00:00.290) 0:00:11.742 ******** ok: [managed-node7] => { "censored": "the output 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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Friday 17 October 2025 17:38:40 -0400 (0:00:03.413) 0:00:15.156 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Friday 17 October 2025 17:38:40 -0400 (0:00:00.270) 0:00:15.426 ******** skipping: [managed-node7] => { "censored": "the output 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-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:157 Friday 17 October 2025 17:38:41 -0400 (0:00:00.492) 0:00:15.919 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 17 October 2025 17:38:41 -0400 (0:00:00.325) 0:00:16.244 ******** ok: [managed-node7] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:178 Friday 17 October 2025 17:38:42 -0400 (0:00:01.574) 0:00:17.819 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:184 Friday 17 October 2025 17:38:42 -0400 (0:00:00.093) 0:00:17.912 ******** ok: [managed-node7] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:188 Friday 17 October 2025 17:38:43 -0400 (0:00:00.155) 0:00:18.068 ******** ok: [managed-node7] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:193 Friday 17 October 2025 17:38:43 -0400 (0:00:00.108) 0:00:18.176 ******** skipping: [managed-node7] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:199 Friday 17 October 2025 17:38:43 -0400 (0:00:00.054) 0:00:18.230 ******** ok: [managed-node7] => { "changed": false, "ping": "pong" } TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Friday 17 October 2025 17:38:44 -0400 (0:00:01.247) 0:00:19.478 ******** included: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node7 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 17 October 2025 17:38:44 -0400 (0:00:00.257) 0:00:19.735 ******** ok: [managed-node7] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 17 October 2025 17:38:45 -0400 (0:00:01.104) 0:00:20.839 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 17 October 2025 17:38:46 -0400 (0:00:00.196) 0:00:21.036 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 17 October 2025 17:38:46 -0400 (0:00:00.147) 0:00:21.183 ******** skipping: [managed-node7] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:13 Friday 17 October 2025 17:38:46 -0400 (0:00:00.171) 0:00:21.355 ******** ok: [managed-node7] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node7 : ok=17 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 17 October 2025 17:38:46 -0400 (0:00:00.075) 0:00:21.430 ******** =============================================================================== fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.41s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 fedora.linux_system_roles.network : Check which services are running ---- 2.92s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:42 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:47 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.57s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 fedora.linux_system_roles.network : Re-test connectivity ---------------- 1.25s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:199 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 1.12s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Check if system is ostree ----------- 1.11s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Gather the minimum subset of ansible_facts required by the network role test --- 1.11s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Run systemctl ----------------------- 0.80s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:24 fedora.linux_system_roles.network : Install packages -------------------- 0.75s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 fedora.linux_system_roles.network : Enable network service -------------- 0.49s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.37s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:67 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.33s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:157 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 0.30s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.29s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.27s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 fedora.linux_system_roles.network : Print network provider -------------- 0.26s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:14 Include the task 'el_repo_setup.yml' ------------------------------------ 0.26s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces --- 0.24s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:55 fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later --- 0.21s /tmp/collections-OCc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:32