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/tmpci8tasaa 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 06 July 2022 07:16:32 +0000 (0:00:00.019) 0:00:00.019 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.228693", "end": "2022-07-06 07:16:32.548738", "rc": 0, "start": "2022-07-06 07:16:32.320045" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 07:16:33 +0000 (0:00:00.817) 0:00:00.836 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmpimshjpek/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpimshjpek/tests/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 07:16:33 +0000 (0:00:00.012) 0:00:00.849 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpimshjpek/tests/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 07:16:34 +0000 (0:00:01.057) 0:00:01.907 ******** changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpimshjpek/tests/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657091794.836894-127109-89782750753276/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpimshjpek/tests/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657091795.3901026-127109-227174061062756/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpimshjpek/tests/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657091795.731961-127109-118537119911721/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpimshjpek/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657091796.0655966-127109-180328137459497/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpimshjpek/tests/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 07:16:36 +0000 (0:00:01.592) 0:00:03.499 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:16:36 +0000 (0:00:00.031) 0:00:03.530 ******** included: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:16:36 +0000 (0:00:00.027) 0:00:03.558 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 07:16:36 +0000 (0:00:00.512) 0:00:04.071 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:16:37 +0000 (0:00:00.036) 0:00:04.107 ******** included: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:16:37 +0000 (0:00:00.028) 0:00:04.135 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:16:39 +0000 (0:00:02.293) 0:00:06.428 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:16:39 +0000 (0:00:00.021) 0:00:06.450 ******** ok: [/cache/centos-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:16:39 +0000 (0:00:00.526) 0:00:06.976 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:16:39 +0000 (0:00:00.021) 0:00:06.998 ******** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 07:14:34 UTC", "ActiveEnterTimestampMonotonic": "38585409", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 07:14:34 UTC", "AssertTimestampMonotonic": "38583733", "Backlog": "128", "Before": "multi-user.target shutdown.target sockets.target tangd@0.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": "yes", "ConditionTimestamp": "Wed 2022-07-06 07:14:34 UTC", "ConditionTimestampMonotonic": "38583733", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.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": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 07:14:34 UTC", "InactiveExitTimestampMonotonic": "38585409", "InvocationID": "1cc82b9055734224b024f1f99ea4e70b", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "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": "tangd.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", "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]", "StateChangeTimestamp": "Wed 2022-07-06 07:14:34 UTC", "StateChangeTimestampMonotonic": "38585409", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmpimshjpek/tests/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 07:16:40 +0000 (0:00:00.773) 0:00:07.771 ******** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/centos-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 07:16:40 +0000 (0:00:00.048) 0:00:07.820 ******** =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.29s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 create var file in caller that can override the one in called role ------ 1.59s /tmp/tmpimshjpek/tests/tests_include_vars_from_parent.yml:4 ------------------- Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmpimshjpek/tests/tests_include_vars_from_parent.yml:1 ------------------- Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.77s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.53s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.51s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 caller : assert --------------------------------------------------------- 0.05s /tmp/tmpimshjpek/tests/roles/caller/tasks/main.yml:7 -------------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.03s /tmp/tmpimshjpek/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 -- linux-system-roles.nbde_server : Set version specific variables --------- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 -- linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.02s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.02s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 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/tmpci8tasaa 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 06 July 2022 07:20:33 +0000 (0:00:00.019) 0:00:00.019 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.207490", "end": "2022-07-06 07:20:33.054858", "rc": 0, "start": "2022-07-06 07:20:32.847368" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 07:20:33 +0000 (0:00:00.785) 0:00:00.805 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp58s1tvpm/tests/nbde_server/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp58s1tvpm/tests/nbde_server/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 07:20:33 +0000 (0:00:00.012) 0:00:00.818 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp58s1tvpm/tests/nbde_server/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 07:20:34 +0000 (0:00:01.043) 0:00:01.861 ******** changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657092034.9558983-133019-27730300014967/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657092035.5210094-133019-161893240524449/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657092035.863638-133019-34869798592069/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657092036.2027652-133019-229074374071598/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 07:20:36 +0000 (0:00:01.611) 0:00:03.473 ******** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:20:36 +0000 (0:00:00.031) 0:00:03.504 ******** included: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:20:36 +0000 (0:00:00.028) 0:00:03.533 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 07:20:37 +0000 (0:00:00.509) 0:00:04.042 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:20:37 +0000 (0:00:00.036) 0:00:04.079 ******** included: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:20:37 +0000 (0:00:00.032) 0:00:04.111 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:20:39 +0000 (0:00:02.132) 0:00:06.243 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:20:39 +0000 (0:00:00.021) 0:00:06.265 ******** ok: [/cache/centos-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:20:39 +0000 (0:00:00.502) 0:00:06.767 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:20:39 +0000 (0:00:00.022) 0:00:06.790 ******** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 07:18:13 UTC", "ActiveEnterTimestampMonotonic": "40974105", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 07:18:13 UTC", "AssertTimestampMonotonic": "40972582", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 07:18:13 UTC", "ConditionTimestampMonotonic": "40972582", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.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": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 07:18:13 UTC", "InactiveExitTimestampMonotonic": "40974105", "InvocationID": "a193316c25ad410ea8592d4053bfec10", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "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": "tangd.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", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-06 07:18:13 UTC", "StateChangeTimestampMonotonic": "40974105", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 07:20:40 +0000 (0:00:00.787) 0:00:07.577 ******** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/centos-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=11 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 07:20:40 +0000 (0:00:00.091) 0:00:07.668 ******** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 2.13s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 create var file in caller that can override the one in called role ------ 1.61s /tmp/tmp58s1tvpm/tests/nbde_server/tests_include_vars_from_parent.yml:4 ------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp58s1tvpm/tests/nbde_server/tests_include_vars_from_parent.yml:1 ------- fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.79s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.51s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.50s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 caller : assert --------------------------------------------------------- 0.09s /tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/tasks/main.yml:7 -------------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.03s /tmp/tmp58s1tvpm/tests/nbde_server/roles/caller/tasks/main.yml:4 -------------- fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.02s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.02s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7