ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_deploy_keys.yml ************************************************ 1 plays in /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 Tuesday 24 September 2024 14:45:56 -0400 (0:00:00.027) 0:00:00.027 ***** ok: [managed-node3] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Tuesday 24 September 2024 14:45:57 -0400 (0:00:01.157) 0:00:01.185 ***** changed: [managed-node3 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keysxnkcun3a", "size": 6, "state": "directory", "uid": 0 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 Tuesday 24 September 2024 14:45:57 -0400 (0:00:00.292) 0:00:01.477 ***** ok: [managed-node3] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysxnkcun3a" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 Tuesday 24 September 2024 14:45:57 -0400 (0:00:00.041) 0:00:01.519 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Tuesday 24 September 2024 14:45:57 -0400 (0:00:00.021) 0:00:01.540 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:45:57 -0400 (0:00:00.020) 0:00:01.561 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:45:58 -0400 (0:00:00.033) 0:00:01.594 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:45:58 -0400 (0:00:00.420) 0:00:02.015 ***** ok: [managed-node3] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Tuesday 24 September 2024 14:45:58 -0400 (0:00:00.043) 0:00:02.058 ***** ok: [managed-node3] => { "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/collections-8kb/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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Tuesday 24 September 2024 14:45:58 -0400 (0:00:00.060) 0:00:02.118 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Tuesday 24 September 2024 14:45:58 -0400 (0:00:00.044) 0:00:02.162 ***** changed: [managed-node3] => { "changed": true, "rc": 0, "results": [ "Installed: libjose-10-2.el8.x86_64", "Installed: tang-7-8.el8.x86_64", "Installed: http-parser-2.8.0-9.el8.x86_64", "Installed: jose-10-2.el8.x86_64" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Tuesday 24 September 2024 14:46:05 -0400 (0:00:06.462) 0:00:08.625 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Tuesday 24 September 2024 14:46:05 -0400 (0:00:00.047) 0:00:08.673 ***** changed: [managed-node3] => { "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": true, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Tuesday 24 September 2024 14:46:05 -0400 (0:00:00.512) 0:00:09.185 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Tuesday 24 September 2024 14:46:05 -0400 (0:00:00.036) 0:00:09.221 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node3 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Tuesday 24 September 2024 14:46:05 -0400 (0:00:00.045) 0:00:09.267 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Tuesday 24 September 2024 14:46:05 -0400 (0:00:00.019) 0:00:09.286 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.321) 0:00:09.607 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.014) 0:00:09.622 ***** ok: [managed-node3] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.488) 0:00:10.110 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.023) 0:00:10.134 ***** ok: [managed-node3] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.028) 0:00:10.162 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.019) 0:00:10.182 ***** skipping: [managed-node3] => { "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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Tuesday 24 September 2024 14:46:06 -0400 (0:00:00.020) 0:00:10.202 ***** changed: [managed-node3] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target 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": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "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", "InactiveExitTimestampMonotonic": "0", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Writable": "no" } } TASK [Fetch the keys from every host] ****************************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:27 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.888) 0:00:11.091 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.023) 0:00:11.115 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.022) 0:00:11.138 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.022) 0:00:11.160 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.021) 0:00:11.181 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.020) 0:00:11.202 ***** ok: [managed-node3] => { "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/collections-8kb/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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.038) 0:00:11.240 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Tuesday 24 September 2024 14:46:07 -0400 (0:00:00.034) 0:00:11.275 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Tuesday 24 September 2024 14:46:10 -0400 (0:00:02.803) 0:00:14.078 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Tuesday 24 September 2024 14:46:10 -0400 (0:00:00.014) 0:00:14.093 ***** ok: [managed-node3] => { "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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Tuesday 24 September 2024 14:46:10 -0400 (0:00:00.336) 0:00:14.430 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Tuesday 24 September 2024 14:46:10 -0400 (0:00:00.030) 0:00:14.461 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Tuesday 24 September 2024 14:46:10 -0400 (0:00:00.014) 0:00:14.475 ***** ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203565.559338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203565.566338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Tuesday 24 September 2024 14:46:11 -0400 (0:00:00.426) 0:00:14.901 ***** changed: [managed-node3] => (item={'path': '/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 297795841, 'dev': 51713, 'nlink': 1, 'atime': 1727203565.559338, 'mtime': 1727203565.559338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b088c7bf7ef06c9672c5dc1cb7ecaf238baf8c62", "dest": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "item": { "atime": 1727203565.559338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "c631c18fbbc7500f7451980bb49ab28b", "remote_checksum": "b088c7bf7ef06c9672c5dc1cb7ecaf238baf8c62", "remote_md5sum": null } changed: [managed-node3] => (item={'path': '/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 297795842, 'dev': 51713, 'nlink': 1, 'atime': 1727203565.566338, 'mtime': 1727203565.566338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "11cee913970b704f26cd751054f3a9185c037d99", "dest": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "item": { "atime": 1727203565.566338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "bf0c3b8b371330301a40b6917d064f11", "remote_checksum": "11cee913970b704f26cd751054f3a9185c037d99", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.966) 0:00:15.868 ***** skipping: [managed-node3] => (item={'path': '/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 297795841, 'dev': 51713, 'nlink': 1, 'atime': 1727203565.559338, 'mtime': 1727203565.559338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203565.559338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'path': '/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 297795842, 'dev': 51713, 'nlink': 1, 'atime': 1727203565.566338, 'mtime': 1727203565.566338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203565.566338, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.032) 0:00:15.901 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.015) 0:00:15.917 ***** ok: [managed-node3 -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.221) 0:00:16.139 ***** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.015) 0:00:16.154 ***** ok: [managed-node3 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203571.7952867, "ctime": 1727203571.7732866, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956843, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203571.7732866, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203572.2622874, "ctime": 1727203572.2552874, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956844, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203572.2552874, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.353) 0:00:16.507 ***** skipping: [managed-node3] => (item={'path': '/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 354, 'inode': 473956843, 'dev': 51713, 'nlink': 1, 'atime': 1727203571.7952867, 'mtime': 1727203571.7732866, 'ctime': 1727203571.7732866, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203571.7952867, "ctime": 1727203571.7732866, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956843, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203571.7732866, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'path': '/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 349, 'inode': 473956844, 'dev': 51713, 'nlink': 1, 'atime': 1727203572.2622874, 'mtime': 1727203572.2552874, 'ctime': 1727203572.2552874, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203572.2622874, "ctime": 1727203572.2552874, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956844, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203572.2552874, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Tuesday 24 September 2024 14:46:12 -0400 (0:00:00.052) 0:00:16.559 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.024) 0:00:16.583 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.021) 0:00:16.605 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node3 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.047) 0:00:16.653 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.020) 0:00:16.673 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.449) 0:00:17.122 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Tuesday 24 September 2024 14:46:13 -0400 (0:00:00.022) 0:00:17.145 ***** ok: [managed-node3] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.438) 0:00:17.583 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.022) 0:00:17.606 ***** ok: [managed-node3] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.026) 0:00:17.632 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.023) 0:00:17.655 ***** skipping: [managed-node3] => { "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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.040) 0:00:17.696 ***** ok: [managed-node3] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Tue 2024-09-24 14:46:07 EDT", "ActiveEnterTimestampMonotonic": "261437278", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:46:07 EDT", "AssertTimestampMonotonic": "261434744", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:46:07 EDT", "ConditionTimestampMonotonic": "261434742", "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": "Tue 2024-09-24 14:46:07 EDT", "InactiveExitTimestampMonotonic": "261437278", "InvocationID": "b99c161a80c34835979c4cbd446cb050", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:46:07 EDT", "StateChangeTimestampMonotonic": "261437278", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "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" } } TASK [Gather keys before redeploy] ********************************************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 Tuesday 24 September 2024 14:46:14 -0400 (0:00:00.603) 0:00:18.299 ***** ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203571.6623585, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203572.1813602, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:44 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.357) 0:00:18.657 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.021) 0:00:18.678 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.017) 0:00:18.696 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.015) 0:00:18.712 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.013) 0:00:18.725 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.012) 0:00:18.738 ***** ok: [managed-node3] => { "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/collections-8kb/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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.023) 0:00:18.761 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Tuesday 24 September 2024 14:46:15 -0400 (0:00:00.050) 0:00:18.812 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Tuesday 24 September 2024 14:46:17 -0400 (0:00:02.736) 0:00:21.548 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Tuesday 24 September 2024 14:46:17 -0400 (0:00:00.019) 0:00:21.567 ***** ok: [managed-node3] => { "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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.358) 0:00:21.925 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed-node3 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.051) 0:00:21.976 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.021) 0:00:21.998 ***** ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203571.6623585, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203572.1813602, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.390) 0:00:22.389 ***** skipping: [managed-node3] => (item={'path': '/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 297795841, 'dev': 51713, 'nlink': 1, 'atime': 1727203571.6623585, 'mtime': 1727203565.559338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203571.6623585, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'path': '/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 297795842, 'dev': 51713, 'nlink': 1, 'atime': 1727203572.1813602, 'mtime': 1727203565.566338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203572.1813602, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.036) 0:00:22.425 ***** skipping: [managed-node3] => (item={'path': '/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 297795841, 'dev': 51713, 'nlink': 1, 'atime': 1727203571.6623585, 'mtime': 1727203565.559338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203571.6623585, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'path': '/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 297795842, 'dev': 51713, 'nlink': 1, 'atime': 1727203572.1813602, 'mtime': 1727203565.566338, 'ctime': 1727203565.5683382, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1727203572.1813602, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Tuesday 24 September 2024 14:46:18 -0400 (0:00:00.029) 0:00:22.454 ***** changed: [managed-node3] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.u1xo5eounbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Tuesday 24 September 2024 14:46:19 -0400 (0:00:00.369) 0:00:22.824 ***** ok: [managed-node3 -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Tuesday 24 September 2024 14:46:19 -0400 (0:00:00.325) 0:00:23.150 ***** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Tuesday 24 September 2024 14:46:19 -0400 (0:00:00.043) 0:00:23.194 ***** ok: [managed-node3 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203571.7952867, "ctime": 1727203571.7732866, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956843, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203571.7732866, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203572.2622874, "ctime": 1727203572.2552874, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956844, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203572.2552874, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Tuesday 24 September 2024 14:46:20 -0400 (0:00:00.398) 0:00:23.593 ***** changed: [managed-node3] => (item={'path': '/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 354, 'inode': 473956843, 'dev': 51713, 'nlink': 1, 'atime': 1727203571.7952867, 'mtime': 1727203571.7732866, 'ctime': 1727203571.7732866, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b088c7bf7ef06c9672c5dc1cb7ecaf238baf8c62", "dest": "/tmp/ansible.u1xo5eounbde_server_keys/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "gid": 991, "group": "tang", "item": { "atime": 1727203571.7952867, "ctime": 1727203571.7732866, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956843, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203571.7732866, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "c631c18fbbc7500f7451980bb49ab28b", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1727203580.077818-9518-229833107604127/source", "state": "file", "uid": 994 } changed: [managed-node3] => (item={'path': '/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 349, 'inode': 473956844, 'dev': 51713, 'nlink': 1, 'atime': 1727203572.2622874, 'mtime': 1727203572.2552874, 'ctime': 1727203572.2552874, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "11cee913970b704f26cd751054f3a9185c037d99", "dest": "/tmp/ansible.u1xo5eounbde_server_keys/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "gid": 991, "group": "tang", "item": { "atime": 1727203572.2622874, "ctime": 1727203572.2552874, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 473956844, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1727203572.2552874, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysxnkcun3a/managed-node3/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "bf0c3b8b371330301a40b6917d064f11", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1727203580.9167883-9518-45249732126936/source", "state": "file", "uid": 994 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Tuesday 24 September 2024 14:46:21 -0400 (0:00:01.467) 0:00:25.060 ***** ok: [managed-node3] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.u1xo5eounbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Tuesday 24 September 2024 14:46:21 -0400 (0:00:00.344) 0:00:25.405 ***** changed: [managed-node3] => { "changed": true, "path": "/tmp/ansible.u1xo5eounbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Tuesday 24 September 2024 14:46:22 -0400 (0:00:00.345) 0:00:25.751 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node3 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Tuesday 24 September 2024 14:46:22 -0400 (0:00:00.048) 0:00:25.799 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Tuesday 24 September 2024 14:46:22 -0400 (0:00:00.031) 0:00:25.831 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Tuesday 24 September 2024 14:46:22 -0400 (0:00:00.368) 0:00:26.199 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Tuesday 24 September 2024 14:46:22 -0400 (0:00:00.039) 0:00:26.238 ***** ok: [managed-node3] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.358) 0:00:26.596 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.017) 0:00:26.614 ***** ok: [managed-node3] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.018) 0:00:26.632 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.021) 0:00:26.654 ***** skipping: [managed-node3] => { "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/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.015) 0:00:26.669 ***** ok: [managed-node3] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Tue 2024-09-24 14:46:07 EDT", "ActiveEnterTimestampMonotonic": "261437278", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:46:07 EDT", "AssertTimestampMonotonic": "261434744", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:46:07 EDT", "ConditionTimestampMonotonic": "261434742", "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": "Tue 2024-09-24 14:46:07 EDT", "InactiveExitTimestampMonotonic": "261437278", "InvocationID": "b99c161a80c34835979c4cbd446cb050", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:46:07 EDT", "StateChangeTimestampMonotonic": "261437278", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "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" } } TASK [Gather keys after redeploy] ********************************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.468) 0:00:27.138 ***** ok: [managed-node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1727203571.6623585, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.559338, "nlink": 1, "path": "/var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727203572.1813602, "ctime": 1727203565.5683382, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 297795842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1727203565.566338, "nlink": 1, "path": "/var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:61 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.351) 0:00:27.489 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.019) 0:00:27.508 ***** included: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed-node3 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Tuesday 24 September 2024 14:46:23 -0400 (0:00:00.019) 0:00:27.527 ***** changed: [managed-node3 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysxnkcun3a", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Tuesday 24 September 2024 14:46:24 -0400 (0:00:00.267) 0:00:27.794 ***** changed: [managed-node3] => (item={'path': '/tmp/nbde_server_deploy_keysxnkcun3a', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysxnkcun3a\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysxnkcun3a\"/* \"/tmp/nbde_server_deploy_keysxnkcun3a\"/.* || :\nfi\n", "delta": "0:00:00.003869", "end": "2024-09-24 14:46:24.606409", "item": { "path": "/tmp/nbde_server_deploy_keysxnkcun3a", "remove_dir": "true" }, "rc": 0, "start": "2024-09-24 14:46:24.602540" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysxnkcun3a changed: [managed-node3] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004187", "end": "2024-09-24 14:46:24.932121", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-24 14:46:24.927934" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/oKtembH4Y66fuIg65bOHkOqAJtw.jwk /var/db/tang/RF5Bak8nhNeEDg6Wgkw2urLkS7s.jwk /var/db/tang/. /var/db/tang/.. rm: refusing to remove '.' or '..' directory: skipping '/var/db/tang/.' rm: refusing to remove '.' or '..' directory: skipping '/var/db/tang/..' + : changed: [managed-node3] => (item={'path': '/var/cache/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.003815", "end": "2024-09-24 14:46:25.322218", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-24 14:46:25.318403" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=54 changed=10 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Tuesday 24 September 2024 14:46:25 -0400 (0:00:01.178) 0:00:28.973 ***** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 6.46s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 2.80s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 2.74s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 1.47s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Remove managed node files/directories ----------------------------------- 1.18s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 0.97s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.89s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.60s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.51s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.49s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.47s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.45s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.44s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.43s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.42s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.40s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.39s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Prepare deployment directory - create --- 0.37s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.37s /tmp/collections-8kb/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14