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-GNQ/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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 Friday 20 September 2024 21:19:20 -0400 (0:00:00.034) 0:00:00.034 ****** ok: [managed_node1] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Friday 20 September 2024 21:19:21 -0400 (0:00:00.937) 0:00:00.972 ****** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keysvGxBFE", "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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 Friday 20 September 2024 21:19:21 -0400 (0:00:00.329) 0:00:01.301 ****** ok: [managed_node1] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysvGxBFE" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 Friday 20 September 2024 21:19:21 -0400 (0:00:00.046) 0:00:01.348 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Friday 20 September 2024 21:19:21 -0400 (0:00:00.040) 0:00:01.388 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Friday 20 September 2024 21:19:21 -0400 (0:00:00.044) 0:00:01.432 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Friday 20 September 2024 21:19:21 -0400 (0:00:00.057) 0:00:01.489 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Friday 20 September 2024 21:19:22 -0400 (0:00:00.453) 0:00:01.942 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Friday 20 September 2024 21:19:22 -0400 (0:00:00.070) 0:00:02.013 ****** ok: [managed_node1] => { "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-GNQ/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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Friday 20 September 2024 21:19:22 -0400 (0:00:00.087) 0:00:02.100 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Friday 20 September 2024 21:19:22 -0400 (0:00:00.086) 0:00:02.187 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Friday 20 September 2024 21:19:23 -0400 (0:00:01.111) 0:00:03.298 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Friday 20 September 2024 21:19:23 -0400 (0:00:00.063) 0:00:03.362 ****** changed: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Friday 20 September 2024 21:19:24 -0400 (0:00:00.452) 0:00:03.815 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Friday 20 September 2024 21:19:24 -0400 (0:00:00.072) 0:00:03.887 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed_node1 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Friday 20 September 2024 21:19:24 -0400 (0:00:00.161) 0:00:04.048 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Friday 20 September 2024 21:19:24 -0400 (0:00:00.053) 0:00:04.102 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Friday 20 September 2024 21:19:24 -0400 (0:00:00.356) 0:00:04.458 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Friday 20 September 2024 21:19:24 -0400 (0:00:00.038) 0:00:04.497 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Friday 20 September 2024 21:19:25 -0400 (0:00:00.561) 0:00:05.058 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Friday 20 September 2024 21:19:25 -0400 (0:00:00.037) 0:00:05.096 ****** ok: [managed_node1] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Friday 20 September 2024 21:19:25 -0400 (0:00:00.033) 0:00:05.129 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Friday 20 September 2024 21:19:25 -0400 (0:00:00.068) 0:00:05.198 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Friday 20 September 2024 21:19:25 -0400 (0:00:00.040) 0:00:05.239 ****** ok: [managed_node1] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveEnterTimestampMonotonic": "389885591", "ActiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveExitTimestampMonotonic": "389885374", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 21:19:07 EDT", "AssertTimestampMonotonic": "389885409", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ConditionTimestampMonotonic": "389885407", "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", "InactiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveEnterTimestampMonotonic": "389885374", "InactiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveExitTimestampMonotonic": "389885591", "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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:27 Friday 20 September 2024 21:19:26 -0400 (0:00:00.850) 0:00:06.089 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Friday 20 September 2024 21:19:26 -0400 (0:00:00.076) 0:00:06.166 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Friday 20 September 2024 21:19:26 -0400 (0:00:00.107) 0:00:06.273 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Friday 20 September 2024 21:19:26 -0400 (0:00:00.063) 0:00:06.337 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Friday 20 September 2024 21:19:26 -0400 (0:00:00.030) 0:00:06.367 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Friday 20 September 2024 21:19:26 -0400 (0:00:00.036) 0:00:06.404 ****** ok: [managed_node1] => { "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-GNQ/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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Friday 20 September 2024 21:19:26 -0400 (0:00:00.078) 0:00:06.482 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Friday 20 September 2024 21:19:26 -0400 (0:00:00.059) 0:00:06.541 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Friday 20 September 2024 21:19:27 -0400 (0:00:00.760) 0:00:07.302 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Friday 20 September 2024 21:19:27 -0400 (0:00:00.029) 0:00:07.331 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Friday 20 September 2024 21:19:28 -0400 (0:00:00.345) 0:00:07.676 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Friday 20 September 2024 21:19:28 -0400 (0:00:00.074) 0:00:07.751 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Friday 20 September 2024 21:19:28 -0400 (0:00:00.032) 0:00:07.784 ****** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881564.1878273, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881564.1928275, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Friday 20 September 2024 21:19:28 -0400 (0:00:00.727) 0:00:08.512 ****** changed: [managed_node1] => (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': 1726881564.1878273, u'gr_name': u'tang', u'path': u'/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881564.1878273, u'inode': 262530, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881564.1938274, 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": "efb9a71dc747ece1bf5a64f7ab40008d26653b29", "dest": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk", "item": { "atime": 1726881564.1878273, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": "6cf4577e4a8379de4875ec43b498dafc", "remote_checksum": "efb9a71dc747ece1bf5a64f7ab40008d26653b29", "remote_md5sum": null } changed: [managed_node1] => (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': 1726881564.1938274, u'gr_name': u'tang', u'path': u'/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881564.1928275, u'inode': 262531, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881564.1938274, 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": "2dab511332cd35eb3fa61f78f1c524c63a22fe5d", "dest": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk", "item": { "atime": 1726881564.1928275, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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": "57a027b57e9211c6d014809b9bb44fef", "remote_checksum": "2dab511332cd35eb3fa61f78f1c524c63a22fe5d", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Friday 20 September 2024 21:19:29 -0400 (0:00:00.760) 0:00:09.272 ****** skipping: [managed_node1] => (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': 1726881564.1878273, u'gr_name': u'tang', u'path': u'/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881564.1878273, u'inode': 262530, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881564.1878273, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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_node1] => (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': 1726881564.1938274, u'gr_name': u'tang', u'path': u'/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881564.1928275, u'inode': 262531, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881564.1928275, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Friday 20 September 2024 21:19:29 -0400 (0:00:00.075) 0:00:09.348 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Friday 20 September 2024 21:19:29 -0400 (0:00:00.039) 0:00:09.387 ****** ok: [managed_node1 -> 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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Friday 20 September 2024 21:19:30 -0400 (0:00:00.256) 0:00:09.644 ****** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Friday 20 September 2024 21:19:30 -0400 (0:00:00.027) 0:00:09.671 ****** ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881569.2722895, "ctime": 1726881569.2692895, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.2692895, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881569.6482892, "ctime": 1726881569.6452892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.6452892, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Friday 20 September 2024 21:19:30 -0400 (0:00:00.237) 0:00:09.909 ****** skipping: [managed_node1] => (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': 1726881569.2692895, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881569.2722895, u'inode': 787090, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881569.2692895, 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": 1726881569.2722895, "ctime": 1726881569.2692895, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.2692895, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.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_node1] => (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': 1726881569.6452892, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881569.6482892, u'inode': 787110, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881569.6452892, 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": 1726881569.6482892, "ctime": 1726881569.6452892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.6452892, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Friday 20 September 2024 21:19:30 -0400 (0:00:00.070) 0:00:09.980 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Friday 20 September 2024 21:19:30 -0400 (0:00:00.076) 0:00:10.056 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Friday 20 September 2024 21:19:30 -0400 (0:00:00.070) 0:00:10.126 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed_node1 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Friday 20 September 2024 21:19:30 -0400 (0:00:00.078) 0:00:10.204 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Friday 20 September 2024 21:19:30 -0400 (0:00:00.037) 0:00:10.242 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Friday 20 September 2024 21:19:31 -0400 (0:00:00.491) 0:00:10.734 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Friday 20 September 2024 21:19:31 -0400 (0:00:00.042) 0:00:10.777 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Friday 20 September 2024 21:19:31 -0400 (0:00:00.320) 0:00:11.097 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Friday 20 September 2024 21:19:31 -0400 (0:00:00.028) 0:00:11.126 ****** ok: [managed_node1] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Friday 20 September 2024 21:19:31 -0400 (0:00:00.035) 0:00:11.161 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Friday 20 September 2024 21:19:31 -0400 (0:00:00.026) 0:00:11.188 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Friday 20 September 2024 21:19:31 -0400 (0:00:00.046) 0:00:11.235 ****** ok: [managed_node1] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveEnterTimestampMonotonic": "389885591", "ActiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveExitTimestampMonotonic": "389885374", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 21:19:07 EDT", "AssertTimestampMonotonic": "389885409", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ConditionTimestampMonotonic": "389885407", "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", "InactiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveEnterTimestampMonotonic": "389885374", "InactiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveExitTimestampMonotonic": "389885591", "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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 Friday 20 September 2024 21:19:32 -0400 (0:00:00.452) 0:00:11.688 ****** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881569.191854, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881569.5928562, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:44 Friday 20 September 2024 21:19:32 -0400 (0:00:00.310) 0:00:11.998 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Friday 20 September 2024 21:19:32 -0400 (0:00:00.044) 0:00:12.043 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Friday 20 September 2024 21:19:32 -0400 (0:00:00.055) 0:00:12.098 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Friday 20 September 2024 21:19:32 -0400 (0:00:00.041) 0:00:12.140 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Friday 20 September 2024 21:19:32 -0400 (0:00:00.029) 0:00:12.170 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Friday 20 September 2024 21:19:32 -0400 (0:00:00.023) 0:00:12.194 ****** ok: [managed_node1] => { "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-GNQ/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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Friday 20 September 2024 21:19:32 -0400 (0:00:00.054) 0:00:12.249 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Friday 20 September 2024 21:19:32 -0400 (0:00:00.068) 0:00:12.317 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Friday 20 September 2024 21:19:33 -0400 (0:00:00.688) 0:00:13.006 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Friday 20 September 2024 21:19:33 -0400 (0:00:00.038) 0:00:13.044 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Friday 20 September 2024 21:19:33 -0400 (0:00:00.468) 0:00:13.513 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Friday 20 September 2024 21:19:34 -0400 (0:00:00.069) 0:00:13.583 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Friday 20 September 2024 21:19:34 -0400 (0:00:00.048) 0:00:13.632 ****** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881569.191854, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881569.5928562, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Friday 20 September 2024 21:19:34 -0400 (0:00:00.493) 0:00:14.125 ****** skipping: [managed_node1] => (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': 1726881564.1878273, u'gr_name': u'tang', u'path': u'/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881569.191854, u'inode': 262530, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881569.191854, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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_node1] => (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': 1726881564.1938274, u'gr_name': u'tang', u'path': u'/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881569.5928562, u'inode': 262531, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881569.5928562, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Friday 20 September 2024 21:19:34 -0400 (0:00:00.110) 0:00:14.236 ****** skipping: [managed_node1] => (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': 1726881564.1878273, u'gr_name': u'tang', u'path': u'/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881569.191854, u'inode': 262530, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881569.191854, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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_node1] => (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': 1726881564.1938274, u'gr_name': u'tang', u'path': u'/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881569.5928562, u'inode': 262531, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881564.1938274, 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": 1726881569.5928562, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Friday 20 September 2024 21:19:34 -0400 (0:00:00.089) 0:00:14.326 ****** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.RNG_Kcnbde_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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Friday 20 September 2024 21:19:35 -0400 (0:00:00.349) 0:00:14.675 ****** ok: [managed_node1 -> 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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Friday 20 September 2024 21:19:35 -0400 (0:00:00.268) 0:00:14.944 ****** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Friday 20 September 2024 21:19:35 -0400 (0:00:00.049) 0:00:14.994 ****** ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881569.2722895, "ctime": 1726881569.2692895, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.2692895, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881569.6482892, "ctime": 1726881569.6452892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.6452892, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Friday 20 September 2024 21:19:35 -0400 (0:00:00.271) 0:00:15.266 ****** changed: [managed_node1] => (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': 1726881569.2692895, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk', u'xusr': False, u'atime': 1726881569.2722895, u'inode': 787090, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1726881569.2692895, 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": "efb9a71dc747ece1bf5a64f7ab40008d26653b29", "dest": "/tmp/ansible.RNG_Kcnbde_server_keys/GygWZ1-PNR0lu2T-l88-XE7KOk8.jwk", "gid": 994, "group": "tang", "item": { "atime": 1726881569.2722895, "ctime": 1726881569.2692895, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.2692895, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": "6cf4577e4a8379de4875ec43b498dafc", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1726881575.76-14352-129177199087307/source", "state": "file", "uid": 997 } changed: [managed_node1] => (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': 1726881569.6452892, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk', u'xusr': False, u'atime': 1726881569.6482892, u'inode': 787110, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1726881569.6452892, 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": "2dab511332cd35eb3fa61f78f1c524c63a22fe5d", "dest": "/tmp/ansible.RNG_Kcnbde_server_keys/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk", "gid": 994, "group": "tang", "item": { "atime": 1726881569.6482892, "ctime": 1726881569.6452892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726881569.6452892, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysvGxBFE/managed_node1/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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": "57a027b57e9211c6d014809b9bb44fef", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1726881576.52-14352-104639563900912/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Friday 20 September 2024 21:19:37 -0400 (0:00:01.734) 0:00:17.001 ****** ok: [managed_node1] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.RNG_Kcnbde_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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Friday 20 September 2024 21:19:37 -0400 (0:00:00.366) 0:00:17.367 ****** changed: [managed_node1] => { "changed": true, "path": "/tmp/ansible.RNG_Kcnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Friday 20 September 2024 21:19:38 -0400 (0:00:00.286) 0:00:17.654 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed_node1 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Friday 20 September 2024 21:19:38 -0400 (0:00:00.061) 0:00:17.715 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Friday 20 September 2024 21:19:38 -0400 (0:00:00.088) 0:00:17.803 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Friday 20 September 2024 21:19:38 -0400 (0:00:00.487) 0:00:18.291 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Friday 20 September 2024 21:19:38 -0400 (0:00:00.030) 0:00:18.321 ****** ok: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Friday 20 September 2024 21:19:39 -0400 (0:00:00.357) 0:00:18.678 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Friday 20 September 2024 21:19:39 -0400 (0:00:00.043) 0:00:18.722 ****** ok: [managed_node1] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Friday 20 September 2024 21:19:39 -0400 (0:00:00.042) 0:00:18.764 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Friday 20 September 2024 21:19:39 -0400 (0:00:00.043) 0:00:18.807 ****** skipping: [managed_node1] => { "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-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Friday 20 September 2024 21:19:39 -0400 (0:00:00.057) 0:00:18.865 ****** ok: [managed_node1] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveEnterTimestampMonotonic": "389885591", "ActiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ActiveExitTimestampMonotonic": "389885374", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 21:19:07 EDT", "AssertTimestampMonotonic": "389885409", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 21:19:07 EDT", "ConditionTimestampMonotonic": "389885407", "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", "InactiveEnterTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveEnterTimestampMonotonic": "389885374", "InactiveExitTimestamp": "Fri 2024-09-20 21:19:07 EDT", "InactiveExitTimestampMonotonic": "389885591", "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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 Friday 20 September 2024 21:19:39 -0400 (0:00:00.465) 0:00:19.331 ****** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1726881569.191854, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1878273, "nlink": 1, "path": "/var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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": 1726881569.5928562, "ctime": 1726881564.1938274, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1726881564.1938274, "nlink": 1, "path": "/var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.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-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:61 Friday 20 September 2024 21:19:40 -0400 (0:00:00.285) 0:00:19.617 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 Friday 20 September 2024 21:19:40 -0400 (0:00:00.039) 0:00:19.657 ****** included: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed_node1 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Friday 20 September 2024 21:19:40 -0400 (0:00:00.045) 0:00:19.703 ****** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysvGxBFE", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Friday 20 September 2024 21:19:40 -0400 (0:00:00.453) 0:00:20.156 ****** changed: [managed_node1] => (item={u'path': u'/tmp/nbde_server_deploy_keysvGxBFE', 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_keysvGxBFE\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysvGxBFE\"/* \"/tmp/nbde_server_deploy_keysvGxBFE\"/.* || :\nfi\n", "delta": "0:00:00.003756", "end": "2024-09-20 21:19:40.993330", "item": { "path": "/tmp/nbde_server_deploy_keysvGxBFE", "remove_dir": "true" }, "rc": 0, "start": "2024-09-20 21:19:40.989574" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysvGxBFE changed: [managed_node1] => (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.004197", "end": "2024-09-20 21:19:41.334066", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-20 21:19:41.329869" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/9C6AKdpQ9rriRkkY5Q-bbXaQLS4.jwk /var/db/tang/GygWZ1-PNR0lu2T-l88-XE7KOk8.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_node1] => (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.004003", "end": "2024-09-20 21:19:41.650570", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-20 21:19:41.646567" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=54 changed=8 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Friday 20 September 2024 21:19:41 -0400 (0:00:01.119) 0:00:21.276 ****** =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 1.73s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Remove managed node files/directories ----------------------------------- 1.12s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.11s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.85s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 0.76s /tmp/collections-GNQ/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 -------- 0.76s /tmp/collections-GNQ/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.73s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.69s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.56s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.49s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.49s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.49s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.47s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.47s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Remove control node files/directories ----------------------------------- 0.45s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.45s /tmp/collections-GNQ/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.45s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.45s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang --- 0.37s /tmp/collections-GNQ/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120