ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpci8tasaa executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 06 July 2022 07:14:39 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.192899", "end": "2022-07-06 07:14:38.986286", "rc": 0, "start": "2022-07-06 07:14:38.793387" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 07:14:40 +0000 (0:00:00.780) 0:00:00.799 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_default_vars.yml *********************************************** 1 plays in /tmp/tmpimshjpek/tests/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpimshjpek/tests/tests_default_vars.yml:2 Wednesday 06 July 2022 07:14:40 +0000 (0:00:00.013) 0:00:00.813 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:14:41 +0000 (0:00:01.008) 0:00:01.821 ******** included: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:14:41 +0000 (0:00:00.027) 0:00:01.849 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 07:14:41 +0000 (0:00:00.506) 0:00:02.356 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:14:41 +0000 (0:00:00.036) 0:00:02.393 ******** included: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:14:41 +0000 (0:00:00.028) 0:00:02.421 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:14:43 +0000 (0:00:02.031) 0:00:04.452 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:14:43 +0000 (0:00:00.030) 0:00:04.483 ******** ok: [/cache/centos-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:14:44 +0000 (0:00:00.491) 0:00:04.975 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:14:44 +0000 (0:00:00.034) 0:00:05.010 ******** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 07:14:34 UTC", "ActiveEnterTimestampMonotonic": "38585409", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 07:14:34 UTC", "AssertTimestampMonotonic": "38583733", "Backlog": "128", "Before": "multi-user.target shutdown.target sockets.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 07:14:34 UTC", "ConditionTimestampMonotonic": "38583733", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 07:14:34 UTC", "InactiveExitTimestampMonotonic": "38585409", "InvocationID": "1cc82b9055734224b024f1f99ea4e70b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-06 07:14:34 UTC", "StateChangeTimestampMonotonic": "38585409", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [Assert that the role declares all parameters in defaults] **************** task path: /tmp/tmpimshjpek/tests/tests_default_vars.yml:9 Wednesday 06 July 2022 07:14:45 +0000 (0:00:00.756) 0:00:05.766 ******** ok: [/cache/centos-8.qcow2] => (item=nbde_server_provider) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_provider" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_deploy_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_deploy_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_fetch_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_fetch_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_rotate_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_rotate_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_keys_dir) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_keys_dir" } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 07:14:45 +0000 (0:00:00.115) 0:00:05.881 ******** =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpimshjpek/tests/tests_default_vars.yml:2 ------------------------------- Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.76s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.51s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.49s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Assert that the role declares all parameters in defaults ---------------- 0.12s /tmp/tmpimshjpek/tests/tests_default_vars.yml:9 ------------------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 linux-system-roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 -- linux-system-roles.nbde_server : Set version specific variables --------- 0.03s /tmp/tmpimshjpek/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 -- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpci8tasaa executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 06 July 2022 07:18:17 +0000 (0:00:00.017) 0:00:00.017 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.192499", "end": "2022-07-06 07:18:17.448613", "rc": 0, "start": "2022-07-06 07:18:17.256114" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 07:18:18 +0000 (0:00:00.761) 0:00:00.779 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.76s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_default_vars.yml *********************************************** 1 plays in /tmp/tmp58s1tvpm/tests/nbde_server/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp58s1tvpm/tests/nbde_server/tests_default_vars.yml:2 Wednesday 06 July 2022 07:18:18 +0000 (0:00:00.015) 0:00:00.795 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 07:18:20 +0000 (0:00:02.047) 0:00:02.842 ******** included: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 07:18:20 +0000 (0:00:00.028) 0:00:02.871 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 07:18:20 +0000 (0:00:00.496) 0:00:03.368 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 07:18:20 +0000 (0:00:00.038) 0:00:03.406 ******** included: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 07:18:20 +0000 (0:00:00.032) 0:00:03.439 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 07:18:22 +0000 (0:00:02.046) 0:00:05.486 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 07:18:22 +0000 (0:00:00.031) 0:00:05.517 ******** ok: [/cache/centos-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 07:18:23 +0000 (0:00:00.501) 0:00:06.019 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 07:18:23 +0000 (0:00:00.033) 0:00:06.052 ******** ok: [/cache/centos-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 07:18:13 UTC", "ActiveEnterTimestampMonotonic": "40974105", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 07:18:13 UTC", "AssertTimestampMonotonic": "40972582", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 07:18:13 UTC", "ConditionTimestampMonotonic": "40972582", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 07:18:13 UTC", "InactiveExitTimestampMonotonic": "40974105", "InvocationID": "a193316c25ad410ea8592d4053bfec10", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-07-06 07:18:13 UTC", "StateChangeTimestampMonotonic": "40974105", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "11149", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } META: role_complete for /cache/centos-8.qcow2 TASK [Assert that the role declares all parameters in defaults] **************** task path: /tmp/tmp58s1tvpm/tests/nbde_server/tests_default_vars.yml:9 Wednesday 06 July 2022 07:18:24 +0000 (0:00:00.770) 0:00:06.823 ******** ok: [/cache/centos-8.qcow2] => (item=nbde_server_provider) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_provider" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_deploy_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_deploy_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_fetch_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_fetch_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_rotate_keys) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_rotate_keys" } MSG: All assertions passed ok: [/cache/centos-8.qcow2] => (item=nbde_server_keys_dir) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_server_keys_dir" } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=10 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 07:18:24 +0000 (0:00:00.112) 0:00:06.936 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 2.05s /tmp/tmp58s1tvpm/tests/nbde_server/tests_default_vars.yml:2 ------------------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 2.05s /tmp/tmpci8tasaa/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.77s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Enable HA repos --------------------------------------------------------- 0.76s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.50s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.50s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Assert that the role declares all parameters in defaults ---------------- 0.11s /tmp/tmp58s1tvpm/tests/nbde_server/tests_default_vars.yml:9 ------------------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.03s /tmp/tmpci8tasaa/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6