[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 [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:41:12 -0400 (0:00:00.008) 0:00:00.008 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:01.069) 0:00:01.077 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:00.449) 0:00:01.526 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:00.022) 0:00:01.548 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:00.023) 0:00:01.572 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:41:13 -0400 (0:00:00.013) 0:00:01.586 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:00.012) 0:00:01.599 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:41:13 -0400 (0:00:00.018) 0:00:01.617 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:41:13 -0400 (0:00:00.015) 0:00:01.633 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003093", "end": "2024-07-06 06:41:14.230930", "rc": 0, "start": "2024-07-06 06:41:14.227837" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.449) 0:00:02.083 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:41:14 -0400 (0:00:00.017) 0:00:02.100 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:41:14 -0400 (0:00:00.016) 0:00:02.117 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:41:17 -0400 (0:00:03.032) 0:00:05.149 ********* ok: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.013892", "end": "2024-07-06 06:41:17.664646", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-06 06:41:17.650754" } ok: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003391", "end": "2024-07-06 06:41:18.048527", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-06 06:41:18.045136" } ok: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003901", "end": "2024-07-06 06:41:18.386764", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-06 06:41:18.382863" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:01.090) 0:00:06.240 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022473", "end": "2024-07-06 06:41:18.758823", "rc": 0, "start": "2024-07-06 06:41:18.736350" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:00.372) 0:00:06.613 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:00.014) 0:00:06.627 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:00.013) 0:00:06.640 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Saturday 06 July 2024 06:41:18 -0400 (0:00:00.012) 0:00:06.653 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Saturday 06 July 2024 06:41:18 -0400 (0:00:00.013) 0:00:06.666 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:00.011) 0:00:06.678 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:41:18 -0400 (0:00:00.017) 0:00:06.695 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface testnic1] ***************************************** Saturday 06 July 2024 06:41:18 -0400 (0:00:00.015) 0:00:06.711 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262477.6539955, "block_size": 4096, "blocks": 0, "ctime": 1720262477.6539955, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 45971, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1720262477.6539955, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'testnic1'] *********************** Saturday 06 July 2024 06:41:19 -0400 (0:00:00.350) 0:00:07.061 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:19 -0400 (0:00:00.021) 0:00:07.082 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:19 -0400 (0:00:00.038) 0:00:07.121 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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 06:41:19 -0400 (0:00:00.026) 0:00:07.147 ********* 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 06:41:19 -0400 (0:00:00.029) 0:00:07.177 ********* 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 06:41:19 -0400 (0:00:00.017) 0:00:07.194 ********* 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 06:41:19 -0400 (0:00:00.017) 0:00:07.212 ********* 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 06:41:21 -0400 (0:00:01.796) 0:00:09.008 ********* 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 06:41:22 -0400 (0:00:01.764) 0:00:10.773 ********* 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 06:41:23 -0400 (0:00:00.042) 0:00:10.815 ********* 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 06:41:23 -0400 (0:00:00.034) 0:00:10.850 ********* 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 06:41:23 -0400 (0:00:00.036) 0:00:10.886 ********* 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 06:41:23 -0400 (0:00:00.057) 0:00:10.943 ********* 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 06:41:23 -0400 (0:00:00.046) 0:00:10.990 ********* 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 06:41:23 -0400 (0:00:00.055) 0:00:11.045 ********* 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 06:41:23 -0400 (0:00:00.092) 0:00:11.137 ********* 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 06:41:23 -0400 (0:00:00.035) 0:00:11.173 ********* 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 06:41:23 -0400 (0:00:00.060) 0:00:11.234 ********* 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 06:41:23 -0400 (0:00:00.054) 0:00:11.289 ********* 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 06:41:24 -0400 (0:00:00.823) 0:00:12.113 ********* 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 06:41:24 -0400 (0:00:00.063) 0:00:12.176 ********* 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 06:41:24 -0400 (0:00:00.038) 0:00:12.215 ********* 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 06:41:24 -0400 (0:00:00.040) 0:00:12.255 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.780) 0:00:13.035 ********* 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 06:41:25 -0400 (0:00:00.034) 0:00:13.070 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.034) 0:00:13.104 ********* 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.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.035) 0:00:13.140 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.034) 0:00:13.174 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.478) 0:00:13.653 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:25 -0400 (0:00:00.037) 0:00:13.690 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.081) 0:00:13.772 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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 06:41:26 -0400 (0:00:00.085) 0:00:13.858 ********* 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 06:41:26 -0400 (0:00:00.052) 0:00:13.910 ********* 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 06:41:26 -0400 (0:00:00.035) 0:00:13.946 ********* 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 06:41:26 -0400 (0:00:00.034) 0:00:13.980 ********* 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 06:41:27 -0400 (0:00:01.700) 0:00:15.681 ********* 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 06:41:29 -0400 (0:00:01.534) 0:00:17.216 ********* 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 06:41:29 -0400 (0:00:00.041) 0:00:17.257 ********* 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 06:41:29 -0400 (0:00:00.035) 0:00:17.293 ********* 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 06:41:29 -0400 (0:00:00.034) 0:00:17.327 ********* 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 06:41:29 -0400 (0:00:00.058) 0:00:17.385 ********* 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 06:41:29 -0400 (0:00:00.044) 0:00:17.430 ********* 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 06:41:29 -0400 (0:00:00.053) 0:00:17.483 ********* 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 06:41:29 -0400 (0:00:00.092) 0:00:17.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 06:41:29 -0400 (0:00:00.065) 0:00:17.641 ********* 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 06:41:29 -0400 (0:00:00.035) 0:00:17.677 ********* 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 06:41:29 -0400 (0:00:00.056) 0:00:17.733 ********* 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 06:41:30 -0400 (0:00:00.590) 0:00:18.324 ********* 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 06:41:30 -0400 (0:00:00.062) 0:00:18.386 ********* 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 06:41:30 -0400 (0:00:00.039) 0:00:18.426 ********* 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 06:41:30 -0400 (0:00:00.038) 0:00:18.464 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.547) 0:00:19.012 ********* 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 06:41:31 -0400 (0:00:00.037) 0:00:19.050 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.034) 0:00:19.084 ********* 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.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.034) 0:00:19.119 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.035) 0:00:19.154 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.380) 0:00:19.535 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:31 -0400 (0:00:00.039) 0:00:19.574 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:31 -0400 (0:00:00.096) 0:00:19.671 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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 06:41:31 -0400 (0:00:00.057) 0:00:19.728 ********* 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 06:41:31 -0400 (0:00:00.052) 0:00:19.780 ********* 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 06:41:32 -0400 (0:00:00.035) 0:00:19.816 ********* 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 06:41:32 -0400 (0:00:00.035) 0:00:19.851 ********* 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 06:41:33 -0400 (0:00:01.681) 0:00:21.533 ********* 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 06:41:35 -0400 (0:00:01.525) 0:00:23.059 ********* 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 06:41:35 -0400 (0:00:00.042) 0:00:23.101 ********* 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 06:41:35 -0400 (0:00:00.034) 0:00:23.136 ********* 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 06:41:35 -0400 (0:00:00.035) 0:00:23.171 ********* 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 06:41:35 -0400 (0:00:00.057) 0:00:23.228 ********* 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 06:41:35 -0400 (0:00:00.043) 0:00:23.272 ********* 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 06:41:35 -0400 (0:00:00.055) 0:00:23.327 ********* 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 06:41:35 -0400 (0:00:00.092) 0:00:23.419 ********* 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 06:41:35 -0400 (0:00:00.066) 0:00:23.485 ********* 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 06:41:35 -0400 (0:00:00.036) 0:00:23.522 ********* 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 06:41:35 -0400 (0:00:00.053) 0:00:23.576 ********* 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 06:41:36 -0400 (0:00:00.588) 0:00:24.165 ********* 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 06:41:36 -0400 (0:00:00.063) 0:00:24.228 ********* 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 06:41:36 -0400 (0:00:00.037) 0:00:24.265 ********* 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 06:41:36 -0400 (0:00:00.039) 0:00:24.304 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.563) 0:00:24.868 ********* 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 06:41:37 -0400 (0:00:00.035) 0:00:24.903 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.034) 0:00:24.938 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.035) 0:00:24.973 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.034) 0:00:25.007 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.383) 0:00:25.391 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:37 -0400 (0:00:00.037) 0:00:25.428 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.110) 0:00:25.539 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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 06:41:37 -0400 (0:00:00.058) 0:00:25.597 ********* 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 06:41:37 -0400 (0:00:00.053) 0:00:25.650 ********* 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 06:41:37 -0400 (0:00:00.035) 0:00:25.686 ********* 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 06:41:37 -0400 (0:00:00.034) 0:00:25.721 ********* 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 06:41:39 -0400 (0:00:01.714) 0:00:27.436 ********* 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 06:41:41 -0400 (0:00:01.532) 0:00:28.968 ********* 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 06:41:41 -0400 (0:00:00.043) 0:00:29.011 ********* 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 06:41:41 -0400 (0:00:00.036) 0:00:29.048 ********* 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 06:41:41 -0400 (0:00:00.035) 0:00:29.083 ********* 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 06:41:41 -0400 (0:00:00.060) 0:00:29.143 ********* 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 06:41:41 -0400 (0:00:00.045) 0:00:29.189 ********* 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 06:41:41 -0400 (0:00:00.054) 0:00:29.243 ********* 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 06:41:41 -0400 (0:00:00.167) 0:00:29.411 ********* 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 06:41:41 -0400 (0:00:00.037) 0:00:29.448 ********* 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 06:41:41 -0400 (0:00:00.036) 0:00:29.485 ********* 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 06:41:41 -0400 (0:00:00.058) 0:00:29.543 ********* 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 06:41:42 -0400 (0:00:00.586) 0:00:30.130 ********* 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 06:41:42 -0400 (0:00:00.062) 0:00:30.193 ********* 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 06:41:42 -0400 (0:00:00.039) 0:00:30.232 ********* 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 06:41:42 -0400 (0:00:00.038) 0:00:30.271 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.550) 0:00:30.822 ********* 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 06:41:43 -0400 (0:00:00.038) 0:00:30.860 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.035) 0:00:30.895 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 6eb1b2c1-f8e6-4eaa-bcde-a59a1089be1f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.034) 0:00:30.930 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.035) 0:00:30.965 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.382) 0:00:31.348 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:43 -0400 (0:00:00.040) 0:00:31.388 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.098) 0:00:31.487 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/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 06:41:43 -0400 (0:00:00.058) 0:00:31.545 ********* 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 06:41:43 -0400 (0:00:00.053) 0:00:31.599 ********* 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 06:41:43 -0400 (0:00:00.035) 0:00:31.634 ********* 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 06:41:43 -0400 (0:00:00.036) 0:00:31.670 ********* 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 06:41:45 -0400 (0:00:01.698) 0:00:33.368 ********* 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 06:41:47 -0400 (0:00:01.530) 0:00:34.899 ********* 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 06:41:47 -0400 (0:00:00.042) 0:00:34.942 ********* 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 06:41:47 -0400 (0:00:00.035) 0:00:34.978 ********* 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 06:41:47 -0400 (0:00:00.034) 0:00:35.013 ********* 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 06:41:47 -0400 (0:00:00.057) 0:00:35.071 ********* 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 06:41:47 -0400 (0:00:00.045) 0:00:35.116 ********* 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 06:41:47 -0400 (0:00:00.129) 0:00:35.245 ********* 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 06:41:47 -0400 (0:00:00.093) 0:00:35.339 ********* 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 06:41:47 -0400 (0:00:00.036) 0:00:35.375 ********* 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 06:41:47 -0400 (0:00:00.036) 0:00:35.412 ********* 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 06:41:47 -0400 (0:00:00.055) 0:00:35.468 ********* 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 06:41:48 -0400 (0:00:00.596) 0:00:36.065 ********* 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 06:41:48 -0400 (0:00:00.064) 0:00:36.130 ********* 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 06:41:48 -0400 (0:00:00.039) 0:00:36.169 ********* 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 06:41:48 -0400 (0:00:00.037) 0:00:36.206 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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 06:41:49 -0400 (0:00:00.605) 0:00:36.812 ********* 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 06:41:49 -0400 (0:00:00.036) 0:00:36.848 ********* 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 06:41:49 -0400 (0:00:00.034) 0:00:36.883 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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 06:41:49 -0400 (0:00:00.036) 0:00:36.919 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:49 -0400 (0:00:00.036) 0:00:36.956 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:41:49 -0400 (0:00:00.381) 0:00:37.338 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:41:49 -0400 (0:00:00.098) 0:00:37.436 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:41:49 -0400 (0:00:00.031) 0:00:37.468 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:41:49 -0400 (0:00:00.032) 0:00:37.500 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:41:49 -0400 (0:00:00.052) 0:00:37.552 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:41:49 -0400 (0:00:00.050) 0:00:37.603 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003002", "end": "2024-07-06 06:41:50.104895", "rc": 0, "start": "2024-07-06 06:41:50.101893" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:41:50 -0400 (0:00:00.371) 0:00:37.974 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:41:50 -0400 (0:00:00.036) 0:00:38.010 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:41:50 -0400 (0:00:00.034) 0:00:38.045 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:41:53 -0400 (0:00:02.815) 0:00:40.861 ********* skipping: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:41:53 -0400 (0:00:00.042) 0:00:40.903 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:41:53 -0400 (0:00:00.030) 0:00:40.934 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013705", "end": "2024-07-06 06:41:53.449121", "rc": 0, "start": "2024-07-06 06:41:53.435416" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:41:53 -0400 (0:00:00.387) 0:00:41.321 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:41:53 -0400 (0:00:00.032) 0:00:41.353 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Saturday 06 July 2024 06:41:53 -0400 (0:00:00.030) 0:00:41.384 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Saturday 06 July 2024 06:41:53 -0400 (0:00:00.062) 0:00:41.446 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=73 changed=3 unreachable=0 failed=0 skipped=100 rescued=0 ignored=0 Saturday 06 July 2024 06:41:53 -0400 (0:00:00.086) 0:00:41.533 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.03s Install iproute --------------------------------------------------------- 2.82s fedora.linux_system_roles.network : Check which services are running ---- 1.80s fedora.linux_system_roles.network : Check which packages are installed --- 1.76s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.68s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s Create veth interface testnic1 ------------------------------------------ 1.09s Gathering Facts --------------------------------------------------------- 1.07s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.60s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s