[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:17:48 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 07:17:51 -0400 (0:00:02.711) 0:00:02.719 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Saturday 06 July 2024 07:17:51 -0400 (0:00:00.021) 0:00:02.741 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:02.056) 0:00:04.798 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.490) 0:00:05.289 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.025) 0:00:05.314 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.015) 0:00:05.330 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.034) 0:00:05.364 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.016) 0:00:05.381 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.015) 0:00:05.397 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.016) 0:00:05.413 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.014) 0:00:05.428 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 07:17:53 -0400 (0:00:00.015) 0:00:05.443 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:17:53 -0400 (0:00:00.036) 0:00:05.479 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:17:56 -0400 (0:00:02.476) 0:00:07.956 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:17:56 -0400 (0:00:00.033) 0:00:07.989 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:17:56 -0400 (0:00:00.026) 0:00:08.016 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:17:56 -0400 (0:00:00.022) 0:00:08.038 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:17:56 -0400 (0:00:00.026) 0:00:08.065 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:17:59 -0400 (0:00:02.878) 0:00:10.944 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:18:00 -0400 (0:00:01.326) 0:00:12.270 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:18:00 -0400 (0:00:00.044) 0:00:12.314 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:00 -0400 (0:00:00.045) 0:00:12.360 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:00 -0400 (0:00:00.045) 0:00:12.405 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:00 -0400 (0:00:00.057) 0:00:12.463 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:00 -0400 (0:00:00.048) 0:00:12.511 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 07:18:01 -0400 (0:00:00.083) 0:00:12.595 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:01 -0400 (0:00:00.090) 0:00:12.686 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:18:01 -0400 (0:00:00.044) 0:00:12.731 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:01 -0400 (0:00:00.046) 0:00:12.777 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 07:18:01 -0400 (0:00:00.056) 0:00:12.834 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:18:02 -0400 (0:00:01.001) 0:00:13.836 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:18:02 -0400 (0:00:00.056) 0:00:13.892 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:18:02 -0400 (0:00:00.039) 0:00:13.932 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:18:02 -0400 (0:00:00.039) 0:00:13.972 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:18:03 -0400 (0:00:00.919) 0:00:14.891 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:18:03 -0400 (0:00:00.044) 0:00:14.935 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:18:03 -0400 (0:00:00.043) 0:00:14.979 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:18:03 -0400 (0:00:00.044) 0:00:15.023 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:18:03 -0400 (0:00:00.045) 0:00:15.069 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* Saturday 06 July 2024 07:18:04 -0400 (0:00:00.623) 0:00:15.692 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021460", "end": "2024-07-06 07:18:04.592785", "rc": 0, "start": "2024-07-06 07:18:04.571325" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 07:18:04 -0400 (0:00:00.545) 0:00:16.238 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021191", "end": "2024-07-06 07:18:05.037212", "rc": 0, "start": "2024-07-06 07:18:05.016021" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.444) 0:00:16.682 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.042) 0:00:16.725 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.043) 0:00:16.768 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.074) 0:00:16.843 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.054) 0:00:16.897 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.045) 0:00:16.943 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:18:05 -0400 (0:00:00.045) 0:00:16.988 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:18:08 -0400 (0:00:02.866) 0:00:19.855 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:18:09 -0400 (0:00:01.117) 0:00:20.972 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.081) 0:00:21.053 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.047) 0:00:21.100 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.047) 0:00:21.147 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.060) 0:00:21.207 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.051) 0:00:21.259 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.058) 0:00:21.317 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.091) 0:00:21.408 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.045) 0:00:21.453 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.048) 0:00:21.502 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 07:18:09 -0400 (0:00:00.057) 0:00:21.560 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:18:10 -0400 (0:00:00.668) 0:00:22.228 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:18:10 -0400 (0:00:00.057) 0:00:22.286 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:18:10 -0400 (0:00:00.040) 0:00:22.326 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:18:10 -0400 (0:00:00.040) 0:00:22.367 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:18:11 -0400 (0:00:00.758) 0:00:23.125 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:18:11 -0400 (0:00:00.046) 0:00:23.172 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:18:11 -0400 (0:00:00.046) 0:00:23.218 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:18:11 -0400 (0:00:00.046) 0:00:23.265 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:18:11 -0400 (0:00:00.047) 0:00:23.312 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 07:18:12 -0400 (0:00:00.448) 0:00:23.761 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.022157", "end": "2024-07-06 07:18:12.572228", "rc": 0, "start": "2024-07-06 07:18:12.550071" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.457) 0:00:24.219 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.044) 0:00:24.263 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.074) 0:00:24.338 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.056) 0:00:24.394 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.046) 0:00:24.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:18:12 -0400 (0:00:00.046) 0:00:24.487 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:18:15 -0400 (0:00:02.904) 0:00:27.392 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:18:16 -0400 (0:00:01.072) 0:00:28.465 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:18:16 -0400 (0:00:00.045) 0:00:28.510 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:16 -0400 (0:00:00.046) 0:00:28.557 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.045) 0:00:28.602 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.062) 0:00:28.665 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.048) 0:00:28.713 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.058) 0:00:28.772 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.090) 0:00:28.863 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.046) 0:00:28.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.045) 0:00:28.955 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 07:18:17 -0400 (0:00:00.057) 0:00:29.012 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:18:18 -0400 (0:00:00.680) 0:00:29.693 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:18:18 -0400 (0:00:00.096) 0:00:29.789 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:18:18 -0400 (0:00:00.040) 0:00:29.829 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:18:18 -0400 (0:00:00.040) 0:00:29.870 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:18:18 -0400 (0:00:00.690) 0:00:30.561 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:18:19 -0400 (0:00:00.046) 0:00:30.607 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:18:19 -0400 (0:00:00.045) 0:00:30.652 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 765c4ddc-c99e-42d9-9277-97a3da2edca0 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:18:19 -0400 (0:00:00.045) 0:00:30.698 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:18:19 -0400 (0:00:00.049) 0:00:30.747 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 07:18:19 -0400 (0:00:00.462) 0:00:31.209 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021884", "end": "2024-07-06 07:18:20.021456", "rc": 0, "start": "2024-07-06 07:18:19.999572" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.457) 0:00:31.667 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.044) 0:00:31.711 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.083) 0:00:31.794 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.057) 0:00:31.852 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.131) 0:00:31.983 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:18:20 -0400 (0:00:00.052) 0:00:32.036 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:18:23 -0400 (0:00:02.984) 0:00:35.020 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:18:24 -0400 (0:00:01.134) 0:00:36.154 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.051) 0:00:36.206 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.052) 0:00:36.259 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.052) 0:00:36.311 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.059) 0:00:36.371 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.051) 0:00:36.423 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 07:18:24 -0400 (0:00:00.059) 0:00:36.482 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:25 -0400 (0:00:00.093) 0:00:36.576 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:18:25 -0400 (0:00:00.051) 0:00:36.628 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:25 -0400 (0:00:00.136) 0:00:36.764 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 07:18:25 -0400 (0:00:00.058) 0:00:36.823 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:18:25 -0400 (0:00:00.684) 0:00:37.508 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.060) 0:00:37.569 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.051) 0:00:37.621 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.048) 0:00:37.669 ********* [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. fatal: [managed_node1]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.615) 0:00:38.285 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.051) 0:00:38.337 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.055) 0:00:38.392 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "error: connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled.\n", "stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.053) 0:00:38.446 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:18:26 -0400 (0:00:00.052) 0:00:38.499 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.462) 0:00:38.961 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.052) 0:00:39.013 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.091) 0:00:39.105 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.076) 0:00:39.182 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.056) 0:00:39.238 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.047) 0:00:39.285 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:18:27 -0400 (0:00:00.046) 0:00:39.332 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:18:30 -0400 (0:00:02.802) 0:00:42.135 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:18:31 -0400 (0:00:01.070) 0:00:43.205 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.044) 0:00:43.249 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.045) 0:00:43.295 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.044) 0:00:43.339 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.059) 0:00:43.399 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.083) 0:00:43.482 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 07:18:31 -0400 (0:00:00.056) 0:00:43.539 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.092) 0:00:43.631 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.045) 0:00:43.677 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.045) 0:00:43.723 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.055) 0:00:43.778 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.672) 0:00:44.451 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.058) 0:00:44.510 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:18:32 -0400 (0:00:00.040) 0:00:44.550 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.039) 0:00:44.590 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.777) 0:00:45.368 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.046) 0:00:45.415 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.045) 0:00:45.460 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.045) 0:00:45.506 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:18:33 -0400 (0:00:00.049) 0:00:45.555 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 07:18:34 -0400 (0:00:00.483) 0:00:46.039 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 07:18:34 -0400 (0:00:00.074) 0:00:46.113 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.010864", "end": "2024-07-06 07:18:34.909174", "rc": 0, "start": "2024-07-06 07:18:34.898310" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:2d:fb:90:9f:a1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.186/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3264sec preferred_lft 3264sec inet6 fe80::c2d:fbff:fe90:9fa1/64 scope link noprefixroute valid_lft forever preferred_lft forever 19: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:c0:a7:cb:4a:08 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.186 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.186 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com example.com TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 07:18:34 -0400 (0:00:00.441) 0:00:46.555 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=65 changed=4 unreachable=0 failed=0 skipped=92 rescued=0 ignored=1 Saturday 06 July 2024 07:18:35 -0400 (0:00:00.119) 0:00:46.675 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.98s fedora.linux_system_roles.network : Check which services are running ---- 2.91s fedora.linux_system_roles.network : Check which services are running ---- 2.88s fedora.linux_system_roles.network : Check which services are running ---- 2.87s fedora.linux_system_roles.network : Check which services are running ---- 2.80s Gathering Facts --------------------------------------------------------- 2.71s Gathering Facts --------------------------------------------------------- 2.48s Gather the minimum subset of ansible_facts required by the network role test --- 2.06s fedora.linux_system_roles.network : Check which packages are installed --- 1.33s fedora.linux_system_roles.network : Check which packages are installed --- 1.13s fedora.linux_system_roles.network : Check which packages are installed --- 1.12s fedora.linux_system_roles.network : Check which packages are installed --- 1.07s fedora.linux_system_roles.network : Check which packages are installed --- 1.07s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.00s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.92s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s