# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Test role with default options] ****************************************** TASK [linux-system-roles.cockpit : Ensure ansible_facts and variables used by role] *** Wednesday 31 August 2022 15:17:42 +0000 (0:00:00.029) 0:00:00.029 ****** included: /WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml for sut TASK [linux-system-roles.cockpit : Ensure ansible_facts used by role] ********** Wednesday 31 August 2022 15:17:42 +0000 (0:00:00.032) 0:00:00.062 ****** ok: [sut] TASK [linux-system-roles.cockpit : Set version specific variables] ************* Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.748) 0:00:00.811 ****** ok: [sut] => (item=/WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/vars/RedHat-8.yml) => { "ansible_facts": { "__cockpit_packages": { "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}", "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}", "minimal": "{{ __cockpit_packages_minimal }}" }, "__cockpit_packages_default": [ "cockpit", "cockpit-networkmanager", "cockpit-packagekit", "cockpit-selinux", "cockpit-storaged" ], "__cockpit_packages_exclude": [ "cockpit-docker", "cockpit-ostree", "cockpit-tests" ], "__cockpit_packages_full": [ "cockpit-*" ], "__cockpit_packages_minimal": [ "cockpit-system", "cockpit-ws" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/vars/RedHat-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/vars/RedHat-8.yml" } TASK [linux-system-roles.cockpit : List active RHEL repositories] ************** Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.052) 0:00:00.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Enable RHEL repositories] ******************* Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.029) 0:00:00.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.029) 0:00:00.922 ****** included: /WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml for sut => (item=/WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml) TASK [linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.045) 0:00:00.968 ****** ok: [sut] => { "ansible_facts": { "cockpit_packages": "default" }, "changed": false } TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** Wednesday 31 August 2022 15:17:43 +0000 (0:00:00.052) 0:00:01.020 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: PackageKit-1.1.12-6.el8.x86_64", "Installed: python3-gobject-3.28.3-2.el8.x86_64", "Installed: PackageKit-glib-1.1.12-6.el8.x86_64", "Installed: libjose-10-2.el8.x86_64", "Installed: abattis-cantarell-fonts-0.0.25-6.el8.noarch", "Installed: libxcb-1.13.1-1.el8.x86_64", "Installed: libluksmeta-9-4.el8.x86_64", "Installed: oniguruma-6.8.2-2.el8.x86_64", "Installed: fontconfig-2.13.1-4.el8.x86_64", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: python3-pexpect-4.3.1-3.el8.noarch", "Installed: python3-psutil-5.4.3-11.el8.x86_64", "Installed: python3-ptyprocess-0.5.2-4.el8.noarch", "Installed: gdk-pixbuf2-2.36.12-5.el8.x86_64", "Installed: python3-pydbus-0.6.0-5.el8.noarch", "Installed: libgudev-232-4.el8.x86_64", "Installed: glib-networking-2.56.1-1.1.el8.x86_64", "Installed: policycoreutils-python-utils-2.9-20.el8.noarch", "Installed: luksmeta-9-4.el8.x86_64", "Installed: python3-tracer-0.7.5-2.el8.noarch", "Installed: libmodman-2.0.1-17.el8.x86_64", "Installed: libX11-1.6.8-5.el8.x86_64", "Installed: libX11-common-1.6.8-5.el8.noarch", "Installed: libXau-1.0.9-3.el8.x86_64", "Installed: libXext-1.3.4-1.el8.x86_64", "Installed: pixman-0.38.4-2.el8.x86_64", "Installed: libproxy-0.4.15-5.2.el8.x86_64", "Installed: libXrender-0.9.10-7.el8.x86_64", "Installed: python3-systemd-234-8.el8.x86_64", "Installed: redhat-logos-84.5-1.el8.x86_64", "Installed: rhsm-icons-1.28.32-1.el8.noarch", "Installed: libsoup-2.62.3-2.el8.x86_64", "Installed: setroubleshoot-plugins-3.3.14-1.el8.noarch", "Installed: libatasmart-0.19-14.el8.x86_64", "Installed: setroubleshoot-server-3.3.26-4.el8.x86_64", "Installed: libblockdev-2.24-11.el8.x86_64", "Installed: libstemmer-0-10.585svn.el8.x86_64", "Installed: libblockdev-crypto-2.24-11.el8.x86_64", "Installed: libblockdev-fs-2.24-11.el8.x86_64", "Installed: libblockdev-loop-2.24-11.el8.x86_64", "Installed: libblockdev-lvm-2.24-11.el8.x86_64", "Installed: libblockdev-mdraid-2.24-11.el8.x86_64", "Installed: libblockdev-part-2.24-11.el8.x86_64", "Installed: libblockdev-swap-2.24-11.el8.x86_64", "Installed: libblockdev-utils-2.24-11.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: tracer-common-0.7.5-2.el8.noarch", "Installed: sos-4.3-2.el8.noarch", "Installed: udisks2-2.9.0-9.el8.x86_64", "Installed: udisks2-iscsi-2.9.0-9.el8.x86_64", "Installed: udisks2-lvm2-2.9.0-9.el8.x86_64", "Installed: gsettings-desktop-schemas-3.32.0-6.el8.x86_64", "Installed: subscription-manager-cockpit-1.28.32-1.el8.noarch", "Installed: sscg-3.0.0-5.el8.x86_64", "Installed: dosfstools-4.1-6.el8.x86_64", "Installed: cairo-1.15.12-6.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: lvm2-8:2.03.14-6.el8.x86_64", "Installed: cairo-gobject-1.15.12-6.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-6.el8.x86_64", "Installed: iscsi-initiator-utils-6.2.1.4-4.git095f59c.el8.x86_64", "Installed: iscsi-initiator-utils-iscsiuio-6.2.1.4-4.git095f59c.el8.x86_64", "Installed: cockpit-273-2.el8.x86_64", "Installed: cockpit-bridge-273-2.el8.x86_64", "Installed: cockpit-system-273-2.el8.noarch", "Installed: cockpit-ws-273-2.el8.x86_64", "Installed: isns-utils-libs-0.99-1.el8.x86_64", "Installed: tpm2-tools-4.1.1-5.el8.x86_64", "Installed: mdadm-4.2-4.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Installed: libudisks2-2.9.0-9.el8.x86_64", "Installed: clevis-15-11.el8.x86_64", "Installed: clevis-luks-15-11.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: cockpit-packagekit-273-1.el8.noarch", "Installed: dejavu-fonts-common-2.35-7.el8.noarch", "Installed: dejavu-sans-mono-fonts-2.35-7.el8.noarch", "Installed: cockpit-storaged-273-1.el8.noarch", "Installed: device-mapper-event-8:1.02.181-6.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-6.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-26.el8.x86_64", "Installed: python3-cairo-1.16.3-6.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-26.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libappstream-glib-0.7.14-3.el8.x86_64", "Installed: jose-10-2.el8.x86_64", "Installed: jq-1.6-3.el8.x86_64" ] } TASK [linux-system-roles.cockpit : Create custom port configuration file directory] *** Wednesday 31 August 2022 15:18:34 +0000 (0:00:50.920) 0:00:51.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Create custom port configuration file] ****** Wednesday 31 August 2022 15:18:34 +0000 (0:00:00.035) 0:00:51.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Check if SELinux is enabled] **************** Wednesday 31 August 2022 15:18:34 +0000 (0:00:00.043) 0:00:52.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Allow cockpit to own custom port in SELinux policy] ********************** Wednesday 31 August 2022 15:18:34 +0000 (0:00:00.035) 0:00:52.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Clean up port configuration file for undefined custom port] *** Wednesday 31 August 2022 15:18:34 +0000 (0:00:00.036) 0:00:52.092 ****** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/listen.conf", "state": "absent" } TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled] *** Wednesday 31 August 2022 15:18:35 +0000 (0:00:00.485) 0:00:52.578 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "cockpit.socket", "state": "started", "status": { "Accept": "no", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "cockpit-motd.service shutdown.target cockpit.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Cockpit Web Service Socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "man:cockpit-ws(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecStartPost": "{ path=/bin/ln ; argv[]=/bin/ln -snf active.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/bin/ln ; argv[]=/bin/ln -snf inactive.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorName": "cockpit.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/cockpit.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "cockpit.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:9090 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "cockpit.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "RequiredBy": "cockpit.service", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "20", "TriggerLimitIntervalUSec": "2s", "Triggers": "cockpit.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "cockpit-motd.service", "Writable": "no" } } TASK [linux-system-roles.cockpit : Create cockpit.conf configuration file] ***** Wednesday 31 August 2022 15:18:36 +0000 (0:00:01.133) 0:00:53.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Link to configured existing certificate] **** Wednesday 31 August 2022 15:18:36 +0000 (0:00:00.035) 0:00:53.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Link to configured existing certificate key] *** Wednesday 31 August 2022 15:18:36 +0000 (0:00:00.035) 0:00:53.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [test - socket is active] ************************************************* Wednesday 31 August 2022 15:18:36 +0000 (0:00:00.044) 0:00:53.825 ****** ok: [sut] => { "changed": false, "cmd": [ "systemctl", "is-active", "cockpit.socket" ], "delta": "0:00:00.011608", "end": "2022-08-31 15:18:36.665813", "rc": 0, "start": "2022-08-31 15:18:36.654205" } STDOUT: active TASK [test - socket is enabled] ************************************************ Wednesday 31 August 2022 15:18:36 +0000 (0:00:00.441) 0:00:54.267 ****** ok: [sut] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "cockpit.socket" ], "delta": "0:00:00.011422", "end": "2022-08-31 15:18:36.949019", "rc": 0, "start": "2022-08-31 15:18:36.937597" } STDOUT: enabled TASK [test - cockpit works with TLS] ******************************************* Wednesday 31 August 2022 15:18:36 +0000 (0:00:00.283) 0:00:54.550 ****** changed: [sut] => { "changed": true, "checksum_dest": null, "checksum_src": "d7db2b1e4ce94b0a6ecbc7e09157578f4eaf7a60", "dest": "/run/out", "elapsed": 1, "gid": 0, "group": "root", "md5sum": "458d745d74cde80fd94c9a95a6cc96a8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:var_run_t:s0", "size": 11370, "src": "/root/.ansible/tmp/ansible-moduletmp-1661959117.5336509-viajgwfg/tmp3rdz2ad3", "state": "file", "status_code": 200, "uid": 0, "url": "https://localhost:9090" } MSG: OK (unknown bytes) TASK [test - HTTP response is something sensible] ****************************** Wednesday 31 August 2022 15:18:38 +0000 (0:00:01.638) 0:00:56.189 ****** changed: [sut] => { "changed": true, "cmd": [ "grep", "id=\"login-user-input\"", "/run/out" ], "delta": "0:00:00.004575", "end": "2022-08-31 15:18:38.859365", "rc": 0, "start": "2022-08-31 15:18:38.854790" } STDOUT: TASK [test - clean up output file] ********************************************* Wednesday 31 August 2022 15:18:38 +0000 (0:00:00.271) 0:00:56.460 ****** changed: [sut] => { "changed": true, "path": "/run/out", "state": "absent" } TASK [test - no configuration file] ******************************************** Wednesday 31 August 2022 15:18:39 +0000 (0:00:00.274) 0:00:56.735 ****** ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [test - no port configuration file] *************************************** Wednesday 31 August 2022 15:18:39 +0000 (0:00:00.421) 0:00:57.157 ****** ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [include_tasks] *********************************************************** Wednesday 31 August 2022 15:18:39 +0000 (0:00:00.274) 0:00:57.431 ****** included: /WORKDIR/dist-git-cockpit-port-selinux-2ewFut/tests/tasks/cleanup.yml for sut TASK [cleanup - packages] ****************************************************** Wednesday 31 August 2022 15:18:39 +0000 (0:00:00.039) 0:00:57.470 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: subscription-manager-cockpit-1.28.32-1.el8.noarch", "Removed: cockpit-273-2.el8.x86_64", "Removed: cockpit-bridge-273-2.el8.x86_64", "Removed: cockpit-packagekit-273-1.el8.noarch", "Removed: cockpit-storaged-273-1.el8.noarch", "Removed: cockpit-system-273-2.el8.noarch", "Removed: cockpit-ws-273-2.el8.x86_64" ] } TASK [cleanup - find certificates] ********************************************* Wednesday 31 August 2022 15:19:05 +0000 (0:00:25.436) 0:01:22.907 ****** ok: [sut] => { "changed": false, "examined": 3, "files": [ { "atime": 1661959117.59036, "ctime": 1661959118.3513837, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1661959118.363384, "ctime": 1661959118.357384, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed.cert", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1822, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1661959118.363384, "ctime": 1661959118.361384, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed.key", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 3, "skipped_paths": {} } MSG: All paths examined TASK [cleanup - certificates] ************************************************** Wednesday 31 August 2022 15:19:05 +0000 (0:00:00.436) 0:01:23.343 ****** changed: [sut] => (item={'path': '/etc/cockpit/ws-certs.d/0-self-signed-ca.pem', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 2277, 'inode': 587203106, 'dev': 51715, 'nlink': 1, 'atime': 1661959117.59036, 'mtime': 1661959118.3423834, 'ctime': 1661959118.3513837, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1661959117.59036, "ctime": 1661959118.3513837, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem", "state": "absent" } changed: [sut] => (item={'path': '/etc/cockpit/ws-certs.d/0-self-signed.cert', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 1822, 'inode': 587203107, 'dev': 51715, 'nlink': 1, 'atime': 1661959118.363384, 'mtime': 1661959118.3423834, 'ctime': 1661959118.357384, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1661959118.363384, "ctime": 1661959118.357384, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed.cert", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1822, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/cockpit/ws-certs.d/0-self-signed.cert", "state": "absent" } changed: [sut] => (item={'path': '/etc/cockpit/ws-certs.d/0-self-signed.key', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 1708, 'inode': 587203108, 'dev': 51715, 'nlink': 1, 'atime': 1661959118.363384, 'mtime': 1661959118.3423834, 'ctime': 1661959118.361384, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1661959118.363384, "ctime": 1661959118.361384, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1661959118.3423834, "nlink": 1, "path": "/etc/cockpit/ws-certs.d/0-self-signed.key", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/cockpit/ws-certs.d/0-self-signed.key", "state": "absent" } TASK [cleanup - config file] *************************************************** Wednesday 31 August 2022 15:19:06 +0000 (0:00:00.822) 0:01:24.166 ****** ok: [sut] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [cleanup - port customization] ******************************************** Wednesday 31 August 2022 15:19:06 +0000 (0:00:00.274) 0:01:24.440 ****** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [cleanup - reload systemd] ************************************************ Wednesday 31 August 2022 15:19:07 +0000 (0:00:00.303) 0:01:24.744 ****** ok: [sut] => { "changed": false, "name": null, "status": {} } PLAY RECAP ********************************************************************* sut : ok=22 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Wednesday 31 August 2022 15:19:07 +0000 (0:00:00.663) 0:01:25.407 ****** =============================================================================== linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 50.92s cleanup - packages ----------------------------------------------------- 25.44s test - cockpit works with TLS ------------------------------------------- 1.64s linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 1.13s cleanup - certificates -------------------------------------------------- 0.82s linux-system-roles.cockpit : Ensure ansible_facts used by role ---------- 0.75s cleanup - reload systemd ------------------------------------------------ 0.66s linux-system-roles.cockpit : Clean up port configuration file for undefined custom port --- 0.49s test - socket is active ------------------------------------------------- 0.44s cleanup - find certificates --------------------------------------------- 0.44s test - no configuration file -------------------------------------------- 0.42s cleanup - port customization -------------------------------------------- 0.30s test - socket is enabled ------------------------------------------------ 0.28s test - clean up output file --------------------------------------------- 0.27s test - no port configuration file --------------------------------------- 0.27s cleanup - config file --------------------------------------------------- 0.27s test - HTTP response is something sensible ------------------------------ 0.27s linux-system-roles.cockpit : Set version specific variables ------------- 0.05s linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.05s linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.05s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---