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/tmpxcm1ntjs 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_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:6 Wednesday 06 July 2022 06:55:52 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:55:53 +0000 (0:00:01.107) 0:00:01.121 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:55:53 +0000 (0:00:00.027) 0:00:01.149 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:55:53 +0000 (0:00:00.527) 0:00:01.676 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:55:53 +0000 (0:00:00.040) 0:00:01.716 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:55:53 +0000 (0:00:00.032) 0:00:01.748 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:55:55 +0000 (0:00:01.566) 0:00:03.315 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:55:55 +0000 (0:00:00.508) 0:00:03.823 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:55:55 +0000 (0:00:00.033) 0:00:03.857 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:55:56 +0000 (0:00:00.033) 0:00:03.890 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:51:43 EDT", "ActiveEnterTimestampMonotonic": "13928306", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:51:43 EDT", "AssertTimestampMonotonic": "13926283", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.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 02:51:43 EDT", "ConditionTimestampMonotonic": "13926283", "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 02:51:43 EDT", "InactiveExitTimestampMonotonic": "13928306", "InvocationID": "197db1714d274f37b5b09c013cdd1adb", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:51:43 EDT", "StateChangeTimestampMonotonic": "13928306", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys] ************************************************************* task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:14 Wednesday 06 July 2022 06:55:56 +0000 (0:00:00.744) 0:00:04.634 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 26, "files": [ { "atime": 1657090554.657877, "ctime": 1657090554.662877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090554.657877, "nlink": 1, "path": "/var/db/tang/EhRN_2FU1yafxW5VFKa6HD1gLXo.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090554.6618772, "ctime": 1657090554.662877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090554.662877, "nlink": 1, "path": "/var/db/tang/ngGsSLQ4xsIlvdvo8Hm8wU8YOuo.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:55:57 +0000 (0:00:00.467) 0:00:05.101 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:55:57 +0000 (0:00:00.027) 0:00:05.129 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:55:57 +0000 (0:00:00.484) 0:00:05.613 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:55:57 +0000 (0:00:00.040) 0:00:05.654 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:55:57 +0000 (0:00:00.031) 0:00:05.685 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:55:59 +0000 (0:00:01.273) 0:00:06.958 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:55:59 +0000 (0:00:00.039) 0:00:06.998 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:55:59 +0000 (0:00:00.390) 0:00:07.388 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:55:59 +0000 (0:00:00.034) 0:00:07.423 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:51:43 EDT", "ActiveEnterTimestampMonotonic": "13928306", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:51:43 EDT", "AssertTimestampMonotonic": "13926283", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.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 02:51:43 EDT", "ConditionTimestampMonotonic": "13926283", "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 02:51:43 EDT", "InactiveExitTimestampMonotonic": "13928306", "InvocationID": "197db1714d274f37b5b09c013cdd1adb", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:51:43 EDT", "StateChangeTimestampMonotonic": "13928306", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:31 Wednesday 06 July 2022 06:56:00 +0000 (0:00:00.507) 0:00:07.930 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 26, "files": [ { "atime": 1657090554.657877, "ctime": 1657090554.662877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090554.657877, "nlink": 1, "path": "/var/db/tang/EhRN_2FU1yafxW5VFKa6HD1gLXo.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090554.6618772, "ctime": 1657090554.662877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090554.662877, "nlink": 1, "path": "/var/db/tang/ngGsSLQ4xsIlvdvo8Hm8wU8YOuo.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:42 Wednesday 06 July 2022 06:56:00 +0000 (0:00:00.351) 0:00:08.282 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:56:00 +0000 (0:00:00.035) 0:00:08.317 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:56:00 +0000 (0:00:00.027) 0:00:08.345 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:56:00 +0000 (0:00:00.502) 0:00:08.847 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:56:01 +0000 (0:00:00.039) 0:00:08.886 ******** included: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:56:01 +0000 (0:00:00.032) 0:00:08.919 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:56:02 +0000 (0:00:01.240) 0:00:10.160 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:56:02 +0000 (0:00:00.378) 0:00:10.539 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:56:02 +0000 (0:00:00.033) 0:00:10.572 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:56:02 +0000 (0:00:00.033) 0:00:10.605 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:51:43 EDT", "ActiveEnterTimestampMonotonic": "13928306", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:51:43 EDT", "AssertTimestampMonotonic": "13926283", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.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 02:51:43 EDT", "ConditionTimestampMonotonic": "13926283", "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 02:51:43 EDT", "InactiveExitTimestampMonotonic": "13928306", "InvocationID": "197db1714d274f37b5b09c013cdd1adb", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:51:43 EDT", "StateChangeTimestampMonotonic": "13928306", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:52 Wednesday 06 July 2022 06:56:03 +0000 (0:00:00.544) 0:00:11.149 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 28, "files": [ { "atime": 1657090561.377877, "ctime": 1657090561.382877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090561.377877, "nlink": 1, "path": "/var/db/tang/v8EixPdipD8jw87k3JwKHo8PBqM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090561.3818772, "ctime": 1657090561.382877, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 9102277, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090561.3818772, "nlink": 1, "path": "/var/db/tang/mCvbx4L2Vl0SiQ4P7WSufiuKDhQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:63 Wednesday 06 July 2022 06:56:03 +0000 (0:00:00.342) 0:00:11.491 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=27 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 06:56:03 +0000 (0:00:00.066) 0:00:11.558 ******** =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.57s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.27s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.24s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:6 -------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.74s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.54s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.53s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.51s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.51s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.50s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.48s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Gather keys ------------------------------------------------------------- 0.47s /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:14 ------------------- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.39s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.38s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.35s /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:31 ------------------- Gather keys after running with nbde_server_rotate_keys set -------------- 0.34s /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:52 ------------------- Check whether keys changed - nbde_server_rotate_keys set ---------------- 0.07s /tmp/tmpz8lw0w9s/tests/tests_nbde_server_rotate_keys.yml:63 ------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpz8lw0w9s/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 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/tmpxcm1ntjs 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_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 Wednesday 06 July 2022 07:01:12 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:01:14 +0000 (0:00:02.177) 0:00:02.190 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:01:14 +0000 (0:00:00.028) 0:00:02.219 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 07:01:14 +0000 (0:00:00.507) 0:00:02.726 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:01:14 +0000 (0:00:00.041) 0:00:02.767 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:01:14 +0000 (0:00:00.033) 0:00:02.800 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:01:16 +0000 (0:00:01.420) 0:00:04.220 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:01:16 +0000 (0:00:00.486) 0:00:04.707 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:01:16 +0000 (0:00:00.033) 0:00:04.740 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:01:16 +0000 (0:00:00.033) 0:00:04.773 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:56:33 EDT", "ActiveEnterTimestampMonotonic": "13921315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:56:33 EDT", "AssertTimestampMonotonic": "13919079", "Backlog": "128", "Before": "sockets.target multi-user.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 02:56:33 EDT", "ConditionTimestampMonotonic": "13919079", "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 02:56:33 EDT", "InactiveExitTimestampMonotonic": "13921315", "InvocationID": "e55be8696e0a4ad8838f5f2bda513ea8", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:56:33 EDT", "StateChangeTimestampMonotonic": "13921315", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys] ************************************************************* task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 Wednesday 06 July 2022 07:01:17 +0000 (0:00:00.748) 0:00:05.521 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 28, "files": [ { "atime": 1657090875.935037, "ctime": 1657090875.939037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090875.935037, "nlink": 1, "path": "/var/db/tang/_X-HpzuhNrhcexRo41ECPWQ_uuM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090875.939037, "ctime": 1657090875.939037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090875.939037, "nlink": 1, "path": "/var/db/tang/4pBfUMVZ18_laFK5_e4sCuxex9E.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:01:18 +0000 (0:00:00.456) 0:00:05.978 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:01:18 +0000 (0:00:00.028) 0:00:06.007 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 07:01:18 +0000 (0:00:00.480) 0:00:06.487 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:01:18 +0000 (0:00:00.040) 0:00:06.528 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:01:18 +0000 (0:00:00.032) 0:00:06.561 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:01:19 +0000 (0:00:01.254) 0:00:07.815 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:01:20 +0000 (0:00:00.038) 0:00:07.853 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:01:20 +0000 (0:00:00.358) 0:00:08.212 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:01:20 +0000 (0:00:00.034) 0:00:08.246 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:56:33 EDT", "ActiveEnterTimestampMonotonic": "13921315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:56:33 EDT", "AssertTimestampMonotonic": "13919079", "Backlog": "128", "Before": "sockets.target multi-user.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 02:56:33 EDT", "ConditionTimestampMonotonic": "13919079", "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 02:56:33 EDT", "InactiveExitTimestampMonotonic": "13921315", "InvocationID": "e55be8696e0a4ad8838f5f2bda513ea8", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:56:33 EDT", "StateChangeTimestampMonotonic": "13921315", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 Wednesday 06 July 2022 07:01:20 +0000 (0:00:00.509) 0:00:08.756 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 28, "files": [ { "atime": 1657090875.935037, "ctime": 1657090875.939037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090875.935037, "nlink": 1, "path": "/var/db/tang/_X-HpzuhNrhcexRo41ECPWQ_uuM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090875.939037, "ctime": 1657090875.939037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090875.939037, "nlink": 1, "path": "/var/db/tang/4pBfUMVZ18_laFK5_e4sCuxex9E.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:42 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.408) 0:00:09.164 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.032) 0:00:09.197 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.028) 0:00:09.226 ******** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.489) 0:00:09.715 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.041) 0:00:09.756 ******** included: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:01:21 +0000 (0:00:00.033) 0:00:09.789 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:01:23 +0000 (0:00:01.271) 0:00:11.060 ******** changed: [/cache/rhel-8-y.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:01:23 +0000 (0:00:00.395) 0:00:11.456 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:01:23 +0000 (0:00:00.033) 0:00:11.489 ******** skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:01:23 +0000 (0:00:00.033) 0:00:11.523 ******** ok: [/cache/rhel-8-y.qcow2.snap] => (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 02:56:33 EDT", "ActiveEnterTimestampMonotonic": "13921315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:56:33 EDT", "AssertTimestampMonotonic": "13919079", "Backlog": "128", "Before": "sockets.target multi-user.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 02:56:33 EDT", "ConditionTimestampMonotonic": "13919079", "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 02:56:33 EDT", "InactiveExitTimestampMonotonic": "13921315", "InvocationID": "e55be8696e0a4ad8838f5f2bda513ea8", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "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": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "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 02:56:33 EDT", "StateChangeTimestampMonotonic": "13921315", "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": "[not set]", "TasksMax": "11141", "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/rhel-8-y.qcow2.snap TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 Wednesday 06 July 2022 07:01:24 +0000 (0:00:00.527) 0:00:12.050 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 30, "files": [ { "atime": 1657090882.681037, "ctime": 1657090882.685037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 8470391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090882.681037, "nlink": 1, "path": "/var/db/tang/C1i_JQU8ko3iiTxeA3eeh4NERX4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657090882.685037, "ctime": 1657090882.685037, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 9102286, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657090882.685037, "nlink": 1, "path": "/var/db/tang/cGQSyEJAJuMJzmZhi1CUwRGkpJA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:63 Wednesday 06 July 2022 07:01:24 +0000 (0:00:00.356) 0:00:12.407 ******** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=27 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 07:01:24 +0000 (0:00:00.039) 0:00:12.446 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 2.18s /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 -------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.42s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.27s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.25s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.75s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.53s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.51s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.51s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.49s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.49s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.48s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Gather keys ------------------------------------------------------------- 0.46s /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 ------- Gather keys after running with nbde_server_rotate_keys not set ---------- 0.41s /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 ------- fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.40s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.36s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Gather keys after running with nbde_server_rotate_keys set -------------- 0.36s /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 ------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpxcm1ntjs/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Check whether keys changed - nbde_server_rotate_keys set ---------------- 0.04s /tmp/tmpd0ilu3b4/tests/nbde_server/tests_nbde_server_rotate_keys.yml:63 -------