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-jfc executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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-jfc/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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 17 October 2025 20:47:46 -0400 (0:00:00.113) 0:00:00.113 ******** included: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node5 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 17 October 2025 20:47:46 -0400 (0:00:00.166) 0:00:00.279 ******** ok: [managed-node5] => { "censored": "the output 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 17 October 2025 20:47:48 -0400 (0:00:01.782) 0:00:02.062 ******** ok: [managed-node5] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 17 October 2025 20:47:49 -0400 (0:00:01.211) 0:00:03.273 ******** ok: [managed-node5] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.network : Run systemctl] *********************** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:24 Friday 17 October 2025 20:47:49 -0400 (0:00:00.100) 0:00:03.373 ******** ok: [managed-node5] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008423", "end": "2025-10-17 20:47:50.352958", "failed_when_result": false, "rc": 0, "start": "2025-10-17 20:47:50.344535" } STDOUT: running TASK [fedora.linux_system_roles.network : Require installed systemd] *********** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Friday 17 October 2025 20:47:50 -0400 (0:00:00.675) 0:00:04.049 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:37 Friday 17 October 2025 20:47:50 -0400 (0:00:00.115) 0:00:04.164 ******** ok: [managed-node5] => { "ansible_facts": { "__network_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:42 Friday 17 October 2025 20:47:50 -0400 (0:00:00.112) 0:00:04.277 ******** ok: [managed-node5] => { "censored": "the output 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:47 Friday 17 October 2025 20:47:52 -0400 (0:00:02.298) 0:00:06.575 ******** ok: [managed-node5] => { "censored": "the output 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 17 October 2025 20:47:55 -0400 (0:00:02.121) 0:00:08.697 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:14 Friday 17 October 2025 20:47:55 -0400 (0:00:00.179) 0:00:08.876 ******** ok: [managed-node5] => {} 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 17 October 2025 20:47:55 -0400 (0:00:00.265) 0:00:09.142 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 17 October 2025 20:47:55 -0400 (0:00:00.197) 0:00:09.339 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:32 Friday 17 October 2025 20:47:55 -0400 (0:00:00.186) 0:00:09.525 ******** skipping: [managed-node5] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Friday 17 October 2025 20:47:56 -0400 (0:00:00.262) 0:00:09.788 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:55 Friday 17 October 2025 20:47:56 -0400 (0:00:00.161) 0:00:09.950 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:67 Friday 17 October 2025 20:47:56 -0400 (0:00:00.305) 0:00:10.255 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Friday 17 October 2025 20:47:56 -0400 (0:00:00.313) 0:00:10.569 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 17 October 2025 20:47:57 -0400 (0:00:00.469) 0:00:11.038 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 17 October 2025 20:47:57 -0400 (0:00:00.146) 0:00:11.185 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Friday 17 October 2025 20:47:57 -0400 (0:00:00.151) 0:00:11.337 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Friday 17 October 2025 20:47:58 -0400 (0:00:00.399) 0:00:11.736 ******** ok: [managed-node5] => { "censored": "the output 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 Friday 17 October 2025 20:48:01 -0400 (0:00:03.004) 0:00:14.740 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 Friday 17 October 2025 20:48:01 -0400 (0:00:00.339) 0:00:15.080 ******** skipping: [managed-node5] => { "censored": "the output 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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:157 Friday 17 October 2025 20:48:01 -0400 (0:00:00.286) 0:00:15.366 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 17 October 2025 20:48:01 -0400 (0:00:00.224) 0:00:15.591 ******** ok: [managed-node5] => { "_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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:178 Friday 17 October 2025 20:48:03 -0400 (0:00:01.398) 0:00:16.989 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:184 Friday 17 October 2025 20:48:03 -0400 (0:00:00.170) 0:00:17.160 ******** ok: [managed-node5] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:188 Friday 17 October 2025 20:48:03 -0400 (0:00:00.209) 0:00:17.369 ******** ok: [managed-node5] => { "__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-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:193 Friday 17 October 2025 20:48:03 -0400 (0:00:00.170) 0:00:17.540 ******** skipping: [managed-node5] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:199 Friday 17 October 2025 20:48:04 -0400 (0:00:00.172) 0:00:17.712 ******** ok: [managed-node5] => { "changed": false, "ping": "pong" } TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Friday 17 October 2025 20:48:04 -0400 (0:00:00.801) 0:00:18.513 ******** included: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node5 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 17 October 2025 20:48:05 -0400 (0:00:00.259) 0:00:18.773 ******** ok: [managed-node5] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 17 October 2025 20:48:06 -0400 (0:00:00.867) 0:00:19.640 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 17 October 2025 20:48:06 -0400 (0:00:00.176) 0:00:19.816 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 17 October 2025 20:48:06 -0400 (0:00:00.176) 0:00:19.992 ******** skipping: [managed-node5] => { "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-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:13 Friday 17 October 2025 20:48:06 -0400 (0:00:00.141) 0:00:20.134 ******** ok: [managed-node5] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node5 : 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 20:48:06 -0400 (0:00:00.124) 0:00:20.259 ******** =============================================================================== fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.00s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:42 fedora.linux_system_roles.network : Check which packages are installed --- 2.12s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:47 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 1.78s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.40s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 fedora.linux_system_roles.network : Check if system is ostree ----------- 1.21s /tmp/collections-jfc/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 --- 0.87s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.80s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:199 fedora.linux_system_roles.network : Run systemctl ----------------------- 0.68s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:24 fedora.linux_system_roles.network : Install packages -------------------- 0.47s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.40s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.34s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:140 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.31s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:67 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.31s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:55 fedora.linux_system_roles.network : Enable network service -------------- 0.29s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:149 fedora.linux_system_roles.network : Print network provider -------------- 0.27s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:14 fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later --- 0.26s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:32 Include the task 'el_repo_setup.yml' ------------------------------------ 0.26s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.22s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:157 fedora.linux_system_roles.network : Show stderr messages for the network_connections --- 0.21s /tmp/collections-jfc/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:184