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/tmpyk8b1iha
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: tests_default.yml ****************************************************
1 plays in /tmp/tmpbkexa8_d/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/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:1
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.019) 0:00:00.019 ******
included: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap
TASK [linux-system-roles.cockpit : Ensure ansible_facts used by role] **********
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.021) 0:00:00.040 ******
ok: [/cache/centos-7.qcow2c.snap]
TASK [linux-system-roles.cockpit : Set version specific variables] *************
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:8
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.704) 0:00:00.745 ******
ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/vars/CentOS-7.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-machines-ovirt",
"cockpit-tests"
],
"__cockpit_packages_full": [
"cockpit-composer",
"cockpit-dashboard",
"cockpit-doc",
"cockpit-docker",
"cockpit-machines",
"cockpit-pcp",
"cockpit-shell"
],
"__cockpit_packages_minimal": [
"cockpit-system",
"cockpit-ws"
]
},
"ansible_included_var_files": [
"/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/vars/CentOS-7.yml"
],
"ansible_loop_var": "item",
"changed": false,
"item": "/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/vars/CentOS-7.yml"
}
TASK [linux-system-roles.cockpit : List active RHEL repositories] **************
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:9
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.036) 0:00:00.781 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [linux-system-roles.cockpit : Enable RHEL repositories] *******************
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:17
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.018) 0:00:00.800 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"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/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:21
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.017) 0:00:00.817 ******
included: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml for /cache/centos-7.qcow2c.snap => (item=/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml)
TASK [linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] ***
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml:1
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.031) 0:00:00.849 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"ansible_facts": {
"cockpit_packages": "default"
},
"changed": false
}
TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] ***
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml:8
Wednesday 03 August 2022 07:45:36 +0000 (0:00:00.035) 0:00:00.884 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"changes": {
"installed": [
"cockpit-system",
"cockpit-ws",
"cockpit",
"cockpit-networkmanager",
"cockpit-packagekit",
"cockpit-selinux",
"cockpit-storaged"
]
},
"rc": 0,
"results": [
"Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: nyc.mirrors.clouvider.net\n * extras: atl.mirrors.clouvider.net\n * updates: mirror.vcu.edu\nResolving Dependencies\n--> Running transaction check\n---> Package cockpit.x86_64 0:195.12-1.el7.centos will be installed\n--> Processing Dependency: cockpit-bridge for package: cockpit-195.12-1.el7.centos.x86_64\n---> Package cockpit-packagekit.x86_64 0:195.12-1.el7.centos will be installed\n---> Package cockpit-storaged.noarch 0:195.12-1.el7.centos will be installed\n---> Package cockpit-system.noarch 0:195.12-1.el7.centos will be installed\n---> Package cockpit-ws.x86_64 0:195.12-1.el7.centos will be installed\n--> Running transaction check\n---> Package cockpit-bridge.x86_64 0:195.12-1.el7.centos will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cockpit x86_64 195.12-1.el7.centos extras 51 k\n cockpit-packagekit x86_64 195.12-1.el7.centos extras 258 k\n cockpit-storaged noarch 195.12-1.el7.centos extras 372 k\n cockpit-system noarch 195.12-1.el7.centos extras 1.7 M\n cockpit-ws x86_64 195.12-1.el7.centos extras 808 k\nInstalling for dependencies:\n cockpit-bridge x86_64 195.12-1.el7.centos extras 555 k\n\nTransaction Summary\n================================================================================\nInstall 5 Packages (+1 Dependent package)\n\nTotal size: 3.7 M\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cockpit-bridge-195.12-1.el7.centos.x86_64 1/6 \n Installing : cockpit-system-195.12-1.el7.centos.noarch 2/6 \n Installing : cockpit-ws-195.12-1.el7.centos.x86_64 3/6 \n Installing : cockpit-195.12-1.el7.centos.x86_64 4/6 \n Installing : cockpit-storaged-195.12-1.el7.centos.noarch 5/6 \n Installing : cockpit-packagekit-195.12-1.el7.centos.x86_64 6/6 \n Verifying : cockpit-packagekit-195.12-1.el7.centos.x86_64 1/6 \n Verifying : cockpit-ws-195.12-1.el7.centos.x86_64 2/6 \n Verifying : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Verifying : cockpit-bridge-195.12-1.el7.centos.x86_64 4/6 \n Verifying : cockpit-195.12-1.el7.centos.x86_64 5/6 \n Verifying : cockpit-storaged-195.12-1.el7.centos.noarch 6/6 \n\nInstalled:\n cockpit.x86_64 0:195.12-1.el7.centos \n cockpit-packagekit.x86_64 0:195.12-1.el7.centos \n cockpit-storaged.noarch 0:195.12-1.el7.centos \n cockpit-system.noarch 0:195.12-1.el7.centos \n cockpit-ws.x86_64 0:195.12-1.el7.centos \n\nDependency Installed:\n cockpit-bridge.x86_64 0:195.12-1.el7.centos \n\nComplete!\n"
]
}
TASK [linux-system-roles.cockpit : Create custom port configuration file directory] ***
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:27
Wednesday 03 August 2022 07:45:41 +0000 (0:00:04.025) 0:00:04.909 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [linux-system-roles.cockpit : Create custom port configuration file] ******
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:35
Wednesday 03 August 2022 07:45:41 +0000 (0:00:00.024) 0:00:04.933 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [linux-system-roles.cockpit : Check if SELinux is enabled] ****************
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:51
Wednesday 03 August 2022 07:45:41 +0000 (0:00:00.023) 0:00:04.956 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [Allow cockpit to own custom port in SELinux policy] **********************
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:58
Wednesday 03 August 2022 07:45:41 +0000 (0:00:00.022) 0:00:04.979 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"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/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:66
Wednesday 03 August 2022 07:45:41 +0000 (0:00:00.022) 0:00:05.002 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"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/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:75
Wednesday 03 August 2022 07:45:41 +0000 (0:00:00.425) 0:00:05.427 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"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",
"AmbientCapabilities": "0",
"AssertResult": "no",
"AssertTimestampMonotonic": "0",
"Backlog": "128",
"Before": "sockets.target cockpit.service shutdown.target cockpit-motd.service",
"BindIPv6Only": "default",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"Broadcast": "no",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"CollectMode": "inactive",
"ConditionResult": "no",
"ConditionTimestampMonotonic": "0",
"Conflicts": "shutdown.target",
"ControlPID": "0",
"DefaultDependencies": "yes",
"DeferAcceptUSec": "0",
"Delegate": "no",
"Description": "Cockpit Web Service Socket",
"DevicePolicy": "auto",
"DirectoryMode": "0755",
"Documentation": "man:cockpit-ws(8)",
"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 /usr/share/cockpit/motd/inactive.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FragmentPath": "/usr/lib/systemd/system/cockpit.socket",
"FreeBind": "no",
"IOScheduling": "0",
"IPTOS": "-1",
"IPTTL": "-1",
"Id": "cockpit.socket",
"IgnoreOnIsolate": "no",
"IgnoreOnSnapshot": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestampMonotonic": "0",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "0",
"KeepAlive": "no",
"KeepAliveIntervalUSec": "0",
"KeepAliveProbes": "0",
"KeepAliveTimeUSec": "0",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCPU": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMSGQUEUE": "819200",
"LimitNICE": "0",
"LimitNOFILE": "4096",
"LimitNPROC": "7154",
"LimitRSS": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTTIME": "18446744073709551615",
"LimitSIGPENDING": "7154",
"LimitSTACK": "18446744073709551615",
"ListenStream": "[::]:9090",
"LoadState": "loaded",
"Mark": "-1",
"MaxConnections": "64",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MountFlags": "0",
"NAccepted": "0",
"NConnections": "0",
"Names": "cockpit.socket",
"NeedDaemonReload": "no",
"Nice": "0",
"NoDelay": "no",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PassCredentials": "no",
"PassSecurity": "no",
"PipeSize": "0",
"Priority": "-1",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"ProtectHome": "no",
"ProtectSystem": "no",
"ReceiveBuffer": "0",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemoveOnStop": "no",
"RequiredBy": "cockpit.service",
"Requires": "sysinit.target system.slice",
"Result": "success",
"ReusePort": "no",
"RuntimeDirectoryMode": "0755",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendBuffer": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"SocketMode": "0666",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StopWhenUnneeded": "no",
"SubState": "dead",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "no",
"TasksCurrent": "18446744073709551615",
"TasksMax": "18446744073709551615",
"TimeoutUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Transparent": "no",
"Triggers": "cockpit.service",
"UMask": "0022",
"UnitFilePreset": "disabled",
"UnitFileState": "disabled",
"Wants": "cockpit-motd.service"
}
}
TASK [linux-system-roles.cockpit : Create cockpit.conf configuration file] *****
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:81
Wednesday 03 August 2022 07:45:42 +0000 (0:00:00.766) 0:00:06.193 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [linux-system-roles.cockpit : Link to configured existing certificate] ****
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:92
Wednesday 03 August 2022 07:45:42 +0000 (0:00:00.023) 0:00:06.217 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [linux-system-roles.cockpit : Link to configured existing certificate key] ***
task path: /tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:102
Wednesday 03 August 2022 07:45:42 +0000 (0:00:00.021) 0:00:06.238 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: role_complete for /cache/centos-7.qcow2c.snap
TASK [test - socket is active] *************************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:11
Wednesday 03 August 2022 07:45:42 +0000 (0:00:00.027) 0:00:06.265 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"cmd": [
"systemctl",
"is-active",
"cockpit.socket"
],
"delta": "0:00:00.005386",
"end": "2022-08-03 07:45:42.927364",
"rc": 0,
"start": "2022-08-03 07:45:42.921978"
}
STDOUT:
active
TASK [test - socket is enabled] ************************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:15
Wednesday 03 August 2022 07:45:42 +0000 (0:00:00.400) 0:00:06.666 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"cmd": [
"systemctl",
"is-enabled",
"cockpit.socket"
],
"delta": "0:00:00.005592",
"end": "2022-08-03 07:45:43.214328",
"rc": 0,
"start": "2022-08-03 07:45:43.208736"
}
STDOUT:
enabled
TASK [test - cockpit works with TLS] *******************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:19
Wednesday 03 August 2022 07:45:43 +0000 (0:00:00.293) 0:00:06.960 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"checksum_dest": null,
"checksum_src": "eae655bf7f1f5d93a99106f44803db3226aa87ab",
"dest": "/run/out",
"elapsed": 0,
"gid": 0,
"group": "root",
"md5sum": "dd6ba8fce8af2f9adfe761131ead2b45",
"mode": "0644",
"owner": "root",
"secontext": "system_u:object_r:var_run_t:s0",
"size": 39050,
"src": "/root/.ansible/tmp/ansible-tmp-1659512743.112313-272645-86590735952916/tmppqX3Vn",
"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/tmpbkexa8_d/tests/tests_default.yml:25
Wednesday 03 August 2022 07:45:43 +0000 (0:00:00.646) 0:00:07.606 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"cmd": [
"grep",
"id=\"login-user-input\"",
"/run/out"
],
"delta": "0:00:00.003737",
"end": "2022-08-03 07:45:44.160593",
"rc": 0,
"start": "2022-08-03 07:45:44.156856"
}
STDOUT:
TASK [test - clean up output file] *********************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:28
Wednesday 03 August 2022 07:45:44 +0000 (0:00:00.298) 0:00:07.904 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"path": "/run/out",
"state": "absent"
}
TASK [test - no configuration file] ********************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:33
Wednesday 03 August 2022 07:45:44 +0000 (0:00:00.291) 0:00:08.196 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [test - no port configuration file] ***************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:39
Wednesday 03 August 2022 07:45:44 +0000 (0:00:00.418) 0:00:08.615 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [include_tasks] ***********************************************************
task path: /tmp/tmpbkexa8_d/tests/tests_default.yml:46
Wednesday 03 August 2022 07:45:45 +0000 (0:00:00.292) 0:00:08.907 ******
included: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml for /cache/centos-7.qcow2c.snap
TASK [cleanup - packages] ******************************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:1
Wednesday 03 August 2022 07:45:45 +0000 (0:00:00.026) 0:00:08.933 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"changes": {
"removed": [
"cockpit-bridge",
"cockpit-ws"
]
},
"rc": 0,
"results": [
"cockpit-doc is not installed",
"Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package cockpit-bridge.x86_64 0:195.12-1.el7.centos will be erased\n--> Processing Dependency: cockpit-bridge >= 122 for package: cockpit-packagekit-195.12-1.el7.centos.x86_64\n--> Processing Dependency: cockpit-bridge >= 195.12-1.el7.centos for package: cockpit-system-195.12-1.el7.centos.noarch\n--> Processing Dependency: cockpit-bridge for package: cockpit-195.12-1.el7.centos.x86_64\n---> Package cockpit-ws.x86_64 0:195.12-1.el7.centos will be erased\n--> Running transaction check\n---> Package cockpit.x86_64 0:195.12-1.el7.centos will be erased\n---> Package cockpit-packagekit.x86_64 0:195.12-1.el7.centos will be erased\n---> Package cockpit-system.noarch 0:195.12-1.el7.centos will be erased\n--> Processing Dependency: cockpit-shell >= 122 for package: cockpit-storaged-195.12-1.el7.centos.noarch\n--> Running transaction check\n---> Package cockpit-storaged.noarch 0:195.12-1.el7.centos will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n cockpit-bridge x86_64 195.12-1.el7.centos @extras 868 k\n cockpit-ws x86_64 195.12-1.el7.centos @extras 1.6 M\nRemoving for dependencies:\n cockpit x86_64 195.12-1.el7.centos @extras 51 k\n cockpit-packagekit x86_64 195.12-1.el7.centos @extras 229 k\n cockpit-storaged noarch 195.12-1.el7.centos @extras 340 k\n cockpit-system noarch 195.12-1.el7.centos @extras 1.7 M\n\nTransaction Summary\n================================================================================\nRemove 2 Packages (+4 Dependent packages)\n\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : cockpit-195.12-1.el7.centos.x86_64 1/6 \n Erasing : cockpit-storaged-195.12-1.el7.centos.noarch 2/6 \n Erasing : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Erasing : cockpit-packagekit-195.12-1.el7.centos.x86_64 4/6 \n Erasing : cockpit-bridge-195.12-1.el7.centos.x86_64 5/6 \n Erasing : cockpit-ws-195.12-1.el7.centos.x86_64 6/6 \n Verifying : cockpit-packagekit-195.12-1.el7.centos.x86_64 1/6 \n Verifying : cockpit-ws-195.12-1.el7.centos.x86_64 2/6 \n Verifying : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Verifying : cockpit-bridge-195.12-1.el7.centos.x86_64 4/6 \n Verifying : cockpit-195.12-1.el7.centos.x86_64 5/6 \n Verifying : cockpit-storaged-195.12-1.el7.centos.noarch 6/6 \n\nRemoved:\n cockpit-bridge.x86_64 0:195.12-1.el7.centos \n cockpit-ws.x86_64 0:195.12-1.el7.centos \n\nDependency Removed:\n cockpit.x86_64 0:195.12-1.el7.centos \n cockpit-packagekit.x86_64 0:195.12-1.el7.centos \n cockpit-storaged.noarch 0:195.12-1.el7.centos \n cockpit-system.noarch 0:195.12-1.el7.centos \n\nComplete!\n"
]
}
TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:13
Wednesday 03 August 2022 07:45:46 +0000 (0:00:01.709) 0:00:10.643 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"examined": 1,
"files": [
{
"atime": 1659512743.7932794,
"ctime": 1659512743.7832794,
"dev": 64769,
"gid": 994,
"gr_name": "cockpit-ws",
"inode": 8487694,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659512743.7772794,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 2975,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
}
],
"matched": 1,
"skipped_paths": {}
}
MSG:
All paths examined
TASK [cleanup - certificates] **************************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:23
Wednesday 03 August 2022 07:45:47 +0000 (0:00:00.423) 0:00:11.067 ******
changed: [/cache/centos-7.qcow2c.snap] => (item={'uid': 0, 'woth': False, 'mtime': 1659512743.7772794, 'inode': 8487694, 'isgid': False, 'size': 2975, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 994, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'cockpit-ws', 'path': '/etc/cockpit/ws-certs.d/0-self-signed.cert', 'xusr': False, 'atime': 1659512743.7932794, 'isdir': False, 'ctime': 1659512743.7832794, 'isblk': False, 'xgrp': False, 'dev': 64769, 'wgrp': False, 'isfifo': False, 'mode': '0640', 'islnk': False}) => {
"ansible_loop_var": "item",
"changed": true,
"item": {
"atime": 1659512743.7932794,
"ctime": 1659512743.7832794,
"dev": 64769,
"gid": 994,
"gr_name": "cockpit-ws",
"inode": 8487694,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659512743.7772794,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 2975,
"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"
}
TASK [cleanup - config file] ***************************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:32
Wednesday 03 August 2022 07:45:47 +0000 (0:00:00.300) 0:00:11.367 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"path": "/etc/cockpit/cockpit.conf",
"state": "absent"
}
TASK [cleanup - port customization] ********************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:40
Wednesday 03 August 2022 07:45:47 +0000 (0:00:00.301) 0:00:11.669 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"path": "/etc/systemd/system/cockpit.socket.d/",
"state": "absent"
}
TASK [cleanup - reload systemd] ************************************************
task path: /tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:48
Wednesday 03 August 2022 07:45:48 +0000 (0:00:00.305) 0:00:11.975 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"name": null,
"status": {}
}
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
/cache/centos-7.qcow2c.snap : ok=22 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
Wednesday 03 August 2022 07:45:48 +0000 (0:00:00.439) 0:00:12.414 ******
===============================================================================
linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed. --- 4.03s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml:8 -
cleanup - packages ------------------------------------------------------ 1.71s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:1 ------------------------------------
linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.77s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:75 -----
linux-system-roles.cockpit : Ensure ansible_facts used by role ---------- 0.70s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/set_vars.yml:2 --
test - cockpit works with TLS ------------------------------------------- 0.65s
/tmp/tmpbkexa8_d/tests/tests_default.yml:19 -----------------------------------
cleanup - reload systemd ------------------------------------------------ 0.44s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:48 -----------------------------------
linux-system-roles.cockpit : Clean up port configuration file for undefined custom port --- 0.43s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:66 -----
cleanup - find certificates --------------------------------------------- 0.42s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:13 -----------------------------------
test - no configuration file -------------------------------------------- 0.42s
/tmp/tmpbkexa8_d/tests/tests_default.yml:33 -----------------------------------
test - socket is active ------------------------------------------------- 0.40s
/tmp/tmpbkexa8_d/tests/tests_default.yml:11 -----------------------------------
cleanup - port customization -------------------------------------------- 0.31s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:40 -----------------------------------
cleanup - config file --------------------------------------------------- 0.30s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:32 -----------------------------------
cleanup - certificates -------------------------------------------------- 0.30s
/tmp/tmpbkexa8_d/tests/tasks/cleanup.yml:23 -----------------------------------
test - HTTP response is something sensible ------------------------------ 0.30s
/tmp/tmpbkexa8_d/tests/tests_default.yml:25 -----------------------------------
test - socket is enabled ------------------------------------------------ 0.29s
/tmp/tmpbkexa8_d/tests/tests_default.yml:15 -----------------------------------
test - no port configuration file --------------------------------------- 0.29s
/tmp/tmpbkexa8_d/tests/tests_default.yml:39 -----------------------------------
test - clean up output file --------------------------------------------- 0.29s
/tmp/tmpbkexa8_d/tests/tests_default.yml:28 -----------------------------------
linux-system-roles.cockpit : Set version specific variables ------------- 0.04s
/tmp/tmpbkexa8_d/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.04s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/setup-yum.yml:1 -
linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.03s
/tmp/tmpbkexa8_d/tests/roles/linux-system-roles.cockpit/tasks/main.yml:21 -----
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/tmpyk8b1iha
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: tests_default.yml ****************************************************
1 plays in /tmp/tmp0d1dc1pl/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/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:1
Wednesday 03 August 2022 07:48:21 +0000 (0:00:00.020) 0:00:00.020 ******
included: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap
TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2
Wednesday 03 August 2022 07:48:21 +0000 (0:00:00.033) 0:00:00.053 ******
ok: [/cache/centos-7.qcow2c.snap]
TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ******
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:7
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.741) 0:00:00.795 ******
ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.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-machines-ovirt",
"cockpit-tests"
],
"__cockpit_packages_full": [
"cockpit-composer",
"cockpit-dashboard",
"cockpit-doc",
"cockpit-docker",
"cockpit-machines",
"cockpit-pcp",
"cockpit-shell"
],
"__cockpit_packages_minimal": [
"cockpit-system",
"cockpit-ws"
]
},
"ansible_included_var_files": [
"/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.yml"
],
"ansible_loop_var": "item",
"changed": false,
"item": "/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.yml"
}
TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] *******
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:9
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.037) 0:00:00.833 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:17
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.019) 0:00:00.853 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"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/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:21
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.019) 0:00:00.873 ******
included: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml for /cache/centos-7.qcow2c.snap => (item=/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml)
TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:1
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.032) 0:00:00.905 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"ansible_facts": {
"cockpit_packages": "default"
},
"changed": false
}
TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:6
Wednesday 03 August 2022 07:48:22 +0000 (0:00:00.034) 0:00:00.940 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"changes": {
"installed": [
"cockpit-system",
"cockpit-ws",
"cockpit",
"cockpit-networkmanager",
"cockpit-packagekit",
"cockpit-selinux",
"cockpit-storaged"
]
},
"rc": 0,
"results": [
"Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: nyc.mirrors.clouvider.net\n * extras: atl.mirrors.clouvider.net\n * updates: mirror.vcu.edu\nResolving Dependencies\n--> Running transaction check\n---> Package cockpit.x86_64 0:195.12-1.el7.centos will be installed\n--> Processing Dependency: cockpit-bridge for package: cockpit-195.12-1.el7.centos.x86_64\n---> Package cockpit-packagekit.x86_64 0:195.12-1.el7.centos will be installed\n---> Package cockpit-storaged.noarch 0:195.12-1.el7.centos will be installed\n---> Package cockpit-system.noarch 0:195.12-1.el7.centos will be installed\n---> Package cockpit-ws.x86_64 0:195.12-1.el7.centos will be installed\n--> Running transaction check\n---> Package cockpit-bridge.x86_64 0:195.12-1.el7.centos will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cockpit x86_64 195.12-1.el7.centos extras 51 k\n cockpit-packagekit x86_64 195.12-1.el7.centos extras 258 k\n cockpit-storaged noarch 195.12-1.el7.centos extras 372 k\n cockpit-system noarch 195.12-1.el7.centos extras 1.7 M\n cockpit-ws x86_64 195.12-1.el7.centos extras 808 k\nInstalling for dependencies:\n cockpit-bridge x86_64 195.12-1.el7.centos extras 555 k\n\nTransaction Summary\n================================================================================\nInstall 5 Packages (+1 Dependent package)\n\nTotal size: 3.7 M\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cockpit-bridge-195.12-1.el7.centos.x86_64 1/6 \n Installing : cockpit-system-195.12-1.el7.centos.noarch 2/6 \n Installing : cockpit-ws-195.12-1.el7.centos.x86_64 3/6 \n Installing : cockpit-195.12-1.el7.centos.x86_64 4/6 \n Installing : cockpit-storaged-195.12-1.el7.centos.noarch 5/6 \n Installing : cockpit-packagekit-195.12-1.el7.centos.x86_64 6/6 \n Verifying : cockpit-packagekit-195.12-1.el7.centos.x86_64 1/6 \n Verifying : cockpit-ws-195.12-1.el7.centos.x86_64 2/6 \n Verifying : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Verifying : cockpit-bridge-195.12-1.el7.centos.x86_64 4/6 \n Verifying : cockpit-195.12-1.el7.centos.x86_64 5/6 \n Verifying : cockpit-storaged-195.12-1.el7.centos.noarch 6/6 \n\nInstalled:\n cockpit.x86_64 0:195.12-1.el7.centos \n cockpit-packagekit.x86_64 0:195.12-1.el7.centos \n cockpit-storaged.noarch 0:195.12-1.el7.centos \n cockpit-system.noarch 0:195.12-1.el7.centos \n cockpit-ws.x86_64 0:195.12-1.el7.centos \n\nDependency Installed:\n cockpit-bridge.x86_64 0:195.12-1.el7.centos \n\nComplete!\n"
]
}
TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file directory] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:27
Wednesday 03 August 2022 07:48:27 +0000 (0:00:04.564) 0:00:05.505 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [fedora.linux_system_roles.cockpit : Create custom port configuration file] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:35
Wednesday 03 August 2022 07:48:27 +0000 (0:00:00.024) 0:00:05.530 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [fedora.linux_system_roles.cockpit : Check if SELinux is enabled] *********
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:51
Wednesday 03 August 2022 07:48:27 +0000 (0:00:00.023) 0:00:05.553 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [Allow cockpit to own custom port in SELinux policy] **********************
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:58
Wednesday 03 August 2022 07:48:27 +0000 (0:00:00.021) 0:00:05.574 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"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/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:66
Wednesday 03 August 2022 07:48:27 +0000 (0:00:00.023) 0:00:05.598 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"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/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:75
Wednesday 03 August 2022 07:48:27 +0000 (0:00:00.435) 0:00:06.033 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"enabled": true,
"name": "cockpit.socket",
"state": "started",
"status": {
"Accept": "no",
"ActiveEnterTimestampMonotonic": "0",
"ActiveExitTimestampMonotonic": "0",
"ActiveState": "inactive",
"After": "systemd-journald.socket sysinit.target system.slice",
"AllowIsolate": "no",
"AmbientCapabilities": "0",
"AssertResult": "no",
"AssertTimestampMonotonic": "0",
"Backlog": "128",
"Before": "sockets.target cockpit.service shutdown.target cockpit-motd.service",
"BindIPv6Only": "default",
"BlockIOAccounting": "no",
"BlockIOWeight": "18446744073709551615",
"Broadcast": "no",
"CPUAccounting": "no",
"CPUQuotaPerSecUSec": "infinity",
"CPUSchedulingPolicy": "0",
"CPUSchedulingPriority": "0",
"CPUSchedulingResetOnFork": "no",
"CPUShares": "18446744073709551615",
"CanIsolate": "no",
"CanReload": "no",
"CanStart": "yes",
"CanStop": "yes",
"CapabilityBoundingSet": "18446744073709551615",
"CollectMode": "inactive",
"ConditionResult": "no",
"ConditionTimestampMonotonic": "0",
"Conflicts": "shutdown.target",
"ControlPID": "0",
"DefaultDependencies": "yes",
"DeferAcceptUSec": "0",
"Delegate": "no",
"Description": "Cockpit Web Service Socket",
"DevicePolicy": "auto",
"DirectoryMode": "0755",
"Documentation": "man:cockpit-ws(8)",
"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 /usr/share/cockpit/motd/inactive.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
"FragmentPath": "/usr/lib/systemd/system/cockpit.socket",
"FreeBind": "no",
"IOScheduling": "0",
"IPTOS": "-1",
"IPTTL": "-1",
"Id": "cockpit.socket",
"IgnoreOnIsolate": "no",
"IgnoreOnSnapshot": "no",
"IgnoreSIGPIPE": "yes",
"InactiveEnterTimestampMonotonic": "0",
"InactiveExitTimestampMonotonic": "0",
"JobTimeoutAction": "none",
"JobTimeoutUSec": "0",
"KeepAlive": "no",
"KeepAliveIntervalUSec": "0",
"KeepAliveProbes": "0",
"KeepAliveTimeUSec": "0",
"KillMode": "control-group",
"KillSignal": "15",
"LimitAS": "18446744073709551615",
"LimitCORE": "18446744073709551615",
"LimitCPU": "18446744073709551615",
"LimitDATA": "18446744073709551615",
"LimitFSIZE": "18446744073709551615",
"LimitLOCKS": "18446744073709551615",
"LimitMEMLOCK": "65536",
"LimitMSGQUEUE": "819200",
"LimitNICE": "0",
"LimitNOFILE": "4096",
"LimitNPROC": "7154",
"LimitRSS": "18446744073709551615",
"LimitRTPRIO": "0",
"LimitRTTIME": "18446744073709551615",
"LimitSIGPENDING": "7154",
"LimitSTACK": "18446744073709551615",
"ListenStream": "[::]:9090",
"LoadState": "loaded",
"Mark": "-1",
"MaxConnections": "64",
"MemoryAccounting": "no",
"MemoryCurrent": "18446744073709551615",
"MemoryLimit": "18446744073709551615",
"MountFlags": "0",
"NAccepted": "0",
"NConnections": "0",
"Names": "cockpit.socket",
"NeedDaemonReload": "no",
"Nice": "0",
"NoDelay": "no",
"NoNewPrivileges": "no",
"NonBlocking": "no",
"OOMScoreAdjust": "0",
"OnFailureJobMode": "replace",
"PassCredentials": "no",
"PassSecurity": "no",
"PipeSize": "0",
"Priority": "-1",
"PrivateDevices": "no",
"PrivateNetwork": "no",
"PrivateTmp": "no",
"ProtectHome": "no",
"ProtectSystem": "no",
"ReceiveBuffer": "0",
"RefuseManualStart": "no",
"RefuseManualStop": "no",
"RemoveOnStop": "no",
"RequiredBy": "cockpit.service",
"Requires": "sysinit.target system.slice",
"Result": "success",
"ReusePort": "no",
"RuntimeDirectoryMode": "0755",
"SameProcessGroup": "no",
"SecureBits": "0",
"SendBuffer": "0",
"SendSIGHUP": "no",
"SendSIGKILL": "yes",
"Slice": "system.slice",
"SocketMode": "0666",
"StandardError": "inherit",
"StandardInput": "null",
"StandardOutput": "journal",
"StartupBlockIOWeight": "18446744073709551615",
"StartupCPUShares": "18446744073709551615",
"StopWhenUnneeded": "no",
"SubState": "dead",
"SyslogLevelPrefix": "yes",
"SyslogPriority": "30",
"SystemCallErrorNumber": "0",
"TTYReset": "no",
"TTYVHangup": "no",
"TTYVTDisallocate": "no",
"TasksAccounting": "no",
"TasksCurrent": "18446744073709551615",
"TasksMax": "18446744073709551615",
"TimeoutUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Transparent": "no",
"Triggers": "cockpit.service",
"UMask": "0022",
"UnitFilePreset": "disabled",
"UnitFileState": "disabled",
"Wants": "cockpit-motd.service"
}
}
TASK [fedora.linux_system_roles.cockpit : Create cockpit.conf configuration file] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:81
Wednesday 03 August 2022 07:48:28 +0000 (0:00:00.754) 0:00:06.787 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [fedora.linux_system_roles.cockpit : Link to configured existing certificate] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:92
Wednesday 03 August 2022 07:48:28 +0000 (0:00:00.023) 0:00:06.810 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [fedora.linux_system_roles.cockpit : Link to configured existing certificate key] ***
task path: /tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:102
Wednesday 03 August 2022 07:48:28 +0000 (0:00:00.027) 0:00:06.838 ******
skipping: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: role_complete for /cache/centos-7.qcow2c.snap
TASK [test - socket is active] *************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:11
Wednesday 03 August 2022 07:48:28 +0000 (0:00:00.034) 0:00:06.872 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"cmd": [
"systemctl",
"is-active",
"cockpit.socket"
],
"delta": "0:00:00.006781",
"end": "2022-08-03 07:48:28.852259",
"rc": 0,
"start": "2022-08-03 07:48:28.845478"
}
STDOUT:
active
TASK [test - socket is enabled] ************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:15
Wednesday 03 August 2022 07:48:28 +0000 (0:00:00.443) 0:00:07.315 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"cmd": [
"systemctl",
"is-enabled",
"cockpit.socket"
],
"delta": "0:00:00.005801",
"end": "2022-08-03 07:48:29.152214",
"rc": 0,
"start": "2022-08-03 07:48:29.146413"
}
STDOUT:
enabled
TASK [test - cockpit works with TLS] *******************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:19
Wednesday 03 August 2022 07:48:29 +0000 (0:00:00.298) 0:00:07.614 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"checksum_dest": null,
"checksum_src": "eae655bf7f1f5d93a99106f44803db3226aa87ab",
"dest": "/run/out",
"elapsed": 0,
"gid": 0,
"group": "root",
"md5sum": "dd6ba8fce8af2f9adfe761131ead2b45",
"mode": "0644",
"owner": "root",
"secontext": "system_u:object_r:var_run_t:s0",
"size": 39050,
"src": "/root/.ansible/tmp/ansible-tmp-1659512909.219656-274876-123891048191491/tmpIbGK6x",
"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/tmp0d1dc1pl/tests/cockpit/tests_default.yml:25
Wednesday 03 August 2022 07:48:29 +0000 (0:00:00.737) 0:00:08.352 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"cmd": [
"grep",
"id=\"login-user-input\"",
"/run/out"
],
"delta": "0:00:00.003806",
"end": "2022-08-03 07:48:30.178830",
"rc": 0,
"start": "2022-08-03 07:48:30.175024"
}
STDOUT:
TASK [test - clean up output file] *********************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:28
Wednesday 03 August 2022 07:48:30 +0000 (0:00:00.290) 0:00:08.642 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"path": "/run/out",
"state": "absent"
}
TASK [test - no configuration file] ********************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:33
Wednesday 03 August 2022 07:48:30 +0000 (0:00:00.292) 0:00:08.934 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [test - no port configuration file] ***************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:39
Wednesday 03 August 2022 07:48:30 +0000 (0:00:00.426) 0:00:09.361 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"failed_when_result": false,
"stat": {
"exists": false
}
}
TASK [include_tasks] ***********************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:46
Wednesday 03 August 2022 07:48:31 +0000 (0:00:00.299) 0:00:09.661 ******
included: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml for /cache/centos-7.qcow2c.snap
TASK [cleanup - packages] ******************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:1
Wednesday 03 August 2022 07:48:31 +0000 (0:00:00.026) 0:00:09.687 ******
changed: [/cache/centos-7.qcow2c.snap] => {
"changed": true,
"changes": {
"removed": [
"cockpit-bridge",
"cockpit-ws"
]
},
"rc": 0,
"results": [
"cockpit-doc is not installed",
"Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package cockpit-bridge.x86_64 0:195.12-1.el7.centos will be erased\n--> Processing Dependency: cockpit-bridge >= 122 for package: cockpit-packagekit-195.12-1.el7.centos.x86_64\n--> Processing Dependency: cockpit-bridge >= 195.12-1.el7.centos for package: cockpit-system-195.12-1.el7.centos.noarch\n--> Processing Dependency: cockpit-bridge for package: cockpit-195.12-1.el7.centos.x86_64\n---> Package cockpit-ws.x86_64 0:195.12-1.el7.centos will be erased\n--> Running transaction check\n---> Package cockpit.x86_64 0:195.12-1.el7.centos will be erased\n---> Package cockpit-packagekit.x86_64 0:195.12-1.el7.centos will be erased\n---> Package cockpit-system.noarch 0:195.12-1.el7.centos will be erased\n--> Processing Dependency: cockpit-shell >= 122 for package: cockpit-storaged-195.12-1.el7.centos.noarch\n--> Running transaction check\n---> Package cockpit-storaged.noarch 0:195.12-1.el7.centos will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n cockpit-bridge x86_64 195.12-1.el7.centos @extras 868 k\n cockpit-ws x86_64 195.12-1.el7.centos @extras 1.6 M\nRemoving for dependencies:\n cockpit x86_64 195.12-1.el7.centos @extras 51 k\n cockpit-packagekit x86_64 195.12-1.el7.centos @extras 229 k\n cockpit-storaged noarch 195.12-1.el7.centos @extras 340 k\n cockpit-system noarch 195.12-1.el7.centos @extras 1.7 M\n\nTransaction Summary\n================================================================================\nRemove 2 Packages (+4 Dependent packages)\n\nInstalled size: 4.7 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : cockpit-195.12-1.el7.centos.x86_64 1/6 \n Erasing : cockpit-storaged-195.12-1.el7.centos.noarch 2/6 \n Erasing : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Erasing : cockpit-packagekit-195.12-1.el7.centos.x86_64 4/6 \n Erasing : cockpit-bridge-195.12-1.el7.centos.x86_64 5/6 \n Erasing : cockpit-ws-195.12-1.el7.centos.x86_64 6/6 \n Verifying : cockpit-packagekit-195.12-1.el7.centos.x86_64 1/6 \n Verifying : cockpit-ws-195.12-1.el7.centos.x86_64 2/6 \n Verifying : cockpit-system-195.12-1.el7.centos.noarch 3/6 \n Verifying : cockpit-bridge-195.12-1.el7.centos.x86_64 4/6 \n Verifying : cockpit-195.12-1.el7.centos.x86_64 5/6 \n Verifying : cockpit-storaged-195.12-1.el7.centos.noarch 6/6 \n\nRemoved:\n cockpit-bridge.x86_64 0:195.12-1.el7.centos \n cockpit-ws.x86_64 0:195.12-1.el7.centos \n\nDependency Removed:\n cockpit.x86_64 0:195.12-1.el7.centos \n cockpit-packagekit.x86_64 0:195.12-1.el7.centos \n cockpit-storaged.noarch 0:195.12-1.el7.centos \n cockpit-system.noarch 0:195.12-1.el7.centos \n\nComplete!\n"
]
}
TASK [cleanup - find certificates] *********************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:13
Wednesday 03 August 2022 07:48:33 +0000 (0:00:01.875) 0:00:11.563 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"examined": 1,
"files": [
{
"atime": 1659512909.8140278,
"ctime": 1659512909.8040278,
"dev": 64769,
"gid": 994,
"gr_name": "cockpit-ws",
"inode": 8495182,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659512909.7980278,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 2975,
"uid": 0,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
}
],
"matched": 1,
"skipped_paths": {}
}
MSG:
All paths examined
TASK [cleanup - certificates] **************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:23
Wednesday 03 August 2022 07:48:33 +0000 (0:00:00.442) 0:00:12.006 ******
changed: [/cache/centos-7.qcow2c.snap] => (item={'uid': 0, 'woth': False, 'mtime': 1659512909.7980278, 'inode': 8495182, 'isgid': False, 'size': 2975, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'root', 'gid': 994, 'ischr': False, 'wusr': True, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'cockpit-ws', 'path': '/etc/cockpit/ws-certs.d/0-self-signed.cert', 'xusr': False, 'atime': 1659512909.8140278, 'isdir': False, 'ctime': 1659512909.8040278, 'isblk': False, 'xgrp': False, 'dev': 64769, 'wgrp': False, 'isfifo': False, 'mode': '0640', 'islnk': False}) => {
"ansible_loop_var": "item",
"changed": true,
"item": {
"atime": 1659512909.8140278,
"ctime": 1659512909.8040278,
"dev": 64769,
"gid": 994,
"gr_name": "cockpit-ws",
"inode": 8495182,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0640",
"mtime": 1659512909.7980278,
"nlink": 1,
"path": "/etc/cockpit/ws-certs.d/0-self-signed.cert",
"pw_name": "root",
"rgrp": true,
"roth": false,
"rusr": true,
"size": 2975,
"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"
}
TASK [cleanup - config file] ***************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:32
Wednesday 03 August 2022 07:48:33 +0000 (0:00:00.322) 0:00:12.328 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"path": "/etc/cockpit/cockpit.conf",
"state": "absent"
}
TASK [cleanup - port customization] ********************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:40
Wednesday 03 August 2022 07:48:34 +0000 (0:00:00.304) 0:00:12.633 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"path": "/etc/systemd/system/cockpit.socket.d/",
"state": "absent"
}
TASK [cleanup - reload systemd] ************************************************
task path: /tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:48
Wednesday 03 August 2022 07:48:34 +0000 (0:00:00.312) 0:00:12.946 ******
ok: [/cache/centos-7.qcow2c.snap] => {
"changed": false,
"name": null,
"status": {}
}
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
/cache/centos-7.qcow2c.snap : ok=22 changed=7 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0
Wednesday 03 August 2022 07:48:34 +0000 (0:00:00.464) 0:00:13.410 ******
===============================================================================
fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. --- 4.56s
/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:6
cleanup - packages ------------------------------------------------------ 1.88s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:1 ----------------------------
fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled --- 0.75s
/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:75
fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.74s
/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2
test - cockpit works with TLS ------------------------------------------- 0.74s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:19 ---------------------------
cleanup - reload systemd ------------------------------------------------ 0.46s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:48 ---------------------------
test - socket is active ------------------------------------------------- 0.44s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:11 ---------------------------
cleanup - find certificates --------------------------------------------- 0.44s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:13 ---------------------------
fedora.linux_system_roles.cockpit : Clean up port configuration file for undefined custom port --- 0.44s
/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:66
test - no configuration file -------------------------------------------- 0.43s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:33 ---------------------------
cleanup - certificates -------------------------------------------------- 0.32s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:23 ---------------------------
cleanup - port customization -------------------------------------------- 0.31s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:40 ---------------------------
cleanup - config file --------------------------------------------------- 0.30s
/tmp/tmp0d1dc1pl/tests/cockpit/tasks/cleanup.yml:32 ---------------------------
test - no port configuration file --------------------------------------- 0.30s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:39 ---------------------------
test - socket is enabled ------------------------------------------------ 0.30s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:15 ---------------------------
test - clean up output file --------------------------------------------- 0.29s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:28 ---------------------------
test - HTTP response is something sensible ------------------------------ 0.29s
/tmp/tmp0d1dc1pl/tests/cockpit/tests_default.yml:25 ---------------------------
fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.04s
/tmp/tmpyk8b1iha/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/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:1
fedora.linux_system_roles.cockpit : Link to configured existing certificate key --- 0.03s
/tmp/tmpyk8b1iha/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:102