ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpwp_5o25m executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 07:51:02 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 07:51:03 +0000 (0:00:01.354) 0:00:01.372 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_certificate_runafter.yml *************************************** 1 plays in /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml PLAY [test certificate issuance with run_after shell script] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:5 Wednesday 03 August 2022 07:51:03 +0000 (0:00:00.035) 0:00:01.408 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Download current linux-system-roles.certificate] ************************* task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:8 Wednesday 03 August 2022 07:51:04 +0000 (0:00:01.048) 0:00:02.456 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install cockpit] ********************************************************* task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:21 Wednesday 03 August 2022 07:51:04 +0000 (0:00:00.038) 0:00:02.495 ****** TASK [linux-system-roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:1 Wednesday 03 August 2022 07:51:04 +0000 (0:00:00.039) 0:00:02.534 ****** included: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.cockpit : Ensure ansible_facts used by role] ********** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2 Wednesday 03 August 2022 07:51:04 +0000 (0:00:00.027) 0:00:02.562 ****** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.cockpit : Set version specific variables] ************* task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:8 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.516) 0:00:03.078 ****** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpn8ihicxm/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": [ "/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/vars/RedHat-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/vars/RedHat-8.yml" } TASK [linux-system-roles.cockpit : List active RHEL repositories] ************** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:9 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.039) 0:00:03.117 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Enable RHEL repositories] ******************* task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:17 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.022) 0:00:03.140 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:21 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.021) 0:00:03.161 ****** included: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml for /cache/rhel-8.qcow2 => (item=/tmp/tmpn8ihicxm/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] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:1 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.036) 0:00:03.198 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "cockpit_packages": "minimal" }, "changed": false } TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:8 Wednesday 03 August 2022 07:51:05 +0000 (0:00:00.036) 0:00:03.234 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cockpit-bridge-264.1-1.el8.x86_64", "Installed: cockpit-system-264.1-1.el8.noarch", "Installed: cockpit-ws-264.1-1.el8.x86_64" ] } TASK [linux-system-roles.cockpit : Create custom port configuration file directory] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:27 Wednesday 03 August 2022 07:51:25 +0000 (0:00:20.133) 0:00:23.367 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Create custom port configuration file] ****** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:35 Wednesday 03 August 2022 07:51:25 +0000 (0:00:00.026) 0:00:23.393 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Check if SELinux is enabled] **************** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:51 Wednesday 03 August 2022 07:51:25 +0000 (0:00:00.022) 0:00:23.416 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Allow cockpit to own custom port in SELinux policy] ********************** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:58 Wednesday 03 August 2022 07:51:25 +0000 (0:00:00.023) 0:00:23.439 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Clean up port configuration file for undefined custom port] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:66 Wednesday 03 August 2022 07:51:25 +0000 (0:00:00.023) 0:00:23.462 ****** ok: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:75 Wednesday 03 August 2022 07:51:26 +0000 (0:00:00.526) 0:00:23.989 ****** changed: [/cache/rhel-8.qcow2] => { "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.service cockpit-motd.service sockets.target shutdown.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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "11153", "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] ***** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:81 Wednesday 03 August 2022 07:51:26 +0000 (0:00:00.931) 0:00:24.920 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Link to configured existing certificate] **** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:92 Wednesday 03 August 2022 07:51:26 +0000 (0:00:00.024) 0:00:24.945 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Link to configured existing certificate key] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:102 Wednesday 03 August 2022 07:51:27 +0000 (0:00:00.023) 0:00:24.968 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [Allow certmonger to write into Cockpit's certificate directory] ********** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:31 Wednesday 03 August 2022 07:51:27 +0000 (0:00:00.031) 0:00:25.000 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/cockpit/ws-certs.d/", "secontext": "system_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Generate certificate with linux-system-roles.certificate] **************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:38 Wednesday 03 August 2022 07:51:27 +0000 (0:00:00.374) 0:00:25.374 ****** TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Wednesday 03 August 2022 07:51:27 +0000 (0:00:00.043) 0:00:25.418 ****** included: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Wednesday 03 August 2022 07:51:27 +0000 (0:00:00.027) 0:00:25.445 ****** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:8 Wednesday 03 August 2022 07:51:28 +0000 (0:00:00.551) 0:00:25.997 ****** skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Wednesday 03 August 2022 07:51:28 +0000 (0:00:00.040) 0:00:26.037 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:22 Wednesday 03 August 2022 07:51:29 +0000 (0:00:01.273) 0:00:27.311 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:33 Wednesday 03 August 2022 07:51:30 +0000 (0:00:01.252) 0:00:28.563 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:59 Wednesday 03 August 2022 07:51:31 +0000 (0:00:00.437) 0:00:29.001 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:88 Wednesday 03 August 2022 07:51:31 +0000 (0:00:00.407) 0:00:29.408 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 03:49:45 EDT", "ActiveEnterTimestampMonotonic": "30706800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target dbus.service sysinit.target basic.target dbus.socket system.slice systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 03:49:45 EDT", "AssertTimestampMonotonic": "30693319", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "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": "yes", "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": "yes", "ConditionTimestamp": "Wed 2022-08-03 03:49:45 EDT", "ConditionTimestampMonotonic": "30693319", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11031", "ExecMainStartTimestamp": "Wed 2022-08-03 03:49:45 EDT", "ExecMainStartTimestampMonotonic": "30694651", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; 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/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 03:49:45 EDT", "InactiveExitTimestampMonotonic": "30694685", "InvocationID": "90dbf6522cfd4004bbe71cb13d6e150f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11031", "MemoryAccounting": "yes", "MemoryCurrent": "2727936", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "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]", "StateChangeTimestamp": "Wed 2022-08-03 03:49:45 EDT", "StateChangeTimestampMonotonic": "30706800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 03:49:45 EDT", "WatchdogTimestampMonotonic": "30706795", "WatchdogUSec": "0" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:100 Wednesday 03 August 2022 07:51:31 +0000 (0:00:00.538) 0:00:29.947 ****** changed: [/cache/rhel-8.qcow2] => (item={'name': 'monger-cockpit', 'dns': ['localhost', 'www.example.com'], 'ca': 'local', 'group': 'cockpit-ws', 'run_after': 'DEST=/etc/cockpit/ws-certs.d/monger-cockpit.cert\ncat /etc/pki/tls/certs/monger-cockpit.crt \\\n/etc/pki/tls/private/monger-cockpit.key > $DEST\nchmod 640 $DEST\nchown root:cockpit-ws $DEST\n'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "local", "dns": [ "localhost", "www.example.com" ], "group": "cockpit-ws", "name": "monger-cockpit", "run_after": "DEST=/etc/cockpit/ws-certs.d/monger-cockpit.cert\ncat /etc/pki/tls/certs/monger-cockpit.crt \\\n/etc/pki/tls/private/monger-cockpit.key > $DEST\nchmod 640 $DEST\nchown root:cockpit-ws $DEST\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. File attributes updated. META: role_complete for /cache/rhel-8.qcow2 TASK [Get PEM of certmonger's local CA] **************************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:62 Wednesday 03 August 2022 07:51:32 +0000 (0:00:00.933) 0:00:30.881 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "openssl", "pkcs12", "-in", "/var/lib/certmonger/local/creds", "-out", "/var/lib/certmonger/local/ca.pem", "-nokeys", "-nodes", "-passin", "pass:" ], "delta": "0:00:00.007078", "end": "2022-08-03 03:51:33.542384", "rc": 0, "start": "2022-08-03 03:51:33.535306" } TASK [test - cockpit works with TLS and expected certificate] ****************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:69 Wednesday 03 August 2022 07:51:33 +0000 (0:00:00.510) 0:00:31.391 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "curl", "--cacert", "/var/lib/certmonger/local/ca.pem", "https://localhost:9090" ], "delta": "0:00:00.203644", "end": "2022-08-03 03:51:34.117106", "rc": 0, "start": "2022-08-03 03:51:33.913462" } STDOUT: Loading...

Please enable JavaScript to use the Web Console.

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 759 0 759 0 0 3912 0 --:--:-- --:--:-- --:--:-- 3892 100 11296 0 11296 0 0 58226 0 --:--:-- --:--:-- --:--:-- 57928 TASK [test - get certmonger tracking status] *********************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:76 Wednesday 03 August 2022 07:51:34 +0000 (0:00:00.576) 0:00:31.968 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "getcert", "list", "--tracking-only", "-f", "/etc/pki/tls/certs/monger-cockpit.crt" ], "delta": "0:00:00.043116", "end": "2022-08-03 03:51:34.541868", "rc": 0, "start": "2022-08-03 03:51:34.498752" } STDOUT: Number of certificates and requests being tracked: 1. Request ID '20220803075132': status: MONITORING stuck: no key pair storage: type=FILE,location='/etc/pki/tls/private/monger-cockpit.key' certificate: type=FILE,location='/etc/pki/tls/certs/monger-cockpit.crt' CA: local issuer: CN=a9c7001c-d21441bd-bb76bb97-0347086d,CN=Local Signing Authority subject: CN=localhost issued: 2022-08-03 03:51:32 EDT expires: 2023-08-03 03:49:46 EDT dns: localhost,www.example.com key usage: digitalSignature,keyEncipherment eku: id-kp-serverAuth,id-kp-clientAuth pre-save command: post-save command: /etc/certmonger/post-scripts/monger-cockpit-59d1099.sh track: yes auto-renew: yes TASK [test - ensure certificate generation succeeded] ************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:83 Wednesday 03 August 2022 07:51:34 +0000 (0:00:00.424) 0:00:32.392 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test - clean up tracked certificate] ************************************* task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:87 Wednesday 03 August 2022 07:51:34 +0000 (0:00:00.031) 0:00:32.424 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "getcert", "stop-tracking", "-f", "/etc/pki/tls/certs/monger-cockpit.crt" ], "delta": "0:00:00.035091", "end": "2022-08-03 03:51:34.977169", "rc": 0, "start": "2022-08-03 03:51:34.942078" } STDOUT: Request "20220803075132" removed. TASK [test - clean up generated certificate] *********************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:94 Wednesday 03 August 2022 07:51:34 +0000 (0:00:00.414) 0:00:32.838 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/pki/tls/certs/monger-cockpit.crt", "state": "absent" } TASK [test - clean up generated private key] *********************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:99 Wednesday 03 August 2022 07:51:35 +0000 (0:00:00.387) 0:00:33.226 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/pki/tls/private/monger-cockpit.key", "state": "absent" } TASK [test - clean up copied certificate] ************************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:104 Wednesday 03 August 2022 07:51:35 +0000 (0:00:00.369) 0:00:33.595 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/cockpit/ws-certs.d/monger-cockpit.cert", "state": "absent" } TASK [test - generic cleanup] ************************************************** task path: /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:109 Wednesday 03 August 2022 07:51:36 +0000 (0:00:00.367) 0:00:33.962 ****** included: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml for /cache/rhel-8.qcow2 TASK [cleanup - packages] ****************************************************** task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:1 Wednesday 03 August 2022 07:51:36 +0000 (0:00:00.027) 0:00:33.990 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: cockpit-system-264.1-1.el8.noarch", "Removed: cockpit-ws-264.1-1.el8.x86_64", "Removed: cockpit-bridge-264.1-1.el8.x86_64" ] } TASK [cleanup - find certificates] ********************************************* task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:13 Wednesday 03 August 2022 07:51:54 +0000 (0:00:18.041) 0:00:52.032 ****** [WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue: '/etc/cockpit/ws-certs.d/' is not a directory ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [cleanup - certificates] ************************************************** task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:23 Wednesday 03 August 2022 07:51:54 +0000 (0:00:00.482) 0:00:52.514 ****** TASK [cleanup - config file] *************************************************** task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:32 Wednesday 03 August 2022 07:51:54 +0000 (0:00:00.019) 0:00:52.534 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [cleanup - port customization] ******************************************** task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:40 Wednesday 03 August 2022 07:51:54 +0000 (0:00:00.389) 0:00:52.924 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [cleanup - reload systemd] ************************************************ task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:48 Wednesday 03 August 2022 07:51:55 +0000 (0:00:00.398) 0:00:53.322 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=33 changed=8 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Wednesday 03 August 2022 07:51:55 +0000 (0:00:00.618) 0:00:53.940 ****** =============================================================================== linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 20.13s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:8 - cleanup - packages ----------------------------------------------------- 18.04s /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:1 ------------------------------------ set up internal repositories -------------------------------------------- 1.35s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 1.27s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 -- linux-system-roles.certificate : Ensure provider packages are installed --- 1.25s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:22 - Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:5 ----------------------- linux-system-roles.certificate : Ensure certificate requests ------------ 0.93s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:100 linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.93s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:75 ----- cleanup - reload systemd ------------------------------------------------ 0.62s /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:48 ----------------------------------- test - cockpit works with TLS and expected certificate ------------------ 0.58s /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:69 ---------------------- linux-system-roles.certificate : Ensure ansible_facts used by role ------ 0.55s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 linux-system-roles.certificate : Ensure provider service is running ----- 0.54s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:88 - linux-system-roles.cockpit : Clean up port configuration file for undefined custom port --- 0.53s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:66 ----- linux-system-roles.cockpit : Ensure ansible_facts used by role ---------- 0.52s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2 -- Get PEM of certmonger's local CA ---------------------------------------- 0.51s /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:62 ---------------------- cleanup - find certificates --------------------------------------------- 0.48s /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:13 ----------------------------------- linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.44s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:33 - test - get certmonger tracking status ----------------------------------- 0.42s /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:76 ---------------------- test - clean up tracked certificate ------------------------------------- 0.41s /tmp/tmpn8ihicxm/tests/tests_certificate_runafter.yml:87 ---------------------- linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.41s /tmp/tmpn8ihicxm/tests/roles/linux-system-roles.certificate/tasks/main.yml:59 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpwp_5o25m executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 07:59:40 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 07:59:41 +0000 (0:00:01.288) 0:00:01.306 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_certificate_runafter.yml *************************************** 1 plays in /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml PLAY [test certificate issuance with run_after shell script] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:5 Wednesday 03 August 2022 07:59:41 +0000 (0:00:00.013) 0:00:01.319 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Download current linux-system-roles.certificate] ************************* task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:8 Wednesday 03 August 2022 07:59:42 +0000 (0:00:01.060) 0:00:02.380 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install cockpit] ********************************************************* task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:21 Wednesday 03 August 2022 07:59:42 +0000 (0:00:00.037) 0:00:02.418 ****** TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:1 Wednesday 03 August 2022 07:59:42 +0000 (0:00:00.045) 0:00:02.463 ****** included: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Wednesday 03 August 2022 07:59:42 +0000 (0:00:00.027) 0:00:02.490 ****** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ****** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:7 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.510) 0:00:03.001 ****** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/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": [ "/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/RedHat-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/RedHat-8.yml" } TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] ******* task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:9 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.038) 0:00:03.039 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************ task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:17 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.020) 0:00:03.059 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:21 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.019) 0:00:03.079 ****** included: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml for /cache/rhel-8.qcow2 => (item=/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml) TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:1 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.034) 0:00:03.113 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "cockpit_packages": "minimal" }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:6 Wednesday 03 August 2022 07:59:43 +0000 (0:00:00.034) 0:00:03.148 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cockpit-bridge-264.1-1.el8.x86_64", "Installed: cockpit-system-264.1-1.el8.noarch", "Installed: cockpit-ws-264.1-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file directory] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:27 Wednesday 03 August 2022 08:00:02 +0000 (0:00:18.752) 0:00:21.901 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:35 Wednesday 03 August 2022 08:00:02 +0000 (0:00:00.029) 0:00:21.930 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Check if SELinux is enabled] ********* task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:51 Wednesday 03 August 2022 08:00:02 +0000 (0:00:00.022) 0:00:21.953 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Allow cockpit to own custom port in SELinux policy] ********************** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:58 Wednesday 03 August 2022 08:00:02 +0000 (0:00:00.022) 0:00:21.975 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Clean up port configuration file for undefined custom port] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:66 Wednesday 03 August 2022 08:00:02 +0000 (0:00:00.022) 0:00:21.998 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/listen.conf", "state": "absent" } TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:75 Wednesday 03 August 2022 08:00:02 +0000 (0:00:00.509) 0:00:22.507 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "cockpit.socket", "state": "started", "status": { "Accept": "no", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "cockpit-motd.service sockets.target cockpit.service shutdown.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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "11153", "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 [fedora.linux_system_roles.cockpit : Create cockpit.conf configuration file] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:81 Wednesday 03 August 2022 08:00:03 +0000 (0:00:00.965) 0:00:23.473 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Link to configured existing certificate] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:92 Wednesday 03 August 2022 08:00:03 +0000 (0:00:00.025) 0:00:23.498 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Link to configured existing certificate key] *** task path: /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:102 Wednesday 03 August 2022 08:00:03 +0000 (0:00:00.024) 0:00:23.522 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [Allow certmonger to write into Cockpit's certificate directory] ********** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:31 Wednesday 03 August 2022 08:00:03 +0000 (0:00:00.029) 0:00:23.552 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/cockpit/ws-certs.d/", "secontext": "system_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Generate certificate with linux-system-roles.certificate] **************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:38 Wednesday 03 August 2022 08:00:04 +0000 (0:00:00.414) 0:00:23.966 ****** TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:2 Wednesday 03 August 2022 08:00:04 +0000 (0:00:00.040) 0:00:24.007 ****** included: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Wednesday 03 August 2022 08:00:04 +0000 (0:00:00.024) 0:00:24.032 ****** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/set_vars.yml:8 Wednesday 03 August 2022 08:00:04 +0000 (0:00:00.533) 0:00:24.565 ****** skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:5 Wednesday 03 August 2022 08:00:05 +0000 (0:00:00.042) 0:00:24.607 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:22 Wednesday 03 August 2022 08:00:06 +0000 (0:00:01.307) 0:00:25.914 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:33 Wednesday 03 August 2022 08:00:07 +0000 (0:00:01.255) 0:00:27.169 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:59 Wednesday 03 August 2022 08:00:07 +0000 (0:00:00.392) 0:00:27.562 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:88 Wednesday 03 August 2022 08:00:08 +0000 (0:00:00.398) 0:00:27.961 ****** ok: [/cache/rhel-8.qcow2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 03:58:23 EDT", "ActiveEnterTimestampMonotonic": "31083034", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service basic.target sysinit.target systemd-journald.socket system.slice network.target syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 03:58:23 EDT", "AssertTimestampMonotonic": "31070380", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "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": "yes", "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": "yes", "ConditionTimestamp": "Wed 2022-08-03 03:58:23 EDT", "ConditionTimestampMonotonic": "31070380", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10891", "ExecMainStartTimestamp": "Wed 2022-08-03 03:58:23 EDT", "ExecMainStartTimestampMonotonic": "31071717", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; 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/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 03:58:23 EDT", "InactiveExitTimestampMonotonic": "31071749", "InvocationID": "b30287a73b1346d38445f4ece62fa483", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10891", "MemoryAccounting": "yes", "MemoryCurrent": "2727936", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "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]", "StateChangeTimestamp": "Wed 2022-08-03 03:58:23 EDT", "StateChangeTimestampMonotonic": "31083034", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 03:58:23 EDT", "WatchdogTimestampMonotonic": "31083032", "WatchdogUSec": "0" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:100 Wednesday 03 August 2022 08:00:08 +0000 (0:00:00.531) 0:00:28.492 ****** changed: [/cache/rhel-8.qcow2] => (item={'name': 'monger-cockpit', 'dns': ['localhost', 'www.example.com'], 'ca': 'local', 'group': 'cockpit-ws', 'run_after': 'DEST=/etc/cockpit/ws-certs.d/monger-cockpit.cert\ncat /etc/pki/tls/certs/monger-cockpit.crt \\\n/etc/pki/tls/private/monger-cockpit.key > $DEST\nchmod 640 $DEST\nchown root:cockpit-ws $DEST\n'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "local", "dns": [ "localhost", "www.example.com" ], "group": "cockpit-ws", "name": "monger-cockpit", "run_after": "DEST=/etc/cockpit/ws-certs.d/monger-cockpit.cert\ncat /etc/pki/tls/certs/monger-cockpit.crt \\\n/etc/pki/tls/private/monger-cockpit.key > $DEST\nchmod 640 $DEST\nchown root:cockpit-ws $DEST\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. File attributes updated. META: role_complete for /cache/rhel-8.qcow2 TASK [Get PEM of certmonger's local CA] **************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:62 Wednesday 03 August 2022 08:00:09 +0000 (0:00:00.996) 0:00:29.489 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "openssl", "pkcs12", "-in", "/var/lib/certmonger/local/creds", "-out", "/var/lib/certmonger/local/ca.pem", "-nokeys", "-nodes", "-passin", "pass:" ], "delta": "0:00:00.006533", "end": "2022-08-03 04:00:09.331324", "rc": 0, "start": "2022-08-03 04:00:09.324791" } TASK [test - cockpit works with TLS and expected certificate] ****************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:69 Wednesday 03 August 2022 08:00:10 +0000 (0:00:00.497) 0:00:29.986 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "curl", "--cacert", "/var/lib/certmonger/local/ca.pem", "https://localhost:9090" ], "delta": "0:00:00.194559", "end": "2022-08-03 04:00:09.887578", "rc": 0, "start": "2022-08-03 04:00:09.693019" } STDOUT: Loading...

Please enable JavaScript to use the Web Console.

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 11296 0 11296 0 0 60731 0 --:--:-- --:--:-- --:--:-- 60731 TASK [test - get certmonger tracking status] *********************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:76 Wednesday 03 August 2022 08:00:10 +0000 (0:00:00.562) 0:00:30.548 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "getcert", "list", "--tracking-only", "-f", "/etc/pki/tls/certs/monger-cockpit.crt" ], "delta": "0:00:00.042154", "end": "2022-08-03 04:00:10.305395", "rc": 0, "start": "2022-08-03 04:00:10.263241" } STDOUT: Number of certificates and requests being tracked: 1. Request ID '20220803080008': status: MONITORING stuck: no key pair storage: type=FILE,location='/etc/pki/tls/private/monger-cockpit.key' certificate: type=FILE,location='/etc/pki/tls/certs/monger-cockpit.crt' CA: local issuer: CN=6e2560b5-07844975-a529a507-f9ee124b,CN=Local Signing Authority subject: CN=localhost issued: 2022-08-03 04:00:08 EDT expires: 2023-08-03 03:58:23 EDT dns: localhost,www.example.com key usage: digitalSignature,keyEncipherment eku: id-kp-serverAuth,id-kp-clientAuth pre-save command: post-save command: /etc/certmonger/post-scripts/monger-cockpit-59d1099.sh track: yes auto-renew: yes TASK [test - ensure certificate generation succeeded] ************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:83 Wednesday 03 August 2022 08:00:11 +0000 (0:00:00.413) 0:00:30.962 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [test - clean up tracked certificate] ************************************* task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:87 Wednesday 03 August 2022 08:00:11 +0000 (0:00:00.031) 0:00:30.994 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "getcert", "stop-tracking", "-f", "/etc/pki/tls/certs/monger-cockpit.crt" ], "delta": "0:00:00.057048", "end": "2022-08-03 04:00:10.762992", "rc": 0, "start": "2022-08-03 04:00:10.705944" } STDOUT: Request "20220803080008" removed. TASK [test - clean up generated certificate] *********************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:94 Wednesday 03 August 2022 08:00:11 +0000 (0:00:00.426) 0:00:31.420 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/pki/tls/certs/monger-cockpit.crt", "state": "absent" } TASK [test - clean up generated private key] *********************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:99 Wednesday 03 August 2022 08:00:12 +0000 (0:00:00.374) 0:00:31.795 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/pki/tls/private/monger-cockpit.key", "state": "absent" } TASK [test - clean up copied certificate] ************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:104 Wednesday 03 August 2022 08:00:12 +0000 (0:00:00.365) 0:00:32.160 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "path": "/etc/cockpit/ws-certs.d/monger-cockpit.cert", "state": "absent" } TASK [test - generic cleanup] ************************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:109 Wednesday 03 August 2022 08:00:12 +0000 (0:00:00.364) 0:00:32.525 ****** included: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml for /cache/rhel-8.qcow2 TASK [cleanup - packages] ****************************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:1 Wednesday 03 August 2022 08:00:12 +0000 (0:00:00.028) 0:00:32.553 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: cockpit-system-264.1-1.el8.noarch", "Removed: cockpit-ws-264.1-1.el8.x86_64", "Removed: cockpit-bridge-264.1-1.el8.x86_64" ] } TASK [cleanup - find certificates] ********************************************* task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:13 Wednesday 03 August 2022 08:00:30 +0000 (0:00:17.582) 0:00:50.135 ****** [WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue: '/etc/cockpit/ws-certs.d/' is not a directory ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [cleanup - certificates] ************************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:23 Wednesday 03 August 2022 08:00:31 +0000 (0:00:00.499) 0:00:50.635 ****** TASK [cleanup - config file] *************************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:32 Wednesday 03 August 2022 08:00:31 +0000 (0:00:00.021) 0:00:50.657 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [cleanup - port customization] ******************************************** task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:40 Wednesday 03 August 2022 08:00:31 +0000 (0:00:00.376) 0:00:51.034 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [cleanup - reload systemd] ************************************************ task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:48 Wednesday 03 August 2022 08:00:31 +0000 (0:00:00.364) 0:00:51.398 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=33 changed=8 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Wednesday 03 August 2022 08:00:32 +0000 (0:00:00.627) 0:00:52.026 ****** =============================================================================== fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 18.75s /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:6 cleanup - packages ----------------------------------------------------- 17.58s /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:1 ---------------------------- linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 1.31s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:5 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.certificate : Ensure provider packages are installed --- 1.26s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:22 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:5 --------------- linux-system-roles.certificate : Ensure certificate requests ------------ 1.00s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:100 fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.97s /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:75 cleanup - reload systemd ------------------------------------------------ 0.63s /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:48 --------------------------- test - cockpit works with TLS and expected certificate ------------------ 0.56s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:69 -------------- linux-system-roles.certificate : Ensure ansible_facts used by role ------ 0.53s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 linux-system-roles.certificate : Ensure provider service is running ----- 0.53s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:88 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.51s /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 fedora.linux_system_roles.cockpit : Clean up port configuration file for undefined custom port --- 0.51s /tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:66 cleanup - find certificates --------------------------------------------- 0.50s /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:13 --------------------------- Get PEM of certmonger's local CA ---------------------------------------- 0.50s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:62 -------------- test - clean up tracked certificate ------------------------------------- 0.43s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:87 -------------- Allow certmonger to write into Cockpit's certificate directory ---------- 0.41s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:31 -------------- test - get certmonger tracking status ----------------------------------- 0.41s /tmp/tmpk2tzj5__/tests/cockpit/tests_certificate_runafter.yml:76 -------------- linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.40s /tmp/tmpk2tzj5__/tests/cockpit/roles/linux-system-roles.certificate/tasks/main.yml:59