ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-KDk/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-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 Saturday 05 October 2024 09:00:37 -0400 (0:00:00.041) 0:00:00.041 ****** ok: [managed-node2] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Saturday 05 October 2024 09:00:39 -0400 (0:00:01.186) 0:00:01.227 ****** changed: [managed-node2 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keysVp3sON", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.437) 0:00:01.665 ****** ok: [managed-node2] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysVp3sON" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.132) 0:00:01.797 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.060) 0:00:01.858 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.069) 0:00:01.928 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 05 October 2024 09:00:39 -0400 (0:00:00.076) 0:00:02.005 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.605) 0:00:02.611 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.053) 0:00:02.664 ****** ok: [managed-node2] => { "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-KDk/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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.066) 0:00:02.731 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 05 October 2024 09:00:40 -0400 (0:00:00.089) 0:00:02.820 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 05 October 2024 09:00:41 -0400 (0:00:01.029) 0:00:03.849 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 05 October 2024 09:00:41 -0400 (0:00:00.075) 0:00:03.925 ****** changed: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.710) 0:00:04.635 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.067) 0:00:04.703 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node2 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.124) 0:00:04.827 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 05 October 2024 09:00:42 -0400 (0:00:00.037) 0:00:04.864 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.344) 0:00:05.209 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.044) 0:00:05.253 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.563) 0:00:05.817 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.037) 0:00:05.854 ****** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.047) 0:00:05.902 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.039) 0:00:05.941 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 05 October 2024 09:00:43 -0400 (0:00:00.059) 0:00:06.000 ****** ok: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ActiveEnterTimestampMonotonic": "397755751", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-05 08:59:49 EDT", "AssertTimestampMonotonic": "397754322", "Backlog": "128", "Before": "multi-user.target tangd@0.service sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ConditionTimestampMonotonic": "397754320", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-10-05 08:59:49 EDT", "InactiveExitTimestampMonotonic": "397755751", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Fetch the keys from every host] ****************************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:27 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.871) 0:00:06.872 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.044) 0:00:06.917 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.047) 0:00:06.964 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.033) 0:00:06.997 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.030) 0:00:07.028 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.025) 0:00:07.053 ****** ok: [managed-node2] => { "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-KDk/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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 05 October 2024 09:00:44 -0400 (0:00:00.045) 0:00:07.098 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.043) 0:00:07.142 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.675) 0:00:07.818 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 05 October 2024 09:00:45 -0400 (0:00:00.073) 0:00:07.891 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.616) 0:00:08.508 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.139) 0:00:08.647 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 05 October 2024 09:00:46 -0400 (0:00:00.077) 0:00:08.725 ****** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133242.406618, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1728133242.4126182, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 05 October 2024 09:00:47 -0400 (0:00:00.665) 0:00:09.390 ****** changed: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.406618, u'gr_name': u'tang', u'path': u'/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133242.406618, u'inode': 266434, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c208951ca42d6b06381f04952b1bce81a1a74eb9", "dest": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.jwk", "item": { "atime": 1728133242.406618, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "5e171980cafcc6a95a553f683435b913", "remote_checksum": "c208951ca42d6b06381f04952b1bce81a1a74eb9", "remote_md5sum": null } changed: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.4126182, u'gr_name': u'tang', u'path': u'/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133242.4126182, u'inode': 266435, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ef59c5c500a9e7df9f6f1fa3863ad8365f396c7a", "dest": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "item": { "atime": 1728133242.4126182, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "52af56ab46761b3c2092336883e81dfd", "remote_checksum": "ef59c5c500a9e7df9f6f1fa3863ad8365f396c7a", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 05 October 2024 09:00:48 -0400 (0:00:01.155) 0:00:10.545 ****** skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.406618, u'gr_name': u'tang', u'path': u'/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133242.406618, u'inode': 266434, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133242.406618, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.4126182, u'gr_name': u'tang', u'path': u'/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133242.4126182, u'inode': 266435, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133242.4126182, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.104) 0:00:10.650 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 05 October 2024 09:00:48 -0400 (0:00:00.051) 0:00:10.701 ****** ok: [managed-node2 -> 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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.431) 0:00:11.132 ****** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.037) 0:00:11.170 ****** ok: [managed-node2 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133247.7815793, "ctime": 1728133247.747579, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133247.747579, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.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": 1728133248.346583, "ctime": 1728133248.3405828, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268368, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133248.3405828, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.422) 0:00:11.593 ****** skipping: [managed-node2] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133247.747579, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133247.7815793, u'inode': 268370, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133247.747579, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133247.7815793, "ctime": 1728133247.747579, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133247.747579, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.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-node2] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133248.3405828, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133248.346583, u'inode': 268368, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133248.3405828, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133248.346583, "ctime": 1728133248.3405828, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268368, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133248.3405828, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.123) 0:00:11.716 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.049) 0:00:11.765 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.036) 0:00:11.802 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node2 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.067) 0:00:11.870 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 05 October 2024 09:00:49 -0400 (0:00:00.031) 0:00:11.902 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.398) 0:00:12.300 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.042) 0:00:12.343 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.480) 0:00:12.824 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.028) 0:00:12.853 ****** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.035) 0:00:12.889 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.030) 0:00:12.920 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 05 October 2024 09:00:50 -0400 (0:00:00.039) 0:00:12.959 ****** ok: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ActiveEnterTimestampMonotonic": "397755751", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-05 08:59:49 EDT", "AssertTimestampMonotonic": "397754322", "Backlog": "128", "Before": "multi-user.target tangd@0.service sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ConditionTimestampMonotonic": "397754320", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-10-05 08:59:49 EDT", "InactiveExitTimestampMonotonic": "397755751", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys before redeploy] ********************************************* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.527) 0:00:13.486 ****** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133247.619607, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1728133248.2406056, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:44 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.433) 0:00:13.920 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.062) 0:00:13.982 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.047) 0:00:14.030 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.029) 0:00:14.059 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 05 October 2024 09:00:51 -0400 (0:00:00.025) 0:00:14.086 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.043) 0:00:14.129 ****** ok: [managed-node2] => { "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-KDk/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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.066) 0:00:14.196 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 05 October 2024 09:00:52 -0400 (0:00:00.099) 0:00:14.295 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.853) 0:00:15.148 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.044) 0:00:15.193 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.499) 0:00:15.693 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.082) 0:00:15.775 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 05 October 2024 09:00:53 -0400 (0:00:00.066) 0:00:15.842 ****** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133247.619607, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1728133248.2406056, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.445) 0:00:16.287 ****** skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.406618, u'gr_name': u'tang', u'path': u'/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133247.619607, u'inode': 266434, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133247.619607, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.4126182, u'gr_name': u'tang', u'path': u'/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133248.2406056, u'inode': 266435, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133248.2406056, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.085) 0:00:16.373 ****** skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.406618, u'gr_name': u'tang', u'path': u'/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133247.619607, u'inode': 266434, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133247.619607, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133242.4126182, u'gr_name': u'tang', u'path': u'/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133248.2406056, u'inode': 266435, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133242.4126182, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1728133248.2406056, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.062) 0:00:16.435 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.NCMKPAnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.347) 0:00:16.783 ****** ok: [managed-node2 -> 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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.233) 0:00:17.016 ****** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 05 October 2024 09:00:54 -0400 (0:00:00.044) 0:00:17.061 ****** ok: [managed-node2 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133247.7815793, "ctime": 1728133247.747579, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133247.747579, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.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": 1728133248.346583, "ctime": 1728133248.3405828, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268368, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133248.3405828, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.524) 0:00:17.585 ****** changed: [managed-node2] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133247.747579, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.jwk', u'xusr': False, u'atime': 1728133247.7815793, u'inode': 268370, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1728133247.747579, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c208951ca42d6b06381f04952b1bce81a1a74eb9", "dest": "/tmp/ansible.NCMKPAnbde_server_keys/uapwx62wKphmDLKhT3t6dHowca4.jwk", "gid": 994, "group": "tang", "item": { "atime": 1728133247.7815793, "ctime": 1728133247.747579, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133247.747579, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/uapwx62wKphmDLKhT3t6dHowca4.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": "5e171980cafcc6a95a553f683435b913", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1728133255.63-15166-189920444836686/source", "state": "file", "uid": 997 } changed: [managed-node2] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1728133248.3405828, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk', u'xusr': False, u'atime': 1728133248.346583, u'inode': 268368, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1728133248.3405828, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ef59c5c500a9e7df9f6f1fa3863ad8365f396c7a", "dest": "/tmp/ansible.NCMKPAnbde_server_keys/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "gid": 994, "group": "tang", "item": { "atime": 1728133248.346583, "ctime": 1728133248.3405828, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268368, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1728133248.3405828, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysVp3sON/managed-node2/TP8-4fhga0c7rnRqumA8xJzf4SE.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": "52af56ab46761b3c2092336883e81dfd", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1728133256.88-15166-278673962193869/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 05 October 2024 09:00:57 -0400 (0:00:02.072) 0:00:19.658 ****** ok: [managed-node2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.NCMKPAnbde_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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.359) 0:00:20.017 ****** changed: [managed-node2] => { "changed": true, "path": "/tmp/ansible.NCMKPAnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.385) 0:00:20.402 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node2 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.069) 0:00:20.472 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.038) 0:00:20.510 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.334) 0:00:20.844 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.026) 0:00:20.871 ****** ok: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.334) 0:00:21.206 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.029) 0:00:21.235 ****** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.041) 0:00:21.276 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.037) 0:00:21.314 ****** skipping: [managed-node2] => { "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-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.040) 0:00:21.355 ****** ok: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ActiveEnterTimestampMonotonic": "397755751", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-05 08:59:49 EDT", "AssertTimestampMonotonic": "397754322", "Backlog": "128", "Before": "multi-user.target tangd@0.service sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-05 08:59:49 EDT", "ConditionTimestampMonotonic": "397754320", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-10-05 08:59:49 EDT", "InactiveExitTimestampMonotonic": "397755751", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after redeploy] ********************************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.450) 0:00:21.806 ****** ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1728133247.619607, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266434, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.406618, "nlink": 1, "path": "/var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1728133248.2406056, "ctime": 1728133242.4126182, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 266435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1728133242.4126182, "nlink": 1, "path": "/var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:61 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.335) 0:00:22.141 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.045) 0:00:22.186 ****** included: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed-node2 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.044) 0:00:22.231 ****** changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysVp3sON", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.240) 0:00:22.471 ****** changed: [managed-node2] => (item={u'path': u'/tmp/nbde_server_deploy_keysVp3sON', u'remove_dir': u'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysVp3sON\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysVp3sON\"/* \"/tmp/nbde_server_deploy_keysVp3sON\"/.* || :\nfi\n", "delta": "0:00:00.004159", "end": "2024-10-05 09:01:00.846247", "item": { "path": "/tmp/nbde_server_deploy_keysVp3sON", "remove_dir": "true" }, "rc": 0, "start": "2024-10-05 09:01:00.842088" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysVp3sON changed: [managed-node2] => (item={u'path': u'/var/db/tang', u'remove_dir': u'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.006255", "end": "2024-10-05 09:01:01.215467", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-10-05 09:01:01.209212" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/TP8-4fhga0c7rnRqumA8xJzf4SE.jwk /var/db/tang/uapwx62wKphmDLKhT3t6dHowca4.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-node2] => (item={u'path': u'/var/cache/tang', u'remove_dir': u'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.004130", "end": "2024-10-05 09:01:01.539326", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-10-05 09:01:01.535196" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=54 changed=8 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Saturday 05 October 2024 09:01:01 -0400 (0:00:01.238) 0:00:23.710 ****** =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 2.07s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Remove managed node files/directories ----------------------------------- 1.24s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-KDk/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 --- 1.16s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.03s /tmp/collections-KDk/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.87s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.85s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.71s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.68s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.67s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.62s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.61s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.56s /tmp/collections-KDk/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.53s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.52s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.50s /tmp/collections-KDk/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.48s /tmp/collections-KDk/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.45s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.45s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Create tmpdir for server keys ------------------------------------------- 0.44s /tmp/collections-KDk/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12