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_fetch_keys_deploy_set.yml ************************************** 1 plays in /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml PLAY [Test nbde_server_fetch_keys with nbde_server_deploy_keys set] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:16 Saturday 24 August 2024 08:44:39 -0400 (0:00:00.029) 0:00:00.029 ******* ok: [managed_node3] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:21 Saturday 24 August 2024 08:44:39 -0400 (0:00:00.918) 0:00:00.948 ******* changed: [managed_node3 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT", "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-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:28 Saturday 24 August 2024 08:44:40 -0400 (0:00:00.385) 0:00:01.333 ******* ok: [managed_node3] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:32 Saturday 24 August 2024 08:44:40 -0400 (0:00:00.060) 0:00:01.393 ******* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 24 August 2024 08:44:40 -0400 (0:00:00.051) 0:00:01.445 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 24 August 2024 08:44:40 -0400 (0:00:00.055) 0:00:01.500 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 24 August 2024 08:44:40 -0400 (0:00:00.062) 0:00:01.563 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 24 August 2024 08:44:41 -0400 (0:00:00.539) 0:00:02.102 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 24 August 2024 08:44:41 -0400 (0:00:00.056) 0:00:02.159 ******* 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-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 24 August 2024 08:44:41 -0400 (0:00:00.061) 0:00:02.221 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 24 August 2024 08:44:41 -0400 (0:00:00.056) 0:00:02.277 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.813) 0:00:03.091 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.046) 0:00:03.137 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.502) 0:00:03.640 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.124) 0:00:03.764 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.129) 0:00:03.893 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 24 August 2024 08:44:42 -0400 (0:00:00.046) 0:00:03.940 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 24 August 2024 08:44:43 -0400 (0:00:00.382) 0:00:04.323 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 24 August 2024 08:44:43 -0400 (0:00:00.055) 0:00:04.378 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 24 August 2024 08:44:43 -0400 (0:00:00.562) 0:00:04.940 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 24 August 2024 08:44:43 -0400 (0:00:00.031) 0:00:04.972 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 24 August 2024 08:44:44 -0400 (0:00:00.034) 0:00:05.007 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 24 August 2024 08:44:44 -0400 (0:00:00.034) 0:00:05.042 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 24 August 2024 08:44:44 -0400 (0:00:00.029) 0:00:05.071 ******* 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": "Sat 2024-08-24 08:44:30 EDT", "ActiveEnterTimestampMonotonic": "231813792", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-24 08:44:30 EDT", "AssertTimestampMonotonic": "231813107", "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-08-24 08:44:30 EDT", "ConditionTimestampMonotonic": "231813105", "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-08-24 08:44:30 EDT", "InactiveExitTimestampMonotonic": "231813792", "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": "-.slice sysinit.target", "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 common keys, from the first host in the inventory] **************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:37 Saturday 24 August 2024 08:44:44 -0400 (0:00:00.837) 0:00:05.908 ******* ok: [managed_node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, { "atime": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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 } ], "matched": 2 } TASK [Run with nbde_server_deploy_keys set to check the common keys] *********** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:47 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.612) 0:00:06.521 ******* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.069) 0:00:06.591 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.054) 0:00:06.646 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.036) 0:00:06.682 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.032) 0:00:06.715 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.041) 0:00:06.756 ******* 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-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.050) 0:00:06.807 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 24 August 2024 08:44:45 -0400 (0:00:00.055) 0:00:06.862 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 24 August 2024 08:44:46 -0400 (0:00:00.708) 0:00:07.571 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 24 August 2024 08:44:46 -0400 (0:00:00.093) 0:00:07.664 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 24 August 2024 08:44:47 -0400 (0:00:00.368) 0:00:08.032 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 24 August 2024 08:44:47 -0400 (0:00:00.046) 0:00:08.079 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 24 August 2024 08:44:47 -0400 (0:00:00.021) 0:00:08.101 ******* ok: [managed_node3] => { "changed": false, "examined": 2, "files": [ { "atime": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, { "atime": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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 } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 24 August 2024 08:44:47 -0400 (0:00:00.492) 0:00:08.593 ******* skipping: [managed_node3] => (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': 1724503482.5336635, u'gr_name': u'tang', u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503482.5336635, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503482.5336635, 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": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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" } skipping: [managed_node3] => (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': 1724503482.5286636, u'gr_name': u'tang', u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503482.5286636, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503482.5336635, 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": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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" } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 24 August 2024 08:44:47 -0400 (0:00:00.075) 0:00:08.669 ******* changed: [managed_node3] => (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': 1724503482.5336635, u'gr_name': u'tang', u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503482.5336635, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503482.5336635, 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": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "dest": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "item": { "atime": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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": "03fabb21217de5de5ee9e59259a05fe8", "remote_checksum": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "remote_md5sum": null } changed: [managed_node3] => (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': 1724503482.5286636, u'gr_name': u'tang', u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503482.5286636, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503482.5336635, 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": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "dest": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "item": { "atime": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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": "fb593c542d683f16c2c9403eff29b783", "remote_checksum": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 24 August 2024 08:44:48 -0400 (0:00:00.875) 0:00:09.545 ******* changed: [managed_node3] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.GzjEUYnbde_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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 24 August 2024 08:44:48 -0400 (0:00:00.378) 0:00:09.923 ******* ok: [managed_node3 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1724503488.0459008, "ctime": 1724503488.0408998, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, { "atime": 1724503488.4829998, "ctime": 1724503488.4759982, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.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 } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 24 August 2024 08:44:49 -0400 (0:00:00.169) 0:00:10.092 ******* changed: [managed_node3] => (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': 1724503488.0408998, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503488.0459008, u'inode': 787098, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503488.0408998, 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": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "dest": "/tmp/ansible.GzjEUYnbde_server_keys/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "gid": 994, "group": "tang", "item": { "atime": 1724503488.0459008, "ctime": 1724503488.0408998, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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": "03fabb21217de5de5ee9e59259a05fe8", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1724503489.16-11363-198177807318131/source", "state": "file", "uid": 997 } changed: [managed_node3] => (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': 1724503488.4759982, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503488.4829998, u'inode': 787116, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503488.4759982, 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": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "dest": "/tmp/ansible.GzjEUYnbde_server_keys/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "gid": 994, "group": "tang", "item": { "atime": 1724503488.4829998, "ctime": 1724503488.4759982, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.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": "fb593c542d683f16c2c9403eff29b783", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1724503489.87-11363-205690203786681/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 24 August 2024 08:44:50 -0400 (0:00:01.457) 0:00:11.549 ******* ok: [managed_node3 -> localhost] => { "changed": false, "examined": 0, "files": [], "matched": 0 } MSG: /tmp/nbde_server_fetch_keys_deploy_set2mT1VT/managed_node3 was skipped as it does not seem to be a valid directory or it cannot be accessed TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 24 August 2024 08:44:50 -0400 (0:00:00.209) 0:00:11.759 ******* TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 24 August 2024 08:44:50 -0400 (0:00:00.027) 0:00:11.786 ******* 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.GzjEUYnbde_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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.309) 0:00:12.096 ******* changed: [managed_node3] => { "changed": true, "path": "/tmp/ansible.GzjEUYnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.390) 0:00:12.486 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.074) 0:00:12.561 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.034) 0:00:12.596 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.360) 0:00:12.956 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 24 August 2024 08:44:51 -0400 (0:00:00.038) 0:00:12.995 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.355) 0:00:13.350 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.023) 0:00:13.374 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.031) 0:00:13.405 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.022) 0:00:13.428 ******* 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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.022) 0:00:13.451 ******* 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": "Sat 2024-08-24 08:44:30 EDT", "ActiveEnterTimestampMonotonic": "231813792", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-24 08:44:30 EDT", "AssertTimestampMonotonic": "231813107", "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-08-24 08:44:30 EDT", "ConditionTimestampMonotonic": "231813105", "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-08-24 08:44:30 EDT", "InactiveExitTimestampMonotonic": "231813792", "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": "-.slice sysinit.target", "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 [Check whether the common keys were properly fetched] ********************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:56 Saturday 24 August 2024 08:44:52 -0400 (0:00:00.433) 0:00:13.884 ******* ok: [managed_node3 -> localhost] => (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': 1724503482.5336635, u'gr_name': u'tang', u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503482.5336635, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503482.5336635, 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": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, "stat": { "atime": 1724503488.0459008, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "ctime": 1724503488.0408998, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "version": "18446744071602692061", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node3 -> localhost] => (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': 1724503482.5286636, u'gr_name': u'tang', u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503482.5286636, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503482.5336635, 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": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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 }, "stat": { "atime": 1724503488.4829998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "ctime": 1724503488.4759982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "version": "18446744071602692067", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the common keys are correct] ************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:63 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.450) 0:00:14.335 ******* ok: [managed_node3] => (item={u'item': {u'islnk': False, u'uid': 997, u'rgrp': False, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1724503482.5336635, u'gr_name': u'tang', u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503482.5336635, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503482.5336635, 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}, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1724503488.0408998, u'block_size': 4096, u'inode': 787098, u'isgid': False, u'size': 349, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'18446744071602692061', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503488.0459008, u'mimetype': u'text/plain', u'ctime': 1724503488.0408998, u'wgrp': False, u'checksum': u'68e4c23a5393757db6c473eb342a9250ab5f9a5c', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'failed': False, u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk" } }, "item": { "atime": 1724503482.5336635, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, "stat": { "atime": 1724503488.0459008, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "ctime": 1724503488.0408998, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "version": "18446744071602692061", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node3] => (item={u'item': {u'islnk': False, u'uid': 997, u'rgrp': False, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1724503482.5286636, u'gr_name': u'tang', u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503482.5286636, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503482.5336635, 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}, u'stat': {u'charset': u'us-ascii', u'uid': 0, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1724503488.4759982, u'block_size': 4096, u'inode': 787116, u'isgid': False, u'size': 354, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'18446744071602692067', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503488.4829998, u'mimetype': u'text/plain', u'ctime': 1724503488.4759982, u'wgrp': False, u'checksum': u'286a178d2cf1acbdef0d1308a45155c8867cfeae', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0600', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'failed': False, u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk" } }, "item": { "atime": 1724503482.5286636, "ctime": 1724503482.5336635, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.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 }, "stat": { "atime": 1724503488.4829998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "ctime": 1724503488.4759982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "version": "18446744071602692067", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Gather local host keys to verify deploy] ********************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:68 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.066) 0:00:14.401 ******* ok: [managed_node3 -> localhost] => { "changed": false, "examined": 0, "files": [], "matched": 0 } MSG: /tmp/nbde_server_fetch_keys_deploy_set2mT1VT/managed_node3 was skipped as it does not seem to be a valid directory or it cannot be accessed TASK [Check whether the host keys were properly deployed] ********************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:78 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.206) 0:00:14.608 ******* TASK [Verify the keys were deployed] ******************************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:84 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.052) 0:00:14.660 ******* TASK [Gather local common keys to verify deploy] ******************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:89 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.029) 0:00:14.690 ******* ok: [managed_node3 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1724503488.0459008, "ctime": 1724503488.0408998, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, { "atime": 1724503488.4829998, "ctime": 1724503488.4759982, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.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 } ], "matched": 2 } TASK [Check whether the local common keys were properly deployed] ************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:99 Saturday 24 August 2024 08:44:53 -0400 (0:00:00.297) 0:00:14.987 ******* ok: [managed_node3] => (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': 1724503488.0408998, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503488.0459008, u'inode': 787098, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503488.0408998, 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": 1724503488.0459008, "ctime": 1724503488.0408998, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, "stat": { "atime": 1724503487.969652, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "ctime": 1724503482.5336635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "version": "934274777", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node3] => (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': 1724503488.4759982, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503488.4829998, u'inode': 787116, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503488.4759982, 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": 1724503488.4829998, "ctime": 1724503488.4759982, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.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 }, "stat": { "atime": 1724503488.427651, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "ctime": 1724503482.5336635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "version": "934274776", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the common keys were deployed] ************************************ task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:105 Saturday 24 August 2024 08:44:54 -0400 (0:00:00.664) 0:00:15.651 ******* ok: [managed_node3] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 997, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1724503482.5336635, u'block_size': 4096, u'inode': 262477, u'isgid': False, u'size': 349, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'934274777', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'tang', u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503487.969652, u'mimetype': u'text/plain', u'ctime': 1724503482.5336635, u'wgrp': False, u'checksum': u'68e4c23a5393757db6c473eb342a9250ab5f9a5c', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0400', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': {u'islnk': False, u'uid': 0, u'rgrp': False, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1724503488.0408998, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'xusr': False, u'atime': 1724503488.0459008, u'inode': 787098, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1724503488.0408998, 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}, u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk" } }, "item": { "atime": 1724503488.0459008, "ctime": 1724503488.0408998, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.0408998, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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 }, "stat": { "atime": 1724503487.969652, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68e4c23a5393757db6c473eb342a9250ab5f9a5c", "ctime": 1724503482.5336635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1724503482.5336635, "nlink": 1, "path": "/var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "version": "934274777", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [managed_node3] => (item={u'failed': False, u'stat': {u'charset': u'us-ascii', u'uid': 997, u'exists': True, u'attr_flags': u'e', u'woth': False, u'device_type': 0, u'mtime': 1724503482.5286636, u'block_size': 4096, u'inode': 262476, u'isgid': False, u'size': 354, u'executable': False, u'roth': False, u'isuid': False, u'readable': True, u'isreg': True, u'version': u'934274776', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False, u'writeable': True, u'isdir': False, u'blocks': 8, u'xoth': False, u'rusr': True, u'nlink': 1, u'issock': False, u'rgrp': False, u'gr_name': u'tang', u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503488.427651, u'mimetype': u'text/plain', u'ctime': 1724503482.5336635, u'wgrp': False, u'checksum': u'286a178d2cf1acbdef0d1308a45155c8867cfeae', u'dev': 51713, u'isblk': False, u'isfifo': False, u'mode': u'0400', u'xgrp': False, u'islnk': False, u'attributes': [u'extents']}, u'ansible_loop_var': u'item', u'item': {u'islnk': False, u'uid': 0, u'rgrp': False, u'xoth': False, u'rusr': True, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1724503488.4759982, u'gr_name': u'root', u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'xusr': False, u'atime': 1724503488.4829998, u'inode': 787116, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1724503488.4759982, 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}, u'invocation': {u'module_args': {u'follow': False, u'get_checksum': True, u'path': u'/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk', u'checksum_algorithm': u'sha1', u'get_md5': False, u'get_mime': True, u'get_attributes': True}}, u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk" } }, "item": { "atime": 1724503488.4829998, "ctime": 1724503488.4759982, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1724503488.4759982, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT/4S1deBY3QAD7UQ664fGW0Okz-uc.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 }, "stat": { "atime": 1724503488.427651, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "286a178d2cf1acbdef0d1308a45155c8867cfeae", "ctime": 1724503482.5336635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 262476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1724503482.5286636, "nlink": 1, "path": "/var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "version": "934274776", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:110 Saturday 24 August 2024 08:44:54 -0400 (0:00:00.113) 0:00:15.764 ******* included: /tmp/collections-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Saturday 24 August 2024 08:44:54 -0400 (0:00:00.060) 0:00:15.825 ******* changed: [managed_node3 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Saturday 24 August 2024 08:44:55 -0400 (0:00:00.207) 0:00:16.032 ******* changed: [managed_node3] => (item={u'path': u'/tmp/nbde_server_fetch_keys_deploy_set2mT1VT', 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_fetch_keys_deploy_set2mT1VT\"\nelse\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_set2mT1VT\"/* \"/tmp/nbde_server_fetch_keys_deploy_set2mT1VT\"/.* || :\nfi\n", "delta": "0:00:00.003739", "end": "2024-08-24 08:44:55.460052", "item": { "path": "/tmp/nbde_server_fetch_keys_deploy_set2mT1VT", "remove_dir": "true" }, "rc": 0, "start": "2024-08-24 08:44:55.456313" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_fetch_keys_deploy_set2mT1VT changed: [managed_node3] => (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.003992", "end": "2024-08-24 08:44:55.869935", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-24 08:44:55.865943" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/4S1deBY3QAD7UQ664fGW0Okz-uc.jwk /var/db/tang/Ws-5lSQBGDFE_iMJZcM53xDlTMI.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={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.003914", "end": "2024-08-24 08:44:56.161521", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-24 08:44:56.157607" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=44 changed=8 unreachable=0 failed=0 skipped=22 rescued=0 ignored=0 Saturday 24 August 2024 08:44:56 -0400 (0:00:01.212) 0:00:17.244 ******* =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys --- 1.46s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Remove managed node files/directories ----------------------------------- 1.21s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:16 fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host --- 0.88s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.84s /tmp/collections-lSl/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.81s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.71s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Check whether the local common keys were properly deployed -------------- 0.66s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:99 Gather common keys, from the first host in the inventory ---------------- 0.61s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:37 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.56s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.54s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.50s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.49s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Check whether the common keys were properly fetched --------------------- 0.45s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:56 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.43s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Clean up host deployment directory --- 0.39s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Create tmpdir for server keys ------------------------------------------- 0.39s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_fetch_keys_deploy_set.yml:21 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.38s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Prepare deployment directory - create --- 0.38s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.37s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17