ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_wireless_nm.yml ************************************************ 2 plays in /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_nm.yml PLAY [Run playbook 'playbooks/tests_wireless.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_nm.yml:6 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.026) 0:00:00.026 ****** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_nm.yml:9 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.943) 0:00:00.970 ****** included: /tmp/collections-HGQ/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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.061) 0:00:01.031 ****** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.438) 0:00:01.470 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.438) 0:00:01.908 ****** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.084) 0:00:01.992 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.049) 0:00:02.042 ****** included: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.109) 0:00:02.151 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create EPEL-7] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:25 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.029) 0:00:02.180 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.486) 0:00:02.667 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:43 Wednesday 14 August 2024 17:00:36 -0400 (0:00:00.813) 0:00:03.480 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.158547", "end": "2024-08-14 17:00:36.671800", "rc": 0, "start": "2024-08-14 17:00:36.513253" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:48 Wednesday 14 August 2024 17:00:36 -0400 (0:00:00.753) 0:00:04.234 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:53 Wednesday 14 August 2024 17:00:36 -0400 (0:00:00.036) 0:00:04.270 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/tests_wireless_nm.yml:11 Wednesday 14 August 2024 17:00:36 -0400 (0:00:00.041) 0:00:04.311 ****** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing wireless connection] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:3 Wednesday 14 August 2024 17:00:36 -0400 (0:00:00.044) 0:00:04.356 ****** ok: [managed_node1] META: ran handlers TASK [INIT: wireless tests] **************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:8 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.521) 0:00:04.878 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'setup_mock_wifi.yml'] ********************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:11 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.037) 0:00:04.915 ****** included: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml for managed_node1 TASK [Install packages required to set up mock wifi network] ******************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:3 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.047) 0:00:04.962 ****** changed: [managed_node1] => { "attempts": 1, "changed": true, "changes": { "installed": [ "hostapd" ] }, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package hostapd.x86_64 0:2.9-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n hostapd x86_64 2.9-3.el7 epel 489 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 489 k\nInstalled size: 1.2 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : hostapd-2.9-3.el7.x86_64 1/1 \n Verifying : hostapd-2.9-3.el7.x86_64 1/1 \n\nInstalled:\n hostapd.x86_64 0:2.9-3.el7 \n\nComplete!\n" ] } TASK [Ensure NetworkManager is running] **************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:16 Wednesday 14 August 2024 17:00:40 -0400 (0:00:03.259) 0:00:08.222 ****** ok: [managed_node1] => { "changed": false, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ActiveEnterTimestampMonotonic": "265628295", "ActiveExitTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ActiveExitTimestampMonotonic": "265559752", "ActiveState": "active", "After": "systemd-journald.socket basic.target cloud-init-local.service dbus.service network-pre.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-14 16:53:06 EDT", "AssertTimestampMonotonic": "265607291", "Before": "NetworkManager-wait-online.service network.service network.target multi-user.target cloud-init.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ConditionTimestampMonotonic": "265607289", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13357", "ExecMainStartTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ExecMainStartTimestampMonotonic": "265607903", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-08-14 16:53:06 EDT", "InactiveEnterTimestampMonotonic": "265605234", "InactiveExitTimestamp": "Wed 2024-08-14 16:53:06 EDT", "InactiveExitTimestampMonotonic": "265607940", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13357", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2024-08-14 16:53:06 EDT", "WatchdogTimestampMonotonic": "265628147", "WatchdogUSec": "0" } } TASK [Copy server certificates] ************************************************ task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:21 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.923) 0:00:09.145 ****** changed: [managed_node1] => (item=server.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1723669241.76-597-144935650971828/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=dh.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1723669243.0-597-20111698155392/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=server.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1723669243.64-597-24524495046517/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1723669244.43-597-90765239444493/source", "state": "file", "uid": 0 } TASK [Create hostapd config] *************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:32 Wednesday 14 August 2024 17:00:45 -0400 (0:00:03.569) 0:00:12.715 ****** changed: [managed_node1] => { "changed": true, "checksum": "a125331ea7679ccc13a42a166e1b0f97b2f12a6e", "dest": "/etc/hostapd/wireless.conf", "gid": 0, "group": "root", "md5sum": "440fe05511c2eab1f6817bab5884df89", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 532, "src": "/root/.ansible/tmp/ansible-tmp-1723669245.28-766-45089310522183/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:63 Wednesday 14 August 2024 17:00:45 -0400 (0:00:00.643) 0:00:13.358 ****** changed: [managed_node1] => { "changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1723669245.95-812-216162520364603/source", "state": "file", "uid": 0 } TASK [Load mac80211_hwsim kernel module to mock a wifi network] **************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:70 Wednesday 14 August 2024 17:00:46 -0400 (0:00:00.762) 0:00:14.121 ****** ok: [managed_node1] => { "changed": false, "cmd": "modprobe mac80211_hwsim && sleep 5", "delta": "0:00:05.209370", "end": "2024-08-14 17:00:52.132824", "rc": 0, "start": "2024-08-14 17:00:46.923454" } TASK [Restart NetworkManager and wpa_supplicant] ******************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:74 Wednesday 14 August 2024 17:00:52 -0400 (0:00:05.536) 0:00:19.658 ****** changed: [managed_node1] => (item=NetworkManager) => { "ansible_loop_var": "item", "changed": true, "item": "NetworkManager", "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ActiveEnterTimestampMonotonic": "265628295", "ActiveExitTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ActiveExitTimestampMonotonic": "265559752", "ActiveState": "active", "After": "systemd-journald.socket basic.target cloud-init-local.service dbus.service network-pre.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-14 16:53:06 EDT", "AssertTimestampMonotonic": "265607291", "Before": "NetworkManager-wait-online.service network.service network.target multi-user.target cloud-init.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ConditionTimestampMonotonic": "265607289", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13357", "ExecMainStartTimestamp": "Wed 2024-08-14 16:53:06 EDT", "ExecMainStartTimestampMonotonic": "265607903", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-08-14 16:53:06 EDT", "InactiveEnterTimestampMonotonic": "265605234", "InactiveExitTimestamp": "Wed 2024-08-14 16:53:06 EDT", "InactiveExitTimestampMonotonic": "265607940", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13357", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2024-08-14 16:53:06 EDT", "WatchdogTimestampMonotonic": "265628147", "WatchdogUSec": "0" } } changed: [managed_node1] => (item=wpa_supplicant) => { "ansible_loop_var": "item", "changed": true, "item": "wpa_supplicant", "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Configure wlan0 and wlan1 (mock wifi interfaces)] ************************ task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:82 Wednesday 14 August 2024 17:00:53 -0400 (0:00:01.110) 0:00:20.769 ****** ok: [managed_node1] => { "changed": false, "cmd": "ip link set up wlan0\nip link set up wlan1\nnmcli device set wlan1 managed off\nip add add 203.0.113.1/24 dev wlan1\nsleep 5\n", "delta": "0:00:05.028586", "end": "2024-08-14 17:00:58.595828", "rc": 0, "start": "2024-08-14 17:00:53.567242" } TASK [Start hostapd] *********************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:91 Wednesday 14 August 2024 17:00:58 -0400 (0:00:05.365) 0:00:26.134 ****** ok: [managed_node1] => { "changed": false, "cmd": "hostapd -B /etc/hostapd/wireless.conf && sleep 5", "delta": "0:00:05.010464", "end": "2024-08-14 17:01:04.066271", "rc": 0, "start": "2024-08-14 17:00:59.055807" } STDOUT: Configuration file: /etc/hostapd/wireless.conf wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE TASK [Copy client certs] ******************************************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:13 Wednesday 14 August 2024 17:01:04 -0400 (0:00:05.488) 0:00:31.623 ****** changed: [managed_node1] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1723669264.25-1647-3544046347167/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1723669265.25-1647-236907594179372/source", "state": "file", "uid": 0 } ok: [managed_node1] => (item=cacert.pem) => { "ansible_loop_var": "item", "changed": false, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "mode": "0644", "owner": "root", "path": "/etc/pki/tls/cacert.pem", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "state": "file", "uid": 0 } TASK [TEST: wireless connection with WPA-PSK] ********************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:24 Wednesday 14 August 2024 17:01:06 -0400 (0:00:02.597) 0:00:34.221 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:01:06 -0400 (0:00:00.077) 0:00:34.298 ****** included: /tmp/collections-HGQ/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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:01:06 -0400 (0:00:00.083) 0:00:34.382 ****** 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] *********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:01:06 -0400 (0:00:00.073) 0:00:34.455 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:01:07 -0400 (0:00:00.069) 0:00:34.524 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:01:07 -0400 (0:00:00.064) 0:00:34.588 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:01:08 -0400 (0:00:01.015) 0:00:35.604 ****** 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] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:01:10 -0400 (0:00:01.993) 0:00:37.598 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:01:10 -0400 (0:00:00.115) 0:00:37.713 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:01:10 -0400 (0:00:00.108) 0:00:37.822 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:01:10 -0400 (0:00:00.089) 0:00:37.912 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:01:10 -0400 (0:00:00.076) 0:00:37.988 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:01:10 -0400 (0:00:00.090) 0:00:38.079 ****** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "NetworkManager-wifi" ], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date", "All packages providing wpa_supplicant are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:01:15 -0400 (0:00:05.138) 0:00:43.217 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:01:15 -0400 (0:00:00.181) 0:00:43.399 ****** changed: [managed_node1] => { "attempts": 1, "changed": true, "changes": { "installed": [ "NetworkManager-wifi" ] }, "rc": 0, "results": [ "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "python-gobject-base-3.22.0-1.el7_4.1.x86_64 providing python-gobject-base is already installed", "1:wpa_supplicant-2.6-12.el7_9.2.x86_64 providing wpa_supplicant is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package NetworkManager-wifi.x86_64 1:1.18.8-2.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n NetworkManager-wifi x86_64 1:1.18.8-2.el7_9 updates 202 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 202 k\nInstalled size: 149 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 1:NetworkManager-wifi-1.18.8-2.el7_9.x86_64 1/1 \n Verifying : 1:NetworkManager-wifi-1.18.8-2.el7_9.x86_64 1/1 \n\nInstalled:\n NetworkManager-wifi.x86_64 1:1.18.8-2.el7_9 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:01:18 -0400 (0:00:02.966) 0:00:46.365 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:01:18 -0400 (0:00:00.076) 0:00:46.442 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:01:19 -0400 (0:00:00.073) 0:00:46.516 ****** changed: [managed_node1] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-14 17:00:52 EDT", "ActiveEnterTimestampMonotonic": "731959516", "ActiveExitTimestamp": "Wed 2024-08-14 17:00:52 EDT", "ActiveExitTimestampMonotonic": "731905652", "ActiveState": "active", "After": "systemd-journald.socket basic.target cloud-init-local.service dbus.service network-pre.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-14 17:00:52 EDT", "AssertTimestampMonotonic": "731932777", "Before": "NetworkManager-wait-online.service network.service network.target multi-user.target cloud-init.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-14 17:00:52 EDT", "ConditionTimestampMonotonic": "731932776", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9198", "ExecMainStartTimestamp": "Wed 2024-08-14 17:00:52 EDT", "ExecMainStartTimestampMonotonic": "731933483", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Wed 2024-08-14 17:00:52 EDT] ; stop_time=[n/a] ; pid=9198 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-08-14 17:00:52 EDT", "InactiveEnterTimestampMonotonic": "731932346", "InactiveExitTimestamp": "Wed 2024-08-14 17:00:52 EDT", "InactiveExitTimestampMonotonic": "731933519", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9198", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Wed 2024-08-14 17:00:52 EDT", "WatchdogTimestampMonotonic": "731959468", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:01:19 -0400 (0:00:00.619) 0:00:47.135 ****** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:01:20 -0400 (0:00:00.818) 0:00:47.954 ****** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ActiveEnterTimestampMonotonic": "732569629", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-14 17:00:53 EDT", "AssertTimestampMonotonic": "732442971", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ConditionTimestampMonotonic": "732442970", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9375", "ExecMainStartTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ExecMainStartTimestampMonotonic": "732445943", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Wed 2024-08-14 17:00:53 EDT] ; stop_time=[n/a] ; pid=9375 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-08-14 17:00:53 EDT", "InactiveExitTimestampMonotonic": "732445982", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9375", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestamp": "Wed 2024-08-14 17:00:53 EDT", "WatchdogTimestampMonotonic": "732569570", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:01:21 -0400 (0:00:00.716) 0:00:48.670 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:01:21 -0400 (0:00:00.118) 0:00:48.788 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:01:21 -0400 (0:00:00.158) 0:00:48.947 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-psk", "password": "p@55w0rD", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d [004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:01:22 -0400 (0:00:01.201) 0:00:50.149 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:01:22 -0400 (0:00:00.122) 0:00:50.271 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:01:22 -0400 (0:00:00.121) 0:00:50.393 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-psk", "password": "p@55w0rD", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d\n[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, 8c9bf3e0-1386-4616-a2b7-bb0f5e61314d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:01:23 -0400 (0:00:00.198) 0:00:50.591 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:01:23 -0400 (0:00:00.124) 0:00:50.716 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:01:23 -0400 (0:00:00.534) 0:00:51.250 ****** included: /tmp/collections-HGQ/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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:01:24 -0400 (0:00:00.249) 0:00:51.500 ****** 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] *********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:01:24 -0400 (0:00:00.194) 0:00:51.694 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:01:24 -0400 (0:00:00.149) 0:00:51.843 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:01:24 -0400 (0:00:00.147) 0:00:51.991 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:01:25 -0400 (0:00:01.059) 0:00:53.051 ****** 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] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:01:27 -0400 (0:00:01.446) 0:00:54.498 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.149) 0:00:54.647 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.152) 0:00:54.800 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.147) 0:00:54.948 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.103) 0:00:55.052 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.103) 0:00:55.155 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.092) 0:00:55.248 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:01:27 -0400 (0:00:00.091) 0:00:55.339 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:01:28 -0400 (0:00:00.133) 0:00:55.473 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:01:28 -0400 (0:00:00.083) 0:00:55.557 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:01:28 -0400 (0:00:00.085) 0:00:55.642 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:01:28 -0400 (0:00:00.101) 0:00:55.744 ****** 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] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:01:28 -0400 (0:00:00.682) 0:00:56.427 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:01:29 -0400 (0:00:00.198) 0:00:56.625 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:01:29 -0400 (0:00:00.135) 0:00:56.761 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:01:29 -0400 (0:00:00.127) 0:00:56.889 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "wlan0", "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] ********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:01:30 -0400 (0:00:01.156) 0:00:58.046 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:01:30 -0400 (0:00:00.157) 0:00:58.203 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:01:30 -0400 (0:00:00.131) 0:00:58.335 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "wlan0", "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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:01:30 -0400 (0:00:00.134) 0:00:58.469 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:01:31 -0400 (0:00:00.170) 0:00:58.640 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [TEST: wireless connection with 802.1x TLS-EAP] *************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:53 Wednesday 14 August 2024 17:01:31 -0400 (0:00:00.547) 0:00:59.187 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:01:31 -0400 (0:00:00.124) 0:00:59.312 ****** included: /tmp/collections-HGQ/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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:01:32 -0400 (0:00:00.223) 0:00:59.535 ****** 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] *********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:01:32 -0400 (0:00:00.158) 0:00:59.693 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:01:32 -0400 (0:00:00.090) 0:00:59.784 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:01:32 -0400 (0:00:00.130) 0:00:59.915 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:01:33 -0400 (0:00:01.048) 0:01:00.963 ****** 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] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:01:34 -0400 (0:00:01.186) 0:01:02.150 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:01:34 -0400 (0:00:00.098) 0:01:02.248 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:01:34 -0400 (0:00:00.137) 0:01:02.385 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:01:35 -0400 (0:00:00.114) 0:01:02.500 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:01:35 -0400 (0:00:00.118) 0:01:02.618 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:01:35 -0400 (0:00:00.117) 0:01:02.737 ****** ok: [managed_node1] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date", "All packages providing wpa_supplicant are up to date", "All packages providing NetworkManager-wifi are up to date" ] } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:01:40 -0400 (0:00:05.042) 0:01:07.779 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:01:40 -0400 (0:00:00.168) 0:01:07.947 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:01:40 -0400 (0:00:00.159) 0:01:08.106 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:01:40 -0400 (0:00:00.080) 0:01:08.187 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:01:40 -0400 (0:00:00.123) 0:01:08.310 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:01:40 -0400 (0:00:00.129) 0:01:08.439 ****** 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] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:01:41 -0400 (0:00:00.691) 0:01:09.130 ****** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ActiveEnterTimestampMonotonic": "732569629", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket syslog.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-14 17:00:53 EDT", "AssertTimestampMonotonic": "732442971", "Before": "shutdown.target network.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ConditionTimestampMonotonic": "732442970", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9375", "ExecMainStartTimestamp": "Wed 2024-08-14 17:00:53 EDT", "ExecMainStartTimestampMonotonic": "732445943", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-08-14 17:00:53 EDT", "InactiveExitTimestampMonotonic": "732445982", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9375", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-08-14 17:00:53 EDT", "WatchdogTimestampMonotonic": "732569570", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:01:42 -0400 (0:00:00.767) 0:01:09.898 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:01:42 -0400 (0:00:00.124) 0:01:10.023 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:01:42 -0400 (0:00:00.127) 0:01:10.151 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-eap", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373 [004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:01:51 -0400 (0:00:08.576) 0:01:18.727 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:01:51 -0400 (0:00:00.096) 0:01:18.824 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:01:51 -0400 (0:00:00.102) 0:01:18.927 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "wlan0", "state": "up", "type": "wireless", "wireless": { "key_mgmt": "wpa-eap", "ssid": "mock_wifi" } } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373\n[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'wlan0': add connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373", "[004] #0, state:up persistent_state:present, 'wlan0': up connection wlan0, b22ade5d-6361-4914-9c12-c1468a696373 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:01:51 -0400 (0:00:00.116) 0:01:19.043 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:01:51 -0400 (0:00:00.126) 0:01:19.170 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:01:52 -0400 (0:00:00.441) 0:01:19.611 ****** included: /tmp/collections-HGQ/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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:01:52 -0400 (0:00:00.287) 0:01:19.898 ****** 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] *********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:01:52 -0400 (0:00:00.180) 0:01:20.079 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:01:52 -0400 (0:00:00.120) 0:01:20.200 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:01:52 -0400 (0:00:00.121) 0:01:20.321 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:01:53 -0400 (0:00:00.966) 0:01:21.288 ****** 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] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:01:55 -0400 (0:00:01.322) 0:01:22.611 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:01:55 -0400 (0:00:00.204) 0:01:22.816 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:01:55 -0400 (0:00:00.152) 0:01:22.969 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:01:55 -0400 (0:00:00.142) 0:01:23.112 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:01:55 -0400 (0:00:00.164) 0:01:23.276 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:01:55 -0400 (0:00:00.162) 0:01:23.439 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:01:56 -0400 (0:00:00.154) 0:01:23.593 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:01:56 -0400 (0:00:00.186) 0:01:23.780 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:01:56 -0400 (0:00:00.214) 0:01:23.994 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:01:56 -0400 (0:00:00.167) 0:01:24.161 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:01:56 -0400 (0:00:00.259) 0:01:24.421 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:01:57 -0400 (0:00:00.232) 0:01:24.654 ****** 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] ***** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:01:57 -0400 (0:00:00.570) 0:01:25.225 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:01:57 -0400 (0:00:00.132) 0:01:25.357 ****** 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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:01:57 -0400 (0:00:00.100) 0:01:25.457 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:01:58 -0400 (0:00:00.108) 0:01:25.566 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "wlan0", "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] ********** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:01:59 -0400 (0:00:01.092) 0:01:26.659 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:01:59 -0400 (0:00:00.132) 0:01:26.792 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:01:59 -0400 (0:00:00.194) 0:01:26.986 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "wlan0", "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] *** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:01:59 -0400 (0:00:00.187) 0:01:27.174 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:01:59 -0400 (0:00:00.141) 0:01:27.315 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_mock_wifi.yml'] ******************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:96 Wednesday 14 August 2024 17:02:00 -0400 (0:00:00.475) 0:01:27.791 ****** included: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml for managed_node1 TASK [Unload mac80211_hwsim module] ******************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml:3 Wednesday 14 August 2024 17:02:00 -0400 (0:00:00.158) 0:01:27.949 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "modprobe", "-r", "mac80211_hwsim" ], "delta": "0:00:00.084348", "end": "2024-08-14 17:02:00.791880", "rc": 0, "start": "2024-08-14 17:02:00.707532" } TASK [Kill hostapd process] **************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_mock_wifi.yml:7 Wednesday 14 August 2024 17:02:00 -0400 (0:00:00.455) 0:01:28.404 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.019285", "end": "2024-08-14 17:02:01.438209", "rc": 0, "start": "2024-08-14 17:02:01.418924" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:98 Wednesday 14 August 2024 17:02:01 -0400 (0:00:00.666) 0:01:29.071 ****** included: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 August 2024 17:02:01 -0400 (0:00:00.211) 0:01:29.282 ****** 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.007635", "end": "2024-08-14 17:02:02.148242", "rc": 0, "start": "2024-08-14 17:02:02.140607" } 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 12:50:bc:a2:a9:53 brd ff:ff:ff:ff:ff:ff inet 10.31.8.214/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3558sec preferred_lft 3558sec inet6 fe80::1050:bcff:fea2:a953/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.214 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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] ************************************* task path: /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 August 2024 17:02:02 -0400 (0:00:00.598) 0:01:29.880 ****** 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.432782", "end": "2024-08-14 17:02:03.184650", "rc": 0, "start": "2024-08-14 17:02:02.751868" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 1427 0 --:--:-- --:--:-- --:--:-- 1431 % 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 291 100 291 0 0 1482 0 --:--:-- --:--:-- --:--:-- 1484 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=73 changed=14 unreachable=0 failed=0 skipped=70 rescued=0 ignored=0 Wednesday 14 August 2024 17:02:03 -0400 (0:00:00.893) 0:01:30.773 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 8.58s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Load mac80211_hwsim kernel module to mock a wifi network ---------------- 5.54s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:70 Start hostapd ----------------------------------------------------------- 5.49s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:91 Configure wlan0 and wlan1 (mock wifi interfaces) ------------------------ 5.37s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:82 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces --- 5.14s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces --- 5.04s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Copy server certificates ------------------------------------------------ 3.57s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:21 Install packages required to set up mock wifi network ------------------- 3.26s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:3 fedora.linux_system_roles.network : Install packages -------------------- 2.97s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Copy client certs ------------------------------------------------------- 2.60s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_wireless.yml:13 fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.20s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.19s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Restart NetworkManager and wpa_supplicant ------------------------------- 1.11s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/setup_mock_wifi.yml:74 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.09s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.06s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.05s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/collections-HGQ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21