No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:38 -0400 (0:00:00.017) 0:00:00.017 *********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 12:04:39 -0400 (0:00:00.873) 0:00:00.891 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Monday 22 July 2024 12:04:39 -0400 (0:00:00.018) 0:00:00.909 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 12:04:39 -0400 (0:00:00.490) 0:00:01.400 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.414) 0:00:01.814 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.031) 0:00:01.846 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.029) 0:00:01.875 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.047) 0:00:01.923 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.413) 0:00:02.336 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.017) 0:00:02.354 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 12:04:40 -0400 (0:00:00.017) 0:00:02.371 *********** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.228064", "end": "2024-07-22 12:04:41.439597", "rc": 0, "start": "2024-07-22 12:04:41.211533" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 12:04:41 -0400 (0:00:00.562) 0:00:02.934 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 12:04:41 -0400 (0:00:00.016) 0:00:02.950 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:41 -0400 (0:00:00.016) 0:00:02.966 *********** ok: [managed_node1] TASK [Set interface=LSR-TST-br31] ********************************************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.609) 0:00:03.576 *********** ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.017) 0:00:03.593 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.019) 0:00:03.613 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:04:42 -0400 (0:00:00.019) 0:00:03.633 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002923", "end": "2024-07-22 12:04:42.473612", "rc": 0, "start": "2024-07-22 12:04:42.470689" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.335) 0:00:03.968 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:04:42 -0400 (0:00:00.018) 0:00:03.987 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.019) 0:00:04.006 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:04:42 -0400 (0:00:00.019) 0:00:04.026 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 12:04:42 -0400 (0:00:00.021) 0:00:04.048 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Monday 22 July 2024 12:04:42 -0400 (0:00:00.335) 0:00:04.383 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:42 -0400 (0:00:00.024) 0:00:04.408 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:04:43 -0400 (0:00:00.610) 0:00:05.018 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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] *** Monday 22 July 2024 12:04:43 -0400 (0:00:00.024) 0:00:05.042 *********** 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] *********** Monday 22 July 2024 12:04:43 -0400 (0:00:00.018) 0:00:05.061 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:04:43 -0400 (0:00:00.016) 0:00:05.078 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 12:04:43 -0400 (0:00:00.016) 0:00:05.095 *********** 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] *** Monday 22 July 2024 12:04:45 -0400 (0:00:01.661) 0:00:06.756 *********** 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] ************** Monday 22 July 2024 12:04:46 -0400 (0:00:01.626) 0:00:08.383 *********** 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] *** Monday 22 July 2024 12:04:46 -0400 (0:00:00.032) 0:00:08.416 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.035) 0:00:08.451 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.032) 0:00:08.483 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.039) 0:00:08.523 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.034) 0:00:08.557 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 12:04:47 -0400 (0:00:00.038) 0:00:08.595 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.064) 0:00:08.660 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.035) 0:00:08.695 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:04:47 -0400 (0:00:00.032) 0:00:08.728 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 12:04:47 -0400 (0:00:00.038) 0:00:08.766 *********** 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] ***** Monday 22 July 2024 12:04:48 -0400 (0:00:00.703) 0:00:09.470 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 12:04:48 -0400 (0:00:00.038) 0:00:09.508 *********** 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] *** Monday 22 July 2024 12:04:48 -0400 (0:00:00.059) 0:00:09.568 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 12:04:48 -0400 (0:00:00.035) 0:00:09.604 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:04:48 -0400 (0:00:00.729) 0:00:10.333 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:04:48 -0400 (0:00:00.034) 0:00:10.368 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:04:48 -0400 (0:00:00.034) 0:00:10.403 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, af6dbc28-ecbc-4e6e-9bd4-e1268f7b1183 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:04:48 -0400 (0:00:00.039) 0:00:10.442 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:04:49 -0400 (0:00:00.035) 0:00:10.478 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:49 -0400 (0:00:00.467) 0:00:10.945 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_device_present.yml'] ********************** Monday 22 July 2024 12:04:50 -0400 (0:00:00.650) 0:00:11.596 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:04:50 -0400 (0:00:00.084) 0:00:11.681 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 12:04:50 -0400 (0:00:00.056) 0:00:11.737 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664288.7692044, "block_size": 4096, "blocks": 0, "ctime": 1721664288.7692044, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 45631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1721664288.7692044, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* Monday 22 July 2024 12:04:50 -0400 (0:00:00.358) 0:00:12.095 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:50 -0400 (0:00:00.041) 0:00:12.137 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* Monday 22 July 2024 12:04:51 -0400 (0:00:00.638) 0:00:12.776 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:04:51 -0400 (0:00:00.053) 0:00:12.829 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Monday 22 July 2024 12:04:51 -0400 (0:00:00.058) 0:00:12.888 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Monday 22 July 2024 12:04:51 -0400 (0:00:00.033) 0:00:12.922 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721664288.8159752, "block_size": 4096, "blocks": 8, "ctime": 1721664288.7669744, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721664288.7669744, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 250, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:04:51 -0400 (0:00:00.383) 0:00:13.305 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:04:51 -0400 (0:00:00.035) 0:00:13.341 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016841", "end": "2024-07-22 12:04:52.201787", "rc": 0, "start": "2024-07-22 12:04:52.184946" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:04:52 -0400 (0:00:00.368) 0:00:13.710 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* Monday 22 July 2024 12:04:52 -0400 (0:00:00.037) 0:00:13.748 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** Monday 22 July 2024 12:04:52 -0400 (0:00:00.037) 0:00:13.785 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Monday 22 July 2024 12:04:52 -0400 (0:00:00.034) 0:00:13.820 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Monday 22 July 2024 12:04:52 -0400 (0:00:00.038) 0:00:13.858 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* Monday 22 July 2024 12:04:52 -0400 (0:00:00.036) 0:00:13.895 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** Monday 22 July 2024 12:04:52 -0400 (0:00:00.035) 0:00:13.931 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** Monday 22 July 2024 12:04:52 -0400 (0:00:00.040) 0:00:13.971 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:52 -0400 (0:00:00.045) 0:00:14.017 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:04:53 -0400 (0:00:00.686) 0:00:14.703 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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] *** Monday 22 July 2024 12:04:53 -0400 (0:00:00.087) 0:00:14.790 *********** 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] *********** Monday 22 July 2024 12:04:53 -0400 (0:00:00.041) 0:00:14.832 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:04:53 -0400 (0:00:00.034) 0:00:14.866 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 12:04:53 -0400 (0:00:00.032) 0:00:14.898 *********** 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] *** Monday 22 July 2024 12:04:54 -0400 (0:00:01.523) 0:00:16.422 *********** 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] ************** Monday 22 July 2024 12:04:56 -0400 (0:00:01.404) 0:00:17.826 *********** 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] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.035) 0:00:17.862 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.033) 0:00:17.895 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.033) 0:00:17.929 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.039) 0:00:17.968 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.035) 0:00:18.004 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 12:04:56 -0400 (0:00:00.038) 0:00:18.042 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.067) 0:00:18.110 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.032) 0:00:18.143 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:04:56 -0400 (0:00:00.035) 0:00:18.178 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 12:04:56 -0400 (0:00:00.039) 0:00:18.218 *********** 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] ***** Monday 22 July 2024 12:04:57 -0400 (0:00:00.550) 0:00:18.768 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 12:04:57 -0400 (0:00:00.039) 0:00:18.807 *********** 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] *** Monday 22 July 2024 12:04:57 -0400 (0:00:00.034) 0:00:18.842 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 12:04:57 -0400 (0:00:00.035) 0:00:18.877 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:04:57 -0400 (0:00:00.533) 0:00:19.411 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:04:58 -0400 (0:00:00.032) 0:00:19.443 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:04:58 -0400 (0:00:00.037) 0:00:19.481 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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] *** Monday 22 July 2024 12:04:58 -0400 (0:00:00.035) 0:00:19.516 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:04:58 -0400 (0:00:00.034) 0:00:19.550 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:58 -0400 (0:00:00.352) 0:00:19.903 *********** ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Monday 22 July 2024 12:04:59 -0400 (0:00:00.632) 0:00:20.536 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Monday 22 July 2024 12:04:59 -0400 (0:00:00.081) 0:00:20.617 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007459", "end": "2024-07-22 12:04:59.478643", "rc": 1, "start": "2024-07-22 12:04:59.471184" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:04:59 -0400 (0:00:00.382) 0:00:21.000 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:05:00 -0400 (0:00:00.636) 0:00:21.637 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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] *** Monday 22 July 2024 12:05:00 -0400 (0:00:00.055) 0:00:21.692 *********** 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] *********** Monday 22 July 2024 12:05:00 -0400 (0:00:00.040) 0:00:21.733 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 12:05:00 -0400 (0:00:00.034) 0:00:21.767 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 12:05:00 -0400 (0:00:00.033) 0:00:21.801 *********** 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] *** Monday 22 July 2024 12:05:01 -0400 (0:00:01.603) 0:00:23.404 *********** 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] ************** Monday 22 July 2024 12:05:03 -0400 (0:00:01.433) 0:00:24.838 *********** 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] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.038) 0:00:24.876 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.033) 0:00:24.910 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.036) 0:00:24.946 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.040) 0:00:24.987 *********** skipping: [managed_node1] => { "changed": false, "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] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.063) 0:00:25.050 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 12:05:03 -0400 (0:00:00.040) 0:00:25.090 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.069) 0:00:25.160 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.034) 0:00:25.195 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 22 July 2024 12:05:03 -0400 (0:00:00.033) 0:00:25.229 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 12:05:03 -0400 (0:00:00.040) 0:00:25.269 *********** 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] ***** Monday 22 July 2024 12:05:04 -0400 (0:00:00.521) 0:00:25.791 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 12:05:04 -0400 (0:00:00.040) 0:00:25.831 *********** 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] *** Monday 22 July 2024 12:05:04 -0400 (0:00:00.034) 0:00:25.865 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 12:05:04 -0400 (0:00:00.033) 0:00:25.899 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:05:04 -0400 (0:00:00.530) 0:00:26.429 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 12:05:05 -0400 (0:00:00.033) 0:00:26.463 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:05:05 -0400 (0:00:00.065) 0:00:26.528 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "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] *** Monday 22 July 2024 12:05:05 -0400 (0:00:00.035) 0:00:26.564 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:05:05 -0400 (0:00:00.033) 0:00:26.597 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:05:05 -0400 (0:00:00.354) 0:00:26.952 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** Monday 22 July 2024 12:05:06 -0400 (0:00:00.639) 0:00:27.592 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:05:06 -0400 (0:00:00.051) 0:00:27.643 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Monday 22 July 2024 12:05:06 -0400 (0:00:00.058) 0:00:27.702 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Monday 22 July 2024 12:05:06 -0400 (0:00:00.033) 0:00:27.736 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:05:06 -0400 (0:00:00.357) 0:00:28.093 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:05:06 -0400 (0:00:00.032) 0:00:28.126 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019331", "end": "2024-07-22 12:05:06.986242", "rc": 1, "start": "2024-07-22 12:05:06.966911" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:05:07 -0400 (0:00:00.364) 0:00:28.491 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* Monday 22 July 2024 12:05:07 -0400 (0:00:00.035) 0:00:28.526 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** Monday 22 July 2024 12:05:07 -0400 (0:00:00.036) 0:00:28.563 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** Monday 22 July 2024 12:05:07 -0400 (0:00:00.036) 0:00:28.599 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** Monday 22 July 2024 12:05:07 -0400 (0:00:00.033) 0:00:28.632 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** Monday 22 July 2024 12:05:07 -0400 (0:00:00.036) 0:00:28.669 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:05:07 -0400 (0:00:00.039) 0:00:28.709 *********** ok: [managed_node1] TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** Monday 22 July 2024 12:05:07 -0400 (0:00:00.624) 0:00:29.333 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Monday 22 July 2024 12:05:07 -0400 (0:00:00.053) 0:00:29.387 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* Monday 22 July 2024 12:05:07 -0400 (0:00:00.053) 0:00:29.440 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** Monday 22 July 2024 12:05:08 -0400 (0:00:00.374) 0:00:29.814 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 12:05:08 -0400 (0:00:00.038) 0:00:29.853 *********** ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 12:05:09 -0400 (0:00:00.641) 0:00:30.495 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Monday 22 July 2024 12:05:09 -0400 (0:00:00.052) 0:00:30.547 *********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.010330", "end": "2024-07-22 12:05:09.405426", "rc": 0, "start": "2024-07-22 12:05:09.395096" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:f6:44:cf:db brd ff:ff:ff:ff:ff:ff inet 10.31.12.92/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2837sec preferred_lft 2837sec inet6 fe80::8ff:f6ff:fe44:cfdb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.92 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.92 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Monday 22 July 2024 12:05:09 -0400 (0:00:00.365) 0:00:30.913 *********** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.409647", "end": "2024-07-22 12:05:10.172837", "rc": 0, "start": "2024-07-22 12:05:09.763190" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1955 0 --:--:-- --:--:-- --:--:-- 1955 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1276 0 --:--:-- --:--:-- --:--:-- 1270 PLAY RECAP ********************************************************************* managed_node1 : ok=85 changed=3 unreachable=0 failed=0 skipped=65 rescued=0 ignored=2 Monday 22 July 2024 12:05:10 -0400 (0:00:00.749) 0:00:31.662 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which packages are installed --- 1.63s fedora.linux_system_roles.network : Check which services are running ---- 1.60s fedora.linux_system_roles.network : Check which services are running ---- 1.52s fedora.linux_system_roles.network : Check which packages are installed --- 1.43s fedora.linux_system_roles.network : Check which packages are installed --- 1.40s Gathering Facts --------------------------------------------------------- 0.87s Verify DNS and network connectivity ------------------------------------- 0.75s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.70s Gathering Facts --------------------------------------------------------- 0.69s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.63s Gathering Facts --------------------------------------------------------- 0.62s Gathering Facts --------------------------------------------------------- 0.61s Gathering Facts --------------------------------------------------------- 0.61s