[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:45:53 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:45:55 -0400 (0:00:02.700) 0:00:02.709 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:45:56 -0400 (0:00:00.491) 0:00:03.200 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:45:56 -0400 (0:00:00.026) 0:00:03.227 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:45:56 -0400 (0:00:00.025) 0:00:03.253 ********* 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:45:56 -0400 (0:00:00.015) 0:00:03.268 ********* 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:45:56 -0400 (0:00:00.014) 0:00:03.282 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:45:56 -0400 (0:00:00.019) 0:00:03.302 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:45:56 -0400 (0:00:00.018) 0:00:03.320 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003779", "end": "2024-07-06 06:45:56.940354", "rc": 0, "start": "2024-07-06 06:45:56.936575" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:45:56 -0400 (0:00:00.495) 0:00:03.816 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:45:57 -0400 (0:00:00.020) 0:00:03.836 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:45:57 -0400 (0:00:00.019) 0:00:03.856 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:45:58 -0400 (0:00:01.547) 0:00:05.403 ********* 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.007644", "end": "2024-07-06 06:45:58.941053", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-06 06:45:58.933409" } 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.004209", "end": "2024-07-06 06:45:59.393004", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-06 06:45:59.388795" } 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.004791", "end": "2024-07-06 06:45:59.780673", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-06 06:45:59.775882" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:45:59 -0400 (0:00:01.254) 0:00:06.657 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023004", "end": "2024-07-06 06:46:00.220314", "rc": 0, "start": "2024-07-06 06:46:00.197310" } TASK [Delete veth interface testnic1] ****************************************** Saturday 06 July 2024 06:46:00 -0400 (0:00:00.440) 0:00:07.098 ********* 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:46:00 -0400 (0:00:00.015) 0:00:07.114 ********* 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:46:00 -0400 (0:00:00.017) 0:00:07.131 ********* 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:46:00 -0400 (0:00:00.015) 0:00:07.146 ********* 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:46:00 -0400 (0:00:00.016) 0:00:07.163 ********* 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:46:00 -0400 (0:00:00.014) 0:00:07.177 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:46:00 -0400 (0:00:00.020) 0:00:07.198 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:46:00 -0400 (0:00:00.018) 0:00:07.216 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262758.9376044, "block_size": 4096, "blocks": 0, "ctime": 1720262758.9376044, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35471, "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": 1720262758.9376044, "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:46:00 -0400 (0:00:00.396) 0:00:07.613 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:46:00 -0400 (0:00:00.019) 0:00:07.632 ********* 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:46:00 -0400 (0:00:00.043) 0:00:07.676 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:00 -0400 (0:00:00.031) 0:00:07.707 ********* 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:46:00 -0400 (0:00:00.024) 0:00:07.731 ********* 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:46:00 -0400 (0:00:00.020) 0:00:07.752 ********* 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:46:00 -0400 (0:00:00.020) 0:00:07.772 ********* 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:46:03 -0400 (0:00:02.793) 0:00:10.566 ********* 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:46:04 -0400 (0:00:01.251) 0:00:11.818 ********* 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:46:05 -0400 (0:00:00.049) 0:00:11.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:46:05 -0400 (0:00:00.041) 0:00:11.909 ********* 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:46:05 -0400 (0:00:00.042) 0:00:11.951 ********* 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:46:05 -0400 (0:00:00.055) 0:00:12.007 ********* 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:46:05 -0400 (0:00:00.043) 0:00:12.050 ********* 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:46:05 -0400 (0:00:00.054) 0:00:12.105 ********* 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:46:05 -0400 (0:00:00.095) 0:00:12.200 ********* 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:46:05 -0400 (0:00:00.063) 0:00:12.263 ********* 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:46:05 -0400 (0:00:00.041) 0:00:12.305 ********* 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:46:05 -0400 (0:00:00.055) 0:00:12.361 ********* 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:46:06 -0400 (0:00:00.887) 0:00:13.249 ********* 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:46:06 -0400 (0:00:00.063) 0:00:13.312 ********* 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:46:06 -0400 (0:00:00.045) 0:00:13.357 ********* 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:46:06 -0400 (0:00:00.045) 0:00:13.403 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:46:07 -0400 (0:00:00.980) 0:00:14.383 ********* 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:46:07 -0400 (0:00:00.041) 0:00:14.425 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:46:07 -0400 (0:00:00.041) 0:00:14.466 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:46:07 -0400 (0:00:00.042) 0:00:14.509 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:07 -0400 (0:00:00.041) 0:00:14.550 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:46:08 -0400 (0:00:00.529) 0:00:15.080 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:46:08 -0400 (0:00:00.044) 0:00:15.124 ********* 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:46:08 -0400 (0:00:00.125) 0:00:15.250 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:08 -0400 (0:00:00.070) 0:00:15.321 ********* 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:46:08 -0400 (0:00:00.051) 0:00:15.372 ********* 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:46:08 -0400 (0:00:00.042) 0:00:15.415 ********* 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:46:08 -0400 (0:00:00.041) 0:00:15.457 ********* 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:46:11 -0400 (0:00:02.703) 0:00:18.160 ********* 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:46:12 -0400 (0:00:01.045) 0:00:19.206 ********* 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:46:12 -0400 (0:00:00.049) 0:00:19.256 ********* 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:46:12 -0400 (0:00:00.043) 0:00:19.299 ********* 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:46:12 -0400 (0:00:00.042) 0:00:19.341 ********* 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:46:12 -0400 (0:00:00.058) 0:00:19.400 ********* 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:46:12 -0400 (0:00:00.045) 0:00:19.445 ********* 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:46:12 -0400 (0:00:00.091) 0:00:19.536 ********* 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:46:12 -0400 (0:00:00.096) 0:00:19.632 ********* 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:46:12 -0400 (0:00:00.042) 0:00:19.675 ********* 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:46:12 -0400 (0:00:00.041) 0:00:19.716 ********* 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:46:12 -0400 (0:00:00.053) 0:00:19.770 ********* 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:46:13 -0400 (0:00:00.679) 0:00:20.449 ********* 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:46:13 -0400 (0:00:00.065) 0:00:20.515 ********* 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:46:13 -0400 (0:00:00.045) 0:00:20.560 ********* 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:46:13 -0400 (0:00:00.048) 0:00:20.609 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:46:14 -0400 (0:00:00.663) 0:00:21.272 ********* 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:46:14 -0400 (0:00:00.042) 0:00:21.315 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:46:14 -0400 (0:00:00.041) 0:00:21.356 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:46:14 -0400 (0:00:00.043) 0:00:21.399 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:14 -0400 (0:00:00.042) 0:00:21.442 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:46:15 -0400 (0:00:00.443) 0:00:21.885 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:46:15 -0400 (0:00:00.046) 0:00:21.931 ********* 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:46:15 -0400 (0:00:00.112) 0:00:22.043 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:15 -0400 (0:00:00.072) 0:00:22.116 ********* 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:46:15 -0400 (0:00:00.052) 0:00:22.168 ********* 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:46:15 -0400 (0:00:00.044) 0:00:22.212 ********* 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:46:15 -0400 (0:00:00.043) 0:00:22.256 ********* 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:46:18 -0400 (0:00:02.782) 0:00:25.039 ********* 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:46:19 -0400 (0:00:01.049) 0:00:26.088 ********* 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:46:19 -0400 (0:00:00.050) 0:00:26.139 ********* 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:46:19 -0400 (0:00:00.041) 0:00:26.181 ********* 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:46:19 -0400 (0:00:00.043) 0:00:26.224 ********* 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:46:19 -0400 (0:00:00.058) 0:00:26.282 ********* 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:46:19 -0400 (0:00:00.120) 0:00:26.402 ********* 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:46:19 -0400 (0:00:00.055) 0:00:26.458 ********* 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:46:19 -0400 (0:00:00.096) 0:00:26.554 ********* 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:46:19 -0400 (0:00:00.042) 0:00:26.597 ********* 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:46:19 -0400 (0:00:00.043) 0:00:26.641 ********* 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:46:19 -0400 (0:00:00.055) 0:00:26.697 ********* 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:46:20 -0400 (0:00:00.668) 0:00:27.365 ********* 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:46:20 -0400 (0:00:00.065) 0:00:27.431 ********* 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:46:20 -0400 (0:00:00.046) 0:00:27.478 ********* 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:46:20 -0400 (0:00:00.045) 0:00:27.524 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (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:46:21 -0400 (0:00:00.672) 0:00:28.196 ********* 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:46:21 -0400 (0:00:00.042) 0:00:28.239 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (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:46:21 -0400 (0:00:00.040) 0:00:28.280 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce (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:46:21 -0400 (0:00:00.043) 0:00:28.323 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:21 -0400 (0:00:00.043) 0:00:28.366 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Saturday 06 July 2024 06:46:22 -0400 (0:00:00.475) 0:00:28.842 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:46:22 -0400 (0:00:00.047) 0:00:28.889 ********* 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:46:22 -0400 (0:00:00.097) 0:00:28.987 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:22 -0400 (0:00:00.070) 0:00:29.057 ********* 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:46:22 -0400 (0:00:00.051) 0:00:29.108 ********* 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:46:22 -0400 (0:00:00.042) 0:00:29.151 ********* 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:46:22 -0400 (0:00:00.043) 0:00:29.194 ********* 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:46:25 -0400 (0:00:02.837) 0:00:32.032 ********* 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:46:26 -0400 (0:00:01.093) 0:00:33.126 ********* 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:46:26 -0400 (0:00:00.052) 0:00:33.178 ********* 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:46:26 -0400 (0:00:00.042) 0:00:33.220 ********* 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:46:26 -0400 (0:00:00.078) 0:00:33.299 ********* 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:46:26 -0400 (0:00:00.058) 0:00:33.358 ********* 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:46:26 -0400 (0:00:00.044) 0:00:33.402 ********* 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:46:26 -0400 (0:00:00.055) 0:00:33.458 ********* 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:46:26 -0400 (0:00:00.098) 0:00:33.556 ********* 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:46:26 -0400 (0:00:00.042) 0:00:33.599 ********* 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:46:26 -0400 (0:00:00.043) 0:00:33.642 ********* 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:46:26 -0400 (0:00:00.054) 0:00:33.697 ********* 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:46:27 -0400 (0:00:00.674) 0:00:34.372 ********* 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:46:27 -0400 (0:00:00.064) 0:00:34.437 ********* 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:46:27 -0400 (0:00:00.045) 0:00:34.482 ********* 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:46:27 -0400 (0:00:00.044) 0:00:34.526 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:46:28 -0400 (0:00:00.642) 0:00:35.169 ********* 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:46:28 -0400 (0:00:00.043) 0:00:35.213 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:46:28 -0400 (0:00:00.041) 0:00:35.255 ********* 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, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 016543f6-3468-4a81-a579-0d1c3a8fd6ce skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:46:28 -0400 (0:00:00.042) 0:00:35.297 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:28 -0400 (0:00:00.076) 0:00:35.374 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Saturday 06 July 2024 06:46:29 -0400 (0:00:00.467) 0:00:35.841 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ Saturday 06 July 2024 06:46:29 -0400 (0:00:00.046) 0:00:35.888 ********* 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:46:29 -0400 (0:00:00.081) 0:00:35.969 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:29 -0400 (0:00:00.072) 0:00:36.041 ********* 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:46:29 -0400 (0:00:00.052) 0:00:36.094 ********* 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:46:29 -0400 (0:00:00.043) 0:00:36.137 ********* 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:46:29 -0400 (0:00:00.042) 0:00:36.180 ********* 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:46:32 -0400 (0:00:02.748) 0:00:38.928 ********* 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:46:33 -0400 (0:00:01.034) 0:00:39.963 ********* 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:46:33 -0400 (0:00:00.082) 0:00:40.045 ********* 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:46:33 -0400 (0:00:00.042) 0:00:40.088 ********* 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:46:33 -0400 (0:00:00.043) 0:00:40.131 ********* 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:46:33 -0400 (0:00:00.058) 0:00:40.189 ********* 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:46:33 -0400 (0:00:00.044) 0:00:40.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 : Install packages] ******************** Saturday 06 July 2024 06:46:33 -0400 (0:00:00.058) 0:00:40.293 ********* 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:46:33 -0400 (0:00:00.097) 0:00:40.391 ********* 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:46:33 -0400 (0:00:00.042) 0:00:40.433 ********* 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:46:33 -0400 (0:00:00.043) 0:00:40.477 ********* 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:46:33 -0400 (0:00:00.055) 0:00:40.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 : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 06:46:34 -0400 (0:00:00.678) 0:00:41.211 ********* 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:46:34 -0400 (0:00:00.063) 0:00:41.275 ********* 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:46:34 -0400 (0:00:00.046) 0:00:41.322 ********* 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:46:34 -0400 (0:00:00.046) 0:00:41.368 ********* 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:46:35 -0400 (0:00:00.766) 0:00:42.135 ********* 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:46:35 -0400 (0:00:00.043) 0:00:42.178 ********* 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:46:35 -0400 (0:00:00.042) 0:00:42.221 ********* 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:46:35 -0400 (0:00:00.075) 0:00:42.296 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.044) 0:00:42.340 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.486) 0:00:42.826 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:46:36 -0400 (0:00:00.074) 0:00:42.901 ********* 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:46:36 -0400 (0:00:00.036) 0:00:42.938 ********* 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:46:36 -0400 (0:00:00.037) 0:00:42.975 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:46:36 -0400 (0:00:00.062) 0:00:43.038 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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:46:36 -0400 (0:00:00.061) 0:00:43.100 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003890", "end": "2024-07-06 06:46:36.629919", "rc": 0, "start": "2024-07-06 06:46:36.626029" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.429) 0:00:43.530 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:46:36 -0400 (0:00:00.040) 0:00:43.571 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:46:36 -0400 (0:00:00.042) 0:00:43.613 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Saturday 06 July 2024 06:46:38 -0400 (0:00:01.473) 0:00:45.086 ********* 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:46:38 -0400 (0:00:00.049) 0:00:45.136 ********* 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:46:38 -0400 (0:00:00.038) 0:00:45.175 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010968", "end": "2024-07-06 06:46:38.707958", "rc": 0, "start": "2024-07-06 06:46:38.696990" } TASK [Create dummy interface testnic1] ***************************************** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.449) 0:00:45.624 ********* 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:46:38 -0400 (0:00:00.038) 0:00:45.663 ********* 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:46:38 -0400 (0:00:00.039) 0:00:45.703 ********* 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:46:38 -0400 (0:00:00.039) 0:00:45.743 ********* 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:46:39 -0400 (0:00:00.107) 0:00:45.850 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.84s fedora.linux_system_roles.network : Check which services are running ---- 2.79s fedora.linux_system_roles.network : Check which services are running ---- 2.78s fedora.linux_system_roles.network : Check which services are running ---- 2.75s fedora.linux_system_roles.network : Check which services are running ---- 2.70s Gathering Facts --------------------------------------------------------- 2.70s Install iproute --------------------------------------------------------- 1.55s Install iproute --------------------------------------------------------- 1.47s Create veth interface testnic1 ------------------------------------------ 1.25s fedora.linux_system_roles.network : Check which packages are installed --- 1.25s fedora.linux_system_roles.network : Check which packages are installed --- 1.09s fedora.linux_system_roles.network : Check which packages are installed --- 1.05s fedora.linux_system_roles.network : Check which packages are installed --- 1.05s fedora.linux_system_roles.network : Check which packages are installed --- 1.03s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.98s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.89s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.67s