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:52:46 +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:52:47 +0000 (0:00:01.332) 0:00:01.349 ******
===============================================================================
set up internal repositories -------------------------------------------- 1.33s
/cache/rhel-8_setup.yml:5 -----------------------------------------------------
PLAYBOOK: tests_default.yml ****************************************************
1 plays in /tmp/tmpn8ihicxm/tests/tests_default.yml
PLAY [Test role with default options] ******************************************
META: ran handlers
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:52:47 +0000 (0:00:00.047) 0:00:01.397 ******
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:52:47 +0000 (0:00:00.021) 0:00:01.418 ******
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:52:48 +0000 (0:00:00.741) 0:00:02.160 ******
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:52:48 +0000 (0:00:00.033) 0:00:02.194 ******
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:52:48 +0000 (0:00:00.018) 0:00:02.213 ******
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:52:48 +0000 (0:00:00.018) 0:00:02.231 ******
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:52:48 +0000 (0:00:00.029) 0:00:02.261 ******
ok: [/cache/rhel-8.qcow2] => {
"ansible_facts": {
"cockpit_packages": "default"
},
"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:52:48 +0000 (0:00:00.032) 0:00:02.293 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"rc": 0,
"results": [
"Installed: libblockdev-fs-2.24-8.el8.x86_64",
"Installed: libluksmeta-9-4.el8.x86_64",
"Installed: python3-setuptools-39.2.0-6.el8.noarch",
"Installed: libblockdev-loop-2.24-8.el8.x86_64",
"Installed: libblockdev-lvm-2.24-8.el8.x86_64",
"Installed: libgudev-232-4.el8.x86_64",
"Installed: device-mapper-event-8:1.02.181-3.el8.x86_64",
"Installed: libblockdev-mdraid-2.24-8.el8.x86_64",
"Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64",
"Installed: device-mapper-multipath-0.8.4-22.el8.x86_64",
"Installed: libxslt-1.1.32-6.el8.x86_64",
"Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64",
"Installed: libblockdev-part-2.24-8.el8.x86_64",
"Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64",
"Installed: libblockdev-swap-2.24-8.el8.x86_64",
"Installed: libudisks2-2.9.0-9.el8.x86_64",
"Installed: libblockdev-utils-2.24-8.el8.x86_64",
"Installed: python3-psutil-5.4.3-11.el8.x86_64",
"Installed: libaio-0.3.112-1.el8.x86_64",
"Installed: subscription-manager-cockpit-1.28.29-3.el8.noarch",
"Installed: libbytesize-1.4-3.el8.x86_64",
"Installed: lvm2-8:2.03.14-3.el8.x86_64",
"Installed: lvm2-libs-8:2.03.14-3.el8.x86_64",
"Installed: volume_key-libs-0.3.11-5.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: tpm2-tools-4.1.1-5.el8.x86_64",
"Installed: isns-utils-libs-0.99-1.el8.x86_64",
"Installed: cockpit-264.1-1.el8.x86_64",
"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",
"Installed: python3-html5lib-1:0.999999999-6.el8.noarch",
"Installed: tracer-common-0.7.5-2.el8.noarch",
"Installed: mdadm-4.2-2.el8.x86_64",
"Installed: clevis-15-8.el8.x86_64",
"Installed: clevis-luks-15-8.el8.x86_64",
"Installed: jose-10-2.el8.x86_64",
"Installed: python3-tracer-0.7.5-2.el8.noarch",
"Installed: jq-1.6-3.el8.x86_64",
"Installed: cryptsetup-2.3.7-2.el8.x86_64",
"Installed: python3-webencodings-0.5.1-6.el8.noarch",
"Installed: userspace-rcu-0.10.1-4.el8.x86_64",
"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: libjose-10-2.el8.x86_64",
"Installed: cockpit-packagekit-264.1-1.el8.noarch",
"Installed: luksmeta-9-4.el8.x86_64",
"Installed: oniguruma-6.8.2-2.el8.x86_64",
"Installed: cockpit-storaged-264.1-1.el8.noarch",
"Installed: libatasmart-0.19-14.el8.x86_64",
"Installed: python3-lxml-4.2.3-4.el8.x86_64",
"Installed: libblockdev-2.24-8.el8.x86_64",
"Installed: libblockdev-crypto-2.24-8.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:53:13 +0000 (0:00:24.916) 0:00:27.209 ******
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:53:13 +0000 (0:00:00.027) 0:00:27.236 ******
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:53:13 +0000 (0:00:00.023) 0:00:27.260 ******
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:53:13 +0000 (0:00:00.022) 0:00:27.283 ******
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:53:13 +0000 (0:00:00.023) 0:00:27.307 ******
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:53:14 +0000 (0:00:00.503) 0:00:27.810 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"enabled": true,
"name": "cockpit.socket",
"state": "started",
"status": {
"Accept": "no",
"ActiveEnterTimestampMonotonic": "0",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "inactive",
"After": "sysinit.target systemd-journald.socket system.slice",
"AllowIsolate": "no",
"AllowedCPUs": "",
"AllowedMemoryNodes": "",
"AmbientCapabilities": "",
"AssertResult": "no",
"AssertTimestampMonotonic": "0",
"Backlog": "128",
"Before": "sockets.target shutdown.target cockpit-motd.service cockpit.service",
"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": "system.slice sysinit.target",
"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:53:15 +0000 (0:00:00.901) 0:00:28.711 ******
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:53:15 +0000 (0:00:00.024) 0:00:28.736 ******
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:53:15 +0000 (0:00:00.022) 0:00:28.759 ******
skipping: [/cache/rhel-8.qcow2] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: role_complete for /cache/rhel-8.qcow2
TASK [test - socket is active] *************************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:11
Wednesday 03 August 2022 07:53:15 +0000 (0:00:00.028) 0:00:28.787 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"cmd": [
"systemctl",
"is-active",
"cockpit.socket"
],
"delta": "0:00:00.007789",
"end": "2022-08-03 03:53:15.683750",
"rc": 0,
"start": "2022-08-03 03:53:15.675961"
}
STDOUT:
active
TASK [test - socket is enabled] ************************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:15
Wednesday 03 August 2022 07:53:15 +0000 (0:00:00.479) 0:00:29.266 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"cmd": [
"systemctl",
"is-enabled",
"cockpit.socket"
],
"delta": "0:00:00.007896",
"end": "2022-08-03 03:53:16.043571",
"rc": 0,
"start": "2022-08-03 03:53:16.035675"
}
STDOUT:
enabled
TASK [test - cockpit works with TLS] *******************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:19
Wednesday 03 August 2022 07:53:15 +0000 (0:00:00.360) 0:00:29.627 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"checksum_dest": null,
"checksum_src": "5f83d5e63b542878aa6c3d1054b15570c0bd2908",
"dest": "/run/out",
"elapsed": 1,
"gid": 0,
"group": "root",
"md5sum": "c125bc1ebec0ed672a972cbbb211d46f",
"mode": "0644",
"owner": "root",
"secontext": "system_u:object_r:var_run_t:s0",
"size": 11318,
"src": "/root/.ansible/tmp/ansible-tmp-1659513195.9920034-259926-172860220555454/tmp_z93ks3g",
"state": "file",
"status_code": 200,
"uid": 0,
"url": "https://localhost:9090"
}
MSG:
OK (unknown bytes)
TASK [test - HTTP response is something sensible] ******************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:25
Wednesday 03 August 2022 07:53:17 +0000 (0:00:01.908) 0:00:31.536 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"cmd": [
"grep",
"id=\"login-user-input\"",
"/run/out"
],
"delta": "0:00:00.003092",
"end": "2022-08-03 03:53:18.319461",
"rc": 0,
"start": "2022-08-03 03:53:18.316369"
}
STDOUT:
TASK [test - clean up output file] *********************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:28
Wednesday 03 August 2022 07:53:18 +0000 (0:00:00.366) 0:00:31.902 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"path": "/run/out",
"state": "absent"
}
TASK [test - no configuration file] ********************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:33
Wednesday 03 August 2022 07:53:18 +0000 (0:00:00.367) 0:00:32.270 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [test - no port configuration file] ***************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:39
Wednesday 03 August 2022 07:53:19 +0000 (0:00:00.493) 0:00:32.764 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [include_tasks] ***********************************************************
task path: /tmp/tmpn8ihicxm/tests/tests_default.yml:46
Wednesday 03 August 2022 07:53:19 +0000 (0:00:00.361) 0:00:33.125 ******
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:53:19 +0000 (0:00:00.026) 0:00:33.152 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"rc": 0,
"results": [
"Removed: cockpit-264.1-1.el8.x86_64",
"Removed: cockpit-bridge-264.1-1.el8.x86_64",
"Removed: cockpit-packagekit-264.1-1.el8.noarch",
"Removed: cockpit-storaged-264.1-1.el8.noarch",
"Removed: cockpit-system-264.1-1.el8.noarch",
"Removed: cockpit-ws-264.1-1.el8.x86_64",
"Removed: subscription-manager-cockpit-1.28.29-3.el8.noarch"
]
}
TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:13
Wednesday 03 August 2022 07:53:37 +0000 (0:00:17.615) 0:00:50.767 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"examined": 3,
"files": [
{
"atime": 1659513196.6715841,
"ctime": 1659513197.7525842,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16811681,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 2358,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
},
{
"atime": 1659513197.7635841,
"ctime": 1659513197.7565842,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16811685,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 1883,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
},
{
"atime": 1659513197.7635841,
"ctime": 1659513197.7625842,
"dev": 64515,
"gid": 991,
"gr_name": "cockpit-ws",
"inode": 16811686,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.key",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 1704,
"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] **************************************************
task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:23
Wednesday 03 August 2022 07:53:37 +0000 (0:00:00.484) 0:00:51.252 ******
changed: [/cache/rhel-8.qcow2] => (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': 2358, 'inode': 16811681, 'dev': 64515, 'nlink': 1, 'atime': 1659513196.6715841, 'mtime': 1659513197.744584, 'ctime': 1659513197.7525842, '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": 1659513196.6715841,
"ctime": 1659513197.7525842,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16811681,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 2358,
"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: [/cache/rhel-8.qcow2] => (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': 1883, 'inode': 16811685, 'dev': 64515, 'nlink': 1, 'atime': 1659513197.7635841, 'mtime': 1659513197.744584, 'ctime': 1659513197.7565842, '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": 1659513197.7635841,
"ctime": 1659513197.7565842,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16811685,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 1883,
"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: [/cache/rhel-8.qcow2] => (item={'path': '/etc/cockpit/ws-certs.d/0-self-signed.key', 'mode': '0640', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 991, 'size': 1704, 'inode': 16811686, 'dev': 64515, 'nlink': 1, 'atime': 1659513197.7635841, 'mtime': 1659513197.744584, 'ctime': 1659513197.7625842, 'gr_name': 'cockpit-ws', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => {
"ansible_loop_var": "item",
"changed": true,
"item": {
"atime": 1659513197.7635841,
"ctime": 1659513197.7625842,
"dev": 64515,
"gid": 991,
"gr_name": "cockpit-ws",
"inode": 16811686,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659513197.744584,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.key",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 1704,
"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] ***************************************************
task path: /tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:32
Wednesday 03 August 2022 07:53:38 +0000 (0:00:01.073) 0:00:52.326 ******
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:53:38 +0000 (0:00:00.357) 0:00:52.684 ******
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:53:39 +0000 (0:00:00.348) 0:00:53.032 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"name": null,
"status": {}
}
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
/cache/rhel-8.qcow2 : ok=23 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
Wednesday 03 August 2022 07:53:40 +0000 (0:00:00.665) 0:00:53.698 ******
===============================================================================
linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 24.92s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:8 -
cleanup - packages ----------------------------------------------------- 17.62s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:1 ------------------------------------
test - cockpit works with TLS ------------------------------------------- 1.91s
/tmp/tmpn8ihicxm/tests/tests_default.yml:19 -----------------------------------
set up internal repositories -------------------------------------------- 1.33s
/cache/rhel-8_setup.yml:5 -----------------------------------------------------
cleanup - certificates -------------------------------------------------- 1.07s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:23 -----------------------------------
linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.90s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:75 -----
linux-system-roles.cockpit : Ensure ansible_facts used by role ---------- 0.74s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2 --
cleanup - reload systemd ------------------------------------------------ 0.67s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:48 -----------------------------------
linux-system-roles.cockpit : Clean up port configuration file for undefined custom port --- 0.50s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/main.yml:66 -----
test - no configuration file -------------------------------------------- 0.49s
/tmp/tmpn8ihicxm/tests/tests_default.yml:33 -----------------------------------
cleanup - find certificates --------------------------------------------- 0.48s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:13 -----------------------------------
test - socket is active ------------------------------------------------- 0.48s
/tmp/tmpn8ihicxm/tests/tests_default.yml:11 -----------------------------------
test - clean up output file --------------------------------------------- 0.37s
/tmp/tmpn8ihicxm/tests/tests_default.yml:28 -----------------------------------
test - HTTP response is something sensible ------------------------------ 0.37s
/tmp/tmpn8ihicxm/tests/tests_default.yml:25 -----------------------------------
test - no port configuration file --------------------------------------- 0.36s
/tmp/tmpn8ihicxm/tests/tests_default.yml:39 -----------------------------------
test - socket is enabled ------------------------------------------------ 0.36s
/tmp/tmpn8ihicxm/tests/tests_default.yml:15 -----------------------------------
cleanup - config file --------------------------------------------------- 0.36s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:32 -----------------------------------
cleanup - port customization -------------------------------------------- 0.35s
/tmp/tmpn8ihicxm/tests/tasks/cleanup.yml:40 -----------------------------------
linux-system-roles.cockpit : Set version specific variables ------------- 0.03s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:8 --
linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.03s
/tmp/tmpn8ihicxm/tests/roles/linux-system-roles.cockpit/tasks/setup-dnf.yml:1 -
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 08:01:21 +0000 (0:00:00.018) 0:00:00.018 ******
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 08:01:22 +0000 (0:00:01.274) 0:00:01.293 ******
===============================================================================
set up internal repositories -------------------------------------------- 1.27s
/cache/rhel-8_setup.yml:5 -----------------------------------------------------
PLAYBOOK: tests_default.yml ****************************************************
1 plays in /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml
PLAY [Test role with default options] ******************************************
META: ran handlers
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 08:01:22 +0000 (0:00:00.055) 0:00:01.348 ******
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 08:01:22 +0000 (0:00:00.022) 0:00:01.370 ******
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 08:01:23 +0000 (0:00:00.726) 0:00:02.097 ******
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 08:01:23 +0000 (0:00:00.036) 0:00:02.133 ******
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 08:01:23 +0000 (0:00:00.020) 0:00:02.154 ******
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 08:01:23 +0000 (0:00:00.020) 0:00:02.174 ******
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 08:01:23 +0000 (0:00:00.031) 0:00:02.206 ******
ok: [/cache/rhel-8.qcow2] => {
"ansible_facts": {
"cockpit_packages": "default"
},
"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 08:01:23 +0000 (0:00:00.033) 0:00:02.239 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"rc": 0,
"results": [
"Installed: libblockdev-fs-2.24-8.el8.x86_64",
"Installed: libluksmeta-9-4.el8.x86_64",
"Installed: python3-setuptools-39.2.0-6.el8.noarch",
"Installed: libblockdev-loop-2.24-8.el8.x86_64",
"Installed: libblockdev-lvm-2.24-8.el8.x86_64",
"Installed: libgudev-232-4.el8.x86_64",
"Installed: device-mapper-event-8:1.02.181-3.el8.x86_64",
"Installed: libblockdev-mdraid-2.24-8.el8.x86_64",
"Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64",
"Installed: device-mapper-multipath-0.8.4-22.el8.x86_64",
"Installed: libxslt-1.1.32-6.el8.x86_64",
"Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64",
"Installed: libblockdev-part-2.24-8.el8.x86_64",
"Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64",
"Installed: libblockdev-swap-2.24-8.el8.x86_64",
"Installed: libudisks2-2.9.0-9.el8.x86_64",
"Installed: libblockdev-utils-2.24-8.el8.x86_64",
"Installed: python3-psutil-5.4.3-11.el8.x86_64",
"Installed: libaio-0.3.112-1.el8.x86_64",
"Installed: subscription-manager-cockpit-1.28.29-3.el8.noarch",
"Installed: libbytesize-1.4-3.el8.x86_64",
"Installed: lvm2-8:2.03.14-3.el8.x86_64",
"Installed: lvm2-libs-8:2.03.14-3.el8.x86_64",
"Installed: volume_key-libs-0.3.11-5.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: tpm2-tools-4.1.1-5.el8.x86_64",
"Installed: isns-utils-libs-0.99-1.el8.x86_64",
"Installed: cockpit-264.1-1.el8.x86_64",
"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",
"Installed: python3-html5lib-1:0.999999999-6.el8.noarch",
"Installed: tracer-common-0.7.5-2.el8.noarch",
"Installed: mdadm-4.2-2.el8.x86_64",
"Installed: clevis-15-8.el8.x86_64",
"Installed: clevis-luks-15-8.el8.x86_64",
"Installed: jose-10-2.el8.x86_64",
"Installed: python3-tracer-0.7.5-2.el8.noarch",
"Installed: jq-1.6-3.el8.x86_64",
"Installed: cryptsetup-2.3.7-2.el8.x86_64",
"Installed: python3-webencodings-0.5.1-6.el8.noarch",
"Installed: userspace-rcu-0.10.1-4.el8.x86_64",
"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: libjose-10-2.el8.x86_64",
"Installed: cockpit-packagekit-264.1-1.el8.noarch",
"Installed: luksmeta-9-4.el8.x86_64",
"Installed: oniguruma-6.8.2-2.el8.x86_64",
"Installed: cockpit-storaged-264.1-1.el8.noarch",
"Installed: libatasmart-0.19-14.el8.x86_64",
"Installed: python3-lxml-4.2.3-4.el8.x86_64",
"Installed: libblockdev-2.24-8.el8.x86_64",
"Installed: libblockdev-crypto-2.24-8.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:01:46 +0000 (0:00:22.962) 0:00:25.201 ******
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:01:46 +0000 (0:00:00.027) 0:00:25.228 ******
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:01:46 +0000 (0:00:00.023) 0:00:25.251 ******
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:01:46 +0000 (0:00:00.023) 0:00:25.275 ******
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:01:46 +0000 (0:00:00.025) 0:00:25.300 ******
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:01:47 +0000 (0:00:00.501) 0:00:25.801 ******
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": "shutdown.target cockpit-motd.service sockets.target cockpit.service",
"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": "system.slice sysinit.target",
"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:01:47 +0000 (0:00:00.901) 0:00:26.703 ******
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:01:48 +0000 (0:00:00.024) 0:00:26.727 ******
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:01:48 +0000 (0:00:00.023) 0:00:26.751 ******
skipping: [/cache/rhel-8.qcow2] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: role_complete for /cache/rhel-8.qcow2
TASK [test - socket is active] *************************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:11
Wednesday 03 August 2022 08:01:48 +0000 (0:00:00.028) 0:00:26.779 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"cmd": [
"systemctl",
"is-active",
"cockpit.socket"
],
"delta": "0:00:00.008416",
"end": "2022-08-03 04:01:47.463815",
"rc": 0,
"start": "2022-08-03 04:01:47.455399"
}
STDOUT:
active
TASK [test - socket is enabled] ************************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:15
Wednesday 03 August 2022 08:01:48 +0000 (0:00:00.492) 0:00:27.272 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"cmd": [
"systemctl",
"is-enabled",
"cockpit.socket"
],
"delta": "0:00:00.007727",
"end": "2022-08-03 04:01:47.823447",
"rc": 0,
"start": "2022-08-03 04:01:47.815720"
}
STDOUT:
enabled
TASK [test - cockpit works with TLS] *******************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:19
Wednesday 03 August 2022 08:01:48 +0000 (0:00:00.356) 0:00:27.629 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"checksum_dest": null,
"checksum_src": "5f83d5e63b542878aa6c3d1054b15570c0bd2908",
"dest": "/run/out",
"elapsed": 1,
"gid": 0,
"group": "root",
"md5sum": "c125bc1ebec0ed672a972cbbb211d46f",
"mode": "0644",
"owner": "root",
"secontext": "system_u:object_r:var_run_t:s0",
"size": 11318,
"src": "/root/.ansible/tmp/ansible-tmp-1659513708.9581785-263447-29833975498929/tmppgcjeotx",
"state": "file",
"status_code": 200,
"uid": 0,
"url": "https://localhost:9090"
}
MSG:
OK (unknown bytes)
TASK [test - HTTP response is something sensible] ******************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:25
Wednesday 03 August 2022 08:01:50 +0000 (0:00:01.940) 0:00:29.570 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"cmd": [
"grep",
"id=\"login-user-input\"",
"/run/out"
],
"delta": "0:00:01.003817",
"end": "2022-08-03 04:01:51.134179",
"rc": 0,
"start": "2022-08-03 04:01:50.130362"
}
STDOUT:
TASK [test - clean up output file] *********************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:28
Wednesday 03 August 2022 08:01:52 +0000 (0:00:01.382) 0:00:30.952 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"path": "/run/out",
"state": "absent"
}
TASK [test - no configuration file] ********************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:33
Wednesday 03 August 2022 08:01:52 +0000 (0:00:00.368) 0:00:31.320 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [test - no port configuration file] ***************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:39
Wednesday 03 August 2022 08:01:53 +0000 (0:00:00.482) 0:00:31.802 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [include_tasks] ***********************************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:46
Wednesday 03 August 2022 08:01:53 +0000 (0:00:00.358) 0:00:32.160 ******
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:01:53 +0000 (0:00:00.024) 0:00:32.185 ******
changed: [/cache/rhel-8.qcow2] => {
"changed": true,
"rc": 0,
"results": [
"Removed: cockpit-264.1-1.el8.x86_64",
"Removed: cockpit-bridge-264.1-1.el8.x86_64",
"Removed: cockpit-packagekit-264.1-1.el8.noarch",
"Removed: cockpit-storaged-264.1-1.el8.noarch",
"Removed: cockpit-system-264.1-1.el8.noarch",
"Removed: cockpit-ws-264.1-1.el8.x86_64",
"Removed: subscription-manager-cockpit-1.28.29-3.el8.noarch"
]
}
TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:13
Wednesday 03 August 2022 08:02:10 +0000 (0:00:16.835) 0:00:49.020 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"examined": 3,
"files": [
{
"atime": 1659513708.453428,
"ctime": 1659513709.5544279,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16812202,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 2358,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
},
{
"atime": 1659513709.5674279,
"ctime": 1659513709.560428,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16812203,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 1883,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
},
{
"atime": 1659513709.5674279,
"ctime": 1659513709.566428,
"dev": 64515,
"gid": 991,
"gr_name": "cockpit-ws",
"inode": 16812204,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.key",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 1704,
"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] **************************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:23
Wednesday 03 August 2022 08:02:10 +0000 (0:00:00.492) 0:00:49.512 ******
changed: [/cache/rhel-8.qcow2] => (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': 2358, 'inode': 16812202, 'dev': 64515, 'nlink': 1, 'atime': 1659513708.453428, 'mtime': 1659513709.547428, 'ctime': 1659513709.5544279, '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": 1659513708.453428,
"ctime": 1659513709.5544279,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16812202,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed-ca.pem",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 2358,
"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: [/cache/rhel-8.qcow2] => (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': 1883, 'inode': 16812203, 'dev': 64515, 'nlink': 1, 'atime': 1659513709.5674279, 'mtime': 1659513709.547428, 'ctime': 1659513709.560428, '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": 1659513709.5674279,
"ctime": 1659513709.560428,
"dev": 64515,
"gid": 0,
"gr_name": "root",
"inode": 16812203,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0644",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 1883,
"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: [/cache/rhel-8.qcow2] => (item={'path': '/etc/cockpit/ws-certs.d/0-self-signed.key', 'mode': '0640', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 991, 'size': 1704, 'inode': 16812204, 'dev': 64515, 'nlink': 1, 'atime': 1659513709.5674279, 'mtime': 1659513709.547428, 'ctime': 1659513709.566428, 'gr_name': 'cockpit-ws', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => {
"ansible_loop_var": "item",
"changed": true,
"item": {
"atime": 1659513709.5674279,
"ctime": 1659513709.566428,
"dev": 64515,
"gid": 991,
"gr_name": "cockpit-ws",
"inode": 16812204,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659513709.547428,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.key",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 1704,
"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] ***************************************************
task path: /tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:32
Wednesday 03 August 2022 08:02:11 +0000 (0:00:01.100) 0:00:50.613 ******
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:02:12 +0000 (0:00:00.389) 0:00:51.002 ******
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:02:12 +0000 (0:00:00.400) 0:00:51.403 ******
ok: [/cache/rhel-8.qcow2] => {
"changed": false,
"name": null,
"status": {}
}
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
/cache/rhel-8.qcow2 : ok=23 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
Wednesday 03 August 2022 08:02:13 +0000 (0:00:00.610) 0:00:52.014 ******
===============================================================================
fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. -- 22.96s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:6
cleanup - packages ----------------------------------------------------- 16.84s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:1 ----------------------------
test - cockpit works with TLS ------------------------------------------- 1.94s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:19 ---------------------------
test - HTTP response is something sensible ------------------------------ 1.38s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:25 ---------------------------
set up internal repositories -------------------------------------------- 1.27s
/cache/rhel-8_setup.yml:5 -----------------------------------------------------
cleanup - certificates -------------------------------------------------- 1.10s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:23 ---------------------------
fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.90s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:75
fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.73s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2
cleanup - reload systemd ------------------------------------------------ 0.61s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:48 ---------------------------
fedora.linux_system_roles.cockpit : Clean up port configuration file for undefined custom port --- 0.50s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:66
test - socket is active ------------------------------------------------- 0.49s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:11 ---------------------------
cleanup - find certificates --------------------------------------------- 0.49s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:13 ---------------------------
test - no configuration file -------------------------------------------- 0.48s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:33 ---------------------------
cleanup - port customization -------------------------------------------- 0.40s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:40 ---------------------------
cleanup - config file --------------------------------------------------- 0.39s
/tmp/tmpk2tzj5__/tests/cockpit/tasks/cleanup.yml:32 ---------------------------
test - clean up output file --------------------------------------------- 0.37s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:28 ---------------------------
test - no port configuration file --------------------------------------- 0.36s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:39 ---------------------------
test - socket is enabled ------------------------------------------------ 0.36s
/tmp/tmpk2tzj5__/tests/cockpit/tests_default.yml:15 ---------------------------
fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.04s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:7
fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.03s
/tmp/tmpwp_5o25m/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-dnf.yml:1