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/tmpa7i3jt2d executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 06:09:13 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 06:09:15 +0000 (0:00:01.346) 0:00:01.364 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:6 Wednesday 06 July 2022 06:09:15 +0000 (0:00:00.044) 0:00:01.409 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:09:16 +0000 (0:00:00.940) 0:00:02.349 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:09:16 +0000 (0:00:00.025) 0:00:02.375 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:09:16 +0000 (0:00:00.386) 0:00:02.762 ******** ok: [/cache/rhel-7.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/tmp36a1z907/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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:09:16 +0000 (0:00:00.037) 0:00:02.800 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:09:16 +0000 (0:00:00.029) 0:00:02.829 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:09:17 +0000 (0:00:00.630) 0:00:03.459 ******** changed: [/cache/rhel-7.qcow2] => { "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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:09:17 +0000 (0:00:00.445) 0:00:03.905 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:09:17 +0000 (0:00:00.031) 0:00:03.936 ******** skipping: [/cache/rhel-7.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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:09:17 +0000 (0:00:00.029) 0:00:03.966 ******** ok: [/cache/rhel-7.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 02:07:50 EDT", "ActiveEnterTimestampMonotonic": "17436439", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:07:50 EDT", "AssertTimestampMonotonic": "17435506", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:07:50 EDT", "ConditionTimestampMonotonic": "17435506", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:07:50 EDT", "InactiveExitTimestampMonotonic": "17436439", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys] ************************************************************* task path: /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:14 Wednesday 06 July 2022 06:09:18 +0000 (0:00:00.668) 0:00:04.635 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1657087757.700733, "ctime": 1657087757.707733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087757.700733, "nlink": 1, "path": "/var/db/tang/yR5Zub_XYHV6CiRPbHDEigNk-is.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087757.707733, "ctime": 1657087757.707733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087757.707733, "nlink": 1, "path": "/var/db/tang/tetsdQGqQFq4EsUgUlUgey5h3zA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:09:18 +0000 (0:00:00.420) 0:00:05.055 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:09:18 +0000 (0:00:00.026) 0:00:05.082 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:09:19 +0000 (0:00:00.390) 0:00:05.472 ******** ok: [/cache/rhel-7.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/tmp36a1z907/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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:09:19 +0000 (0:00:00.038) 0:00:05.510 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:09:19 +0000 (0:00:00.031) 0:00:05.541 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:09:19 +0000 (0:00:00.504) 0:00:06.046 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:09:19 +0000 (0:00:00.038) 0:00:06.085 ******** ok: [/cache/rhel-7.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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:09:20 +0000 (0:00:00.351) 0:00:06.437 ******** skipping: [/cache/rhel-7.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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:09:20 +0000 (0:00:00.030) 0:00:06.467 ******** ok: [/cache/rhel-7.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 02:07:50 EDT", "ActiveEnterTimestampMonotonic": "17436439", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:07:50 EDT", "AssertTimestampMonotonic": "17435506", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:07:50 EDT", "ConditionTimestampMonotonic": "17435506", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:07:50 EDT", "InactiveExitTimestampMonotonic": "17436439", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:31 Wednesday 06 July 2022 06:09:20 +0000 (0:00:00.395) 0:00:06.862 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1657087757.700733, "ctime": 1657087757.707733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087757.700733, "nlink": 1, "path": "/var/db/tang/yR5Zub_XYHV6CiRPbHDEigNk-is.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087757.707733, "ctime": 1657087757.707733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087757.707733, "nlink": 1, "path": "/var/db/tang/tetsdQGqQFq4EsUgUlUgey5h3zA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:42 Wednesday 06 July 2022 06:09:20 +0000 (0:00:00.330) 0:00:07.193 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:09:21 +0000 (0:00:00.060) 0:00:07.253 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:09:21 +0000 (0:00:00.025) 0:00:07.278 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:09:21 +0000 (0:00:00.399) 0:00:07.678 ******** ok: [/cache/rhel-7.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/tmp36a1z907/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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:09:21 +0000 (0:00:00.065) 0:00:07.743 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:09:21 +0000 (0:00:00.030) 0:00:07.774 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:09:22 +0000 (0:00:00.514) 0:00:08.289 ******** changed: [/cache/rhel-7.qcow2] => { "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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:09:22 +0000 (0:00:00.361) 0:00:08.651 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:09:22 +0000 (0:00:00.033) 0:00:08.684 ******** skipping: [/cache/rhel-7.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/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:09:22 +0000 (0:00:00.033) 0:00:08.718 ******** ok: [/cache/rhel-7.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 02:07:50 EDT", "ActiveEnterTimestampMonotonic": "17436439", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:07:50 EDT", "AssertTimestampMonotonic": "17435506", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:07:50 EDT", "ConditionTimestampMonotonic": "17435506", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:07:50 EDT", "InactiveExitTimestampMonotonic": "17436439", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:52 Wednesday 06 July 2022 06:09:22 +0000 (0:00:00.436) 0:00:09.154 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 8, "files": [ { "atime": 1657087762.444733, "ctime": 1657087762.452733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087762.4457328, "nlink": 1, "path": "/var/db/tang/KQWxgaSrPGNtxAbPxLJUogGz-cs.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087762.4517329, "ctime": 1657087762.452733, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777381, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087762.4517329, "nlink": 1, "path": "/var/db/tang/-Gy8J3xEbA8oLQqaN0MymxCVQOg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:63 Wednesday 06 July 2022 06:09:23 +0000 (0:00:00.324) 0:00:09.478 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=28 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 06:09:23 +0000 (0:00:00.038) 0:00:09.517 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:6 -------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.67s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.63s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.51s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.50s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.45s /tmp/tmp36a1z907/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.44s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Gather keys ------------------------------------------------------------- 0.42s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:14 ------------------- linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.40s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.40s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.39s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.39s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.36s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.35s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.33s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:31 ------------------- Gather keys after running with nbde_server_rotate_keys set -------------- 0.32s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:52 ------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.07s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Check whether keys changed - nbde_server_rotate_keys not set ------------ 0.06s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:42 ------------------- Check whether keys changed - nbde_server_rotate_keys set ---------------- 0.04s /tmp/tmp36a1z907/tests/tests_nbde_server_rotate_keys.yml:63 ------------------- 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/tmpa7i3jt2d executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 06:11:37 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 06:11:39 +0000 (0:00:01.361) 0:00:01.379 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 Wednesday 06 July 2022 06:11:39 +0000 (0:00:00.043) 0:00:01.423 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:11:40 +0000 (0:00:00.935) 0:00:02.358 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:11:40 +0000 (0:00:00.026) 0:00:02.385 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 06:11:40 +0000 (0:00:00.396) 0:00:02.782 ******** ok: [/cache/rhel-7.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/tmpa7i3jt2d/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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:11:40 +0000 (0:00:00.040) 0:00:02.822 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:11:40 +0000 (0:00:00.033) 0:00:02.856 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:11:41 +0000 (0:00:00.654) 0:00:03.510 ******** changed: [/cache/rhel-7.qcow2] => { "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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:11:41 +0000 (0:00:00.453) 0:00:03.964 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:11:41 +0000 (0:00:00.031) 0:00:03.995 ******** skipping: [/cache/rhel-7.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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:11:41 +0000 (0:00:00.029) 0:00:04.025 ******** ok: [/cache/rhel-7.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 02:09:54 EDT", "ActiveEnterTimestampMonotonic": "17474529", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:09:54 EDT", "AssertTimestampMonotonic": "17473408", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:09:54 EDT", "ConditionTimestampMonotonic": "17473407", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:09:54 EDT", "InactiveExitTimestampMonotonic": "17474529", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys] ************************************************************* task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 Wednesday 06 July 2022 06:11:42 +0000 (0:00:00.647) 0:00:04.672 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 8, "files": [ { "atime": 1657087900.4824376, "ctime": 1657087900.4924376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087900.4844377, "nlink": 1, "path": "/var/db/tang/pE-uv2OQ18_lHSiaZ-22MUWlrY8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087900.4914377, "ctime": 1657087900.4924376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087900.4914377, "nlink": 1, "path": "/var/db/tang/-FuOR-f4Wlveyl0pmWPcNpAhKXA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.414) 0:00:05.086 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.026) 0:00:05.112 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.391) 0:00:05.504 ******** ok: [/cache/rhel-7.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/tmpa7i3jt2d/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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.038) 0:00:05.543 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.030) 0:00:05.574 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:11:43 +0000 (0:00:00.472) 0:00:06.046 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:11:44 +0000 (0:00:00.037) 0:00:06.083 ******** ok: [/cache/rhel-7.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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:11:44 +0000 (0:00:00.312) 0:00:06.395 ******** skipping: [/cache/rhel-7.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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:11:44 +0000 (0:00:00.034) 0:00:06.430 ******** ok: [/cache/rhel-7.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 02:09:54 EDT", "ActiveEnterTimestampMonotonic": "17474529", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:09:54 EDT", "AssertTimestampMonotonic": "17473408", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:09:54 EDT", "ConditionTimestampMonotonic": "17473407", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:09:54 EDT", "InactiveExitTimestampMonotonic": "17474529", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 Wednesday 06 July 2022 06:11:44 +0000 (0:00:00.410) 0:00:06.841 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 8, "files": [ { "atime": 1657087900.4824376, "ctime": 1657087900.4924376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087900.4844377, "nlink": 1, "path": "/var/db/tang/pE-uv2OQ18_lHSiaZ-22MUWlrY8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087900.4914377, "ctime": 1657087900.4924376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087900.4914377, "nlink": 1, "path": "/var/db/tang/-FuOR-f4Wlveyl0pmWPcNpAhKXA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:42 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.306) 0:00:07.147 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.033) 0:00:07.180 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.027) 0:00:07.208 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.444) 0:00:07.653 ******** ok: [/cache/rhel-7.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/tmpa7i3jt2d/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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.039) 0:00:07.692 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:11:45 +0000 (0:00:00.032) 0:00:07.725 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:11:46 +0000 (0:00:00.506) 0:00:08.231 ******** changed: [/cache/rhel-7.qcow2] => { "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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:11:46 +0000 (0:00:00.332) 0:00:08.563 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:11:46 +0000 (0:00:00.032) 0:00:08.595 ******** skipping: [/cache/rhel-7.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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:11:46 +0000 (0:00:00.031) 0:00:08.627 ******** ok: [/cache/rhel-7.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 02:09:54 EDT", "ActiveEnterTimestampMonotonic": "17474529", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:09:54 EDT", "AssertTimestampMonotonic": "17473408", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:09:54 EDT", "ConditionTimestampMonotonic": "17473407", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:09:54 EDT", "InactiveExitTimestampMonotonic": "17474529", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 Wednesday 06 July 2022 06:11:46 +0000 (0:00:00.437) 0:00:09.064 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "examined": 10, "files": [ { "atime": 1657087905.0874376, "ctime": 1657087905.0944376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087905.0874376, "nlink": 1, "path": "/var/db/tang/FagftGMNx4McgEwm-EPsSdb1eyo.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657087905.0934377, "ctime": 1657087905.0944376, "dev": 64769, "gid": 994, "gr_name": "tang", "inode": 16777377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657087905.0934377, "nlink": 1, "path": "/var/db/tang/_Dersz5PkXkOFWwfXy7QuSIK_CE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "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/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:63 Wednesday 06 July 2022 06:11:47 +0000 (0:00:00.329) 0:00:09.394 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=28 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 06:11:47 +0000 (0:00:00.037) 0:00:09.431 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 -------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.65s /tmp/tmpa7i3jt2d/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.65s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.51s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.47s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.45s /tmp/tmpa7i3jt2d/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.44s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.44s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Gather keys ------------------------------------------------------------- 0.41s /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 ------- fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.41s /tmp/tmpa7i3jt2d/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.40s /tmp/tmpa7i3jt2d/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.39s /tmp/tmpa7i3jt2d/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.33s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Gather keys after running with nbde_server_rotate_keys set -------------- 0.33s /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 ------- fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.31s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.31s /tmp/tmpmjxcvolv/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 ------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpa7i3jt2d/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/tmpa7i3jt2d/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/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7