[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:23 -0400 (0:00:00.009) 0:00:00.009 ********* [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 [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:41:25 -0400 (0:00:01.294) 0:00:01.303 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.494) 0:00:01.798 ********* 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:25 -0400 (0:00:00.025) 0:00:01.823 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:25 -0400 (0:00:00.028) 0:00:01.852 ********* 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:25 -0400 (0:00:00.017) 0:00:01.869 ********* 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:25 -0400 (0:00:00.016) 0:00:01.886 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:25 -0400 (0:00:00.022) 0:00:01.908 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:25 -0400 (0:00:00.023) 0:00:01.932 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005398", "end": "2024-07-06 06:41:26.245073", "rc": 0, "start": "2024-07-06 06:41:26.239675" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.489) 0:00:02.421 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:41:26 -0400 (0:00:00.020) 0:00:02.442 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:41:26 -0400 (0:00:00.021) 0:00:02.463 ********* 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:28 -0400 (0:00:01.892) 0:00:04.356 ********* 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.005380", "end": "2024-07-06 06:41:28.574102", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-06 06:41:28.568722" } 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.003425", "end": "2024-07-06 06:41:28.982612", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-06 06:41:28.979187" } 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.003645", "end": "2024-07-06 06:41:29.345266", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-06 06:41:29.341621" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:41:29 -0400 (0:00:01.167) 0:00:05.523 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023542", "end": "2024-07-06 06:41:29.754690", "rc": 0, "start": "2024-07-06 06:41:29.731148" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:41:29 -0400 (0:00:00.411) 0:00:05.935 ********* 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:29 -0400 (0:00:00.017) 0:00:05.952 ********* 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:29 -0400 (0:00:00.018) 0:00:05.971 ********* 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:29 -0400 (0:00:00.016) 0:00:05.987 ********* 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:29 -0400 (0:00:00.020) 0:00:06.008 ********* 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:29 -0400 (0:00:00.016) 0:00:06.024 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:29 -0400 (0:00:00.022) 0:00:06.047 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:29 -0400 (0:00:00.022) 0:00:06.070 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262488.5723867, "block_size": 4096, "blocks": 0, "ctime": 1720262488.5723867, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41473, "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": 1720262488.5723867, "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:30 -0400 (0:00:00.382) 0:00:06.452 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:30 -0400 (0:00:00.020) 0:00:06.473 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:30 -0400 (0:00:00.049) 0:00:06.523 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:30 -0400 (0:00:00.034) 0:00:06.557 ********* 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:30 -0400 (0:00:00.025) 0:00:06.582 ********* 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:30 -0400 (0:00:00.023) 0:00:06.606 ********* 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:30 -0400 (0:00:00.021) 0:00:06.627 ********* 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:32 -0400 (0:00:02.383) 0:00:09.010 ********* 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:34 -0400 (0:00:01.264) 0:00:10.275 ********* 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:34 -0400 (0:00:00.057) 0:00:10.332 ********* 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:34 -0400 (0:00:00.051) 0:00:10.384 ********* 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:34 -0400 (0:00:00.048) 0:00:10.432 ********* 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:34 -0400 (0:00:00.064) 0:00:10.496 ********* 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:34 -0400 (0:00:00.052) 0:00:10.549 ********* 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:34 -0400 (0:00:00.064) 0:00:10.613 ********* 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:34 -0400 (0:00:00.104) 0:00:10.717 ********* 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:34 -0400 (0:00:00.076) 0:00:10.794 ********* 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:34 -0400 (0:00:00.048) 0:00:10.843 ********* 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:34 -0400 (0:00:00.062) 0:00:10.905 ********* 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:35 -0400 (0:00:00.914) 0:00:11.820 ********* 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:35 -0400 (0:00:00.075) 0:00:11.895 ********* 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:35 -0400 (0:00:00.056) 0:00:11.952 ********* 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:35 -0400 (0:00:00.055) 0:00:12.007 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:36 -0400 (0:00:00.875) 0:00:12.883 ********* 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:36 -0400 (0:00:00.048) 0:00:12.931 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:36 -0400 (0:00:00.049) 0:00:12.981 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:36 -0400 (0:00:00.049) 0:00:13.030 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:36 -0400 (0:00:00.049) 0:00:13.080 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.539) 0:00:13.620 ********* 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.050) 0:00:13.671 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:37 -0400 (0:00:00.153) 0:00:13.824 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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.081) 0:00:13.906 ********* 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.061) 0:00:13.968 ********* 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.049) 0:00:14.017 ********* 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.051) 0:00:14.069 ********* 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:40 -0400 (0:00:02.256) 0:00:16.326 ********* 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:00.995) 0:00:17.321 ********* 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.059) 0:00:17.381 ********* 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.051) 0:00:17.432 ********* 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.049) 0:00:17.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 : 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.068) 0:00:17.551 ********* 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.092) 0:00:17.644 ********* 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.063) 0:00:17.707 ********* 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.112) 0:00:17.820 ********* 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.049) 0:00:17.869 ********* 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.049) 0:00:17.919 ********* 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.064) 0:00:17.983 ********* 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.665) 0:00:18.649 ********* 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.075) 0:00:18.724 ********* 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.056) 0:00:18.781 ********* 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.056) 0:00:18.837 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:43 -0400 (0:00:00.630) 0:00:19.467 ********* 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.048) 0:00:19.516 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a 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.049) 0:00:19.565 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a 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.050) 0:00:19.616 ********* 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.047) 0:00:19.664 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:41:44 -0400 (0:00:00.472) 0:00:20.136 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:44 -0400 (0:00:00.052) 0:00:20.189 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:44 -0400 (0:00:00.097) 0:00:20.287 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:44 -0400 (0:00:00.085) 0:00:20.372 ********* 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:44 -0400 (0:00:00.062) 0:00:20.435 ********* 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:44 -0400 (0:00:00.050) 0:00:20.485 ********* 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:44 -0400 (0:00:00.049) 0:00:20.534 ********* 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:46 -0400 (0:00:02.267) 0:00:22.802 ********* 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.005) 0:00:23.807 ********* 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.059) 0:00:23.867 ********* 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.051) 0:00:23.918 ********* 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.051) 0:00:23.970 ********* 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:48 -0400 (0:00:00.157) 0:00:24.127 ********* 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:48 -0400 (0:00:00.053) 0:00:24.181 ********* 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:48 -0400 (0:00:00.063) 0:00:24.244 ********* 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:48 -0400 (0:00:00.106) 0:00:24.351 ********* 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:48 -0400 (0:00:00.052) 0:00:24.403 ********* 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:48 -0400 (0:00:00.051) 0:00:24.455 ********* 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:48 -0400 (0:00:00.062) 0:00:24.517 ********* 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:49 -0400 (0:00:00.662) 0:00:25.179 ********* 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:49 -0400 (0:00:00.074) 0:00:25.254 ********* 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:49 -0400 (0:00:00.053) 0:00:25.308 ********* 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:49 -0400 (0:00:00.059) 0:00:25.368 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (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:49 -0400 (0:00:00.661) 0:00:26.029 ********* 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.049) 0:00:26.079 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (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:50 -0400 (0:00:00.049) 0:00:26.129 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (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, 619c9414-9072-4195-b05f-cfbe5b1a227a", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a (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:50 -0400 (0:00:00.051) 0:00:26.180 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:50 -0400 (0:00:00.049) 0:00:26.230 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:41:50 -0400 (0:00:00.478) 0:00:26.708 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:50 -0400 (0:00:00.055) 0:00:26.764 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:50 -0400 (0:00:00.114) 0:00:26.878 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:50 -0400 (0:00:00.085) 0:00:26.964 ********* 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:50 -0400 (0:00:00.062) 0:00:27.026 ********* 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:50 -0400 (0:00:00.053) 0:00:27.079 ********* 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:51 -0400 (0:00:00.050) 0:00:27.130 ********* 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:53 -0400 (0:00:02.244) 0:00:29.375 ********* 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:54 -0400 (0:00:01.002) 0:00:30.378 ********* 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:54 -0400 (0:00:00.102) 0:00:30.481 ********* 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:54 -0400 (0:00:00.048) 0:00:30.529 ********* 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:54 -0400 (0:00:00.050) 0:00:30.580 ********* 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:54 -0400 (0:00:00.065) 0:00:30.645 ********* 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:54 -0400 (0:00:00.050) 0:00:30.696 ********* 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:54 -0400 (0:00:00.063) 0:00:30.759 ********* 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:54 -0400 (0:00:00.107) 0:00:30.867 ********* 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:54 -0400 (0:00:00.052) 0:00:30.919 ********* 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:54 -0400 (0:00:00.052) 0:00:30.971 ********* 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:54 -0400 (0:00:00.062) 0:00:31.034 ********* 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:55 -0400 (0:00:00.653) 0:00:31.687 ********* 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:55 -0400 (0:00:00.074) 0:00:31.762 ********* 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:55 -0400 (0:00:00.057) 0:00:31.819 ********* 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:55 -0400 (0:00:00.054) 0:00:31.874 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:56 -0400 (0:00:00.644) 0:00:32.518 ********* 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:56 -0400 (0:00:00.049) 0:00:32.567 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:56 -0400 (0:00:00.050) 0:00:32.618 ********* 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, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 619c9414-9072-4195-b05f-cfbe5b1a227a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:56 -0400 (0:00:00.096) 0:00:32.714 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:56 -0400 (0:00:00.052) 0:00:32.767 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:41:57 -0400 (0:00:00.431) 0:00:33.198 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:41:57 -0400 (0:00:00.054) 0:00:33.253 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:57 -0400 (0:00:00.098) 0:00:33.352 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:57 -0400 (0:00:00.087) 0:00:33.439 ********* 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:57 -0400 (0:00:00.060) 0:00:33.500 ********* 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:57 -0400 (0:00:00.050) 0:00:33.550 ********* 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:57 -0400 (0:00:00.053) 0:00:33.603 ********* 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:59 -0400 (0:00:02.240) 0:00:35.844 ********* 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:42:00 -0400 (0:00:01.090) 0:00:36.934 ********* 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:42:00 -0400 (0:00:00.060) 0:00:36.994 ********* 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:42:00 -0400 (0:00:00.052) 0:00:37.046 ********* 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:42:00 -0400 (0:00:00.049) 0:00:37.095 ********* 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:42:01 -0400 (0:00:00.066) 0:00:37.162 ********* 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:42:01 -0400 (0:00:00.055) 0:00:37.217 ********* 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:42:01 -0400 (0:00:00.063) 0:00:37.281 ********* 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:42:01 -0400 (0:00:00.111) 0:00:37.392 ********* 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:42:01 -0400 (0:00:00.053) 0:00:37.445 ********* 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:42:01 -0400 (0:00:00.051) 0:00:37.497 ********* 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:42:01 -0400 (0:00:00.064) 0:00:37.561 ********* 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:42:02 -0400 (0:00:00.679) 0:00:38.241 ********* 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:42:02 -0400 (0:00:00.073) 0:00:38.315 ********* 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:42:02 -0400 (0:00:00.057) 0:00:38.372 ********* 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:42:02 -0400 (0:00:00.056) 0:00:38.428 ********* 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:42:03 -0400 (0:00:00.776) 0:00:39.204 ********* 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:42:03 -0400 (0:00:00.095) 0:00:39.300 ********* 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:42:03 -0400 (0:00:00.049) 0:00:39.349 ********* 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:42:03 -0400 (0:00:00.050) 0:00:39.400 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:42:03 -0400 (0:00:00.050) 0:00:39.451 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:42:03 -0400 (0:00:00.433) 0:00:39.884 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:42:03 -0400 (0:00:00.092) 0:00:39.977 ********* 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:42:03 -0400 (0:00:00.047) 0:00:40.024 ********* 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:42:03 -0400 (0:00:00.043) 0:00:40.068 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:42:04 -0400 (0:00:00.081) 0:00:40.149 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:42:04 -0400 (0:00:00.074) 0:00:40.224 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003649", "end": "2024-07-06 06:42:04.435993", "rc": 0, "start": "2024-07-06 06:42:04.432344" } STDOUT: bonding_masters eth0 lo peertestnic1 team0 testnic1 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:42:04 -0400 (0:00:00.415) 0:00:40.640 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "team0", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:42:04 -0400 (0:00:00.052) 0:00:40.692 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'team0', 'testnic1'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:42:04 -0400 (0:00:00.090) 0:00:40.782 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:42:06 -0400 (0:00:01.769) 0:00:42.552 ********* 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:42:06 -0400 (0:00:00.058) 0:00:42.610 ********* 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:42:06 -0400 (0:00:00.047) 0:00:42.658 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010084", "end": "2024-07-06 06:42:06.878272", "rc": 0, "start": "2024-07-06 06:42:06.868188" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:42:06 -0400 (0:00:00.434) 0:00:43.093 ********* 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:42:07 -0400 (0:00:00.047) 0:00:43.141 ********* 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:42:07 -0400 (0:00:00.045) 0:00:43.186 ********* 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:42:07 -0400 (0:00:00.048) 0:00:43.234 ********* 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=78 changed=3 unreachable=0 failed=0 skipped=100 rescued=0 ignored=0 Saturday 06 July 2024 06:42:07 -0400 (0:00:00.136) 0:00:43.371 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.38s fedora.linux_system_roles.network : Check which services are running ---- 2.27s fedora.linux_system_roles.network : Check which services are running ---- 2.26s fedora.linux_system_roles.network : Check which services are running ---- 2.24s fedora.linux_system_roles.network : Check which services are running ---- 2.24s Install iproute --------------------------------------------------------- 1.89s Install iproute --------------------------------------------------------- 1.77s Gathering Facts --------------------------------------------------------- 1.29s fedora.linux_system_roles.network : Check which packages are installed --- 1.26s Create veth interface testnic1 ------------------------------------------ 1.17s fedora.linux_system_roles.network : Check which packages are installed --- 1.09s fedora.linux_system_roles.network : Check which packages are installed --- 1.01s fedora.linux_system_roles.network : Check which packages are installed --- 1.00s fedora.linux_system_roles.network : Check which packages are installed --- 1.00s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.91s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.67s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.66s