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-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 Saturday 07 September 2024 08:50:08 -0400 (0:00:00.035) 0:00:00.035 **** ok: [managed_node1] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.944) 0:00:00.980 **** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keyskQnREf", "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-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.370) 0:00:01.351 **** ok: [managed_node1] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keyskQnREf" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.060) 0:00:01.412 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 07 September 2024 08:50:09 -0400 (0:00:00.039) 0:00:01.452 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.050) 0:00:01.503 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.074) 0:00:01.577 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.488) 0:00:02.065 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.069) 0:00:02.135 **** 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-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.094) 0:00:02.229 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 07 September 2024 08:50:10 -0400 (0:00:00.087) 0:00:02.317 **** ok: [managed_node1] => { "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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.884) 0:00:03.201 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 07 September 2024 08:50:11 -0400 (0:00:00.041) 0:00:03.242 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 07 September 2024 08:50:12 -0400 (0:00:00.744) 0:00:03.987 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 07 September 2024 08:50:12 -0400 (0:00:00.066) 0:00:04.054 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 07 September 2024 08:50:12 -0400 (0:00:00.092) 0:00:04.147 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 07 September 2024 08:50:12 -0400 (0:00:00.031) 0:00:04.179 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.339) 0:00:04.518 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.028) 0:00:04.547 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.462) 0:00:05.009 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.019) 0:00:05.029 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.021) 0:00:05.051 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.017) 0:00:05.069 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.019) 0:00:05.088 **** 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": "Sat 2024-09-07 08:50:04 EDT", "ActiveEnterTimestampMonotonic": "495204644", "ActiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "ActiveExitTimestampMonotonic": "495204440", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 08:50:04 EDT", "AssertTimestampMonotonic": "495204472", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.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": "Sat 2024-09-07 08:50:04 EDT", "ConditionTimestampMonotonic": "495204471", "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": "Sat 2024-09-07 08:50:04 EDT", "InactiveEnterTimestampMonotonic": "495204440", "InactiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "InactiveExitTimestampMonotonic": "495204644", "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 [Fetch the keys from every host] ****************************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:27 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.880) 0:00:05.969 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.113) 0:00:06.082 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.087) 0:00:06.170 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.043) 0:00:06.213 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.032) 0:00:06.246 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.069) 0:00:06.315 **** 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-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 07 September 2024 08:50:14 -0400 (0:00:00.101) 0:00:06.417 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.092) 0:00:06.510 **** ok: [managed_node1] => { "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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.754) 0:00:07.264 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.027) 0:00:07.291 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.302) 0:00:07.593 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.068) 0:00:07.661 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.035) 0:00:07.697 **** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713412.344985, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713412.3399851, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.509) 0:00:08.207 **** 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': 1725713412.344985, u'gr_name': u'tang', u'path': u'/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713412.344985, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713412.3459852, 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": "e9be17e800ac1a9ade6c6a89397c9c8f2b8cbf9f", "dest": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.jwk", "item": { "atime": 1725713412.344985, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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": "7cc034cab7c81cc0cb98d20b33803def", "remote_checksum": "e9be17e800ac1a9ade6c6a89397c9c8f2b8cbf9f", "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': 1725713412.3399851, u'gr_name': u'tang', u'path': u'/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713412.3399851, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713412.3459852, 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": "1915de6be68c287697a94762d00b6c02a9d8c630", "dest": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk", "item": { "atime": 1725713412.3399851, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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": "fde708bbd612db0d8873d8afd22f5c88", "remote_checksum": "1915de6be68c287697a94762d00b6c02a9d8c630", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 07 September 2024 08:50:17 -0400 (0:00:01.039) 0:00:09.246 **** 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': 1725713412.344985, u'gr_name': u'tang', u'path': u'/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713412.344985, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713412.344985, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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_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': 1725713412.3399851, u'gr_name': u'tang', u'path': u'/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713412.3399851, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713412.3399851, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 : Prepare deployment directory - create] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.064) 0:00:09.311 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.022) 0:00:09.333 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.176) 0:00:09.509 **** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.033) 0:00:09.543 **** ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713417.146114, "ctime": 1725713417.135114, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.135114, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713417.7161174, "ctime": 1725713417.7131174, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.7131174, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 - host keys] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.371) 0:00:09.914 **** 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': 1725713417.135114, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713417.146114, u'inode': 787131, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713417.135114, 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": 1725713417.146114, "ctime": 1725713417.135114, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.135114, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.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" } 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': 1725713417.7131174, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713417.7161174, u'inode': 787134, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713417.7131174, 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": 1725713417.7161174, "ctime": 1725713417.7131174, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.7131174, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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" } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.095) 0:00:10.009 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.028) 0:00:10.037 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.025) 0:00:10.063 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.083) 0:00:10.147 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.031) 0:00:10.178 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.411) 0:00:10.590 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.019) 0:00:10.610 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.298) 0:00:10.908 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.034) 0:00:10.943 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.044) 0:00:10.987 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.084) 0:00:11.071 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.052) 0:00:11.124 **** 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": "Sat 2024-09-07 08:50:04 EDT", "ActiveEnterTimestampMonotonic": "495204644", "ActiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "ActiveExitTimestampMonotonic": "495204440", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 08:50:04 EDT", "AssertTimestampMonotonic": "495204472", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.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": "Sat 2024-09-07 08:50:04 EDT", "ConditionTimestampMonotonic": "495204471", "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": "Sat 2024-09-07 08:50:04 EDT", "InactiveEnterTimestampMonotonic": "495204440", "InactiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "InactiveExitTimestampMonotonic": "495204644", "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 keys before redeploy] ********************************************* task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.454) 0:00:11.578 **** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713417.0509784, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713417.6159775, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 [Redeploy these same keys] ************************************************ task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:44 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.399) 0:00:11.978 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.059) 0:00:12.038 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.055) 0:00:12.093 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.032) 0:00:12.125 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.030) 0:00:12.156 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.034) 0:00:12.190 **** 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-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.056) 0:00:12.247 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.046) 0:00:12.293 **** ok: [managed_node1] => { "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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.669) 0:00:12.963 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.035) 0:00:12.999 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.323) 0:00:13.322 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.065) 0:00:13.388 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.029) 0:00:13.418 **** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713417.0509784, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713417.6159775, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.470) 0:00:13.888 **** 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': 1725713412.344985, u'gr_name': u'tang', u'path': u'/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713417.0509784, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713417.0509784, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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_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': 1725713412.3399851, u'gr_name': u'tang', u'path': u'/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713417.6159775, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713417.6159775, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.089) 0:00:13.977 **** 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': 1725713412.344985, u'gr_name': u'tang', u'path': u'/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713417.0509784, u'inode': 262477, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713417.0509784, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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_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': 1725713412.3399851, u'gr_name': u'tang', u'path': u'/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713417.6159775, u'inode': 262476, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713412.3459852, 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": 1725713417.6159775, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 : Prepare deployment directory - create] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.062) 0:00:14.040 **** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.lgkzgznbde_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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.339) 0:00:14.379 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.239) 0:00:14.619 **** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.037) 0:00:14.657 **** ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713417.146114, "ctime": 1725713417.135114, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.135114, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713417.7161174, "ctime": 1725713417.7131174, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.7131174, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 - host keys] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 07 September 2024 08:50:23 -0400 (0:00:00.358) 0:00:15.016 **** 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': 1725713417.135114, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.jwk', u'xusr': False, u'atime': 1725713417.146114, u'inode': 787131, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1725713417.135114, 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": "e9be17e800ac1a9ade6c6a89397c9c8f2b8cbf9f", "dest": "/tmp/ansible.lgkzgznbde_server_keys/qi6fPie9HvqUUy5lg4ZelRMA310.jwk", "gid": 994, "group": "tang", "item": { "atime": 1725713417.146114, "ctime": 1725713417.135114, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.135114, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/qi6fPie9HvqUUy5lg4ZelRMA310.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": "7cc034cab7c81cc0cb98d20b33803def", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1725713423.61-14576-17979703858289/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': 1725713417.7131174, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk', u'xusr': False, u'atime': 1725713417.7161174, u'inode': 787134, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1725713417.7131174, 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": "1915de6be68c287697a94762d00b6c02a9d8c630", "dest": "/tmp/ansible.lgkzgznbde_server_keys/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk", "gid": 994, "group": "tang", "item": { "atime": 1725713417.7161174, "ctime": 1725713417.7131174, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 787134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1725713417.7131174, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyskQnREf/managed_node1/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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": "fde708bbd612db0d8873d8afd22f5c88", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1725713424.44-14576-128128708003269/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 07 September 2024 08:50:24 -0400 (0:00:01.439) 0:00:16.455 **** 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.lgkzgznbde_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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.298) 0:00:16.754 **** changed: [managed_node1] => { "changed": true, "path": "/tmp/ansible.lgkzgznbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.300) 0:00:17.054 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.048) 0:00:17.102 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.032) 0:00:17.135 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.309) 0:00:17.444 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.029) 0:00:17.473 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.327) 0:00:17.801 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.021) 0:00:17.823 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.023) 0:00:17.846 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.019) 0:00:17.865 **** 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-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.020) 0:00:17.886 **** 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": "Sat 2024-09-07 08:50:04 EDT", "ActiveEnterTimestampMonotonic": "495204644", "ActiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "ActiveExitTimestampMonotonic": "495204440", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 08:50:04 EDT", "AssertTimestampMonotonic": "495204472", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.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": "Sat 2024-09-07 08:50:04 EDT", "ConditionTimestampMonotonic": "495204471", "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": "Sat 2024-09-07 08:50:04 EDT", "InactiveEnterTimestampMonotonic": "495204440", "InactiveExitTimestamp": "Sat 2024-09-07 08:50:04 EDT", "InactiveExitTimestampMonotonic": "495204644", "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 keys after redeploy] ********************************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 Saturday 07 September 2024 08:50:26 -0400 (0:00:00.448) 0:00:18.334 **** ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1725713417.0509784, "ctime": 1725713412.3459852, "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": 1725713412.344985, "nlink": 1, "path": "/var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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": 1725713417.6159775, "ctime": 1725713412.3459852, "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": 1725713412.3399851, "nlink": 1, "path": "/var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.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 [Verify the keys are the same] ******************************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:61 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.278) 0:00:18.613 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.039) 0:00:18.652 **** included: /tmp/collections-Dz9/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-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.045) 0:00:18.697 **** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keyskQnREf", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Saturday 07 September 2024 08:50:27 -0400 (0:00:00.177) 0:00:18.875 **** changed: [managed_node1] => (item={u'path': u'/tmp/nbde_server_deploy_keyskQnREf', 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_keyskQnREf\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keyskQnREf\"/* \"/tmp/nbde_server_deploy_keyskQnREf\"/.* || :\nfi\n", "delta": "0:00:00.003601", "end": "2024-09-07 08:50:27.762392", "item": { "path": "/tmp/nbde_server_deploy_keyskQnREf", "remove_dir": "true" }, "rc": 0, "start": "2024-09-07 08:50:27.758791" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keyskQnREf 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.003891", "end": "2024-09-07 08:50:28.011427", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-07 08:50:28.007536" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/HVCMZ8_e_9xSMZ1ittJtpU5vVh4.jwk /var/db/tang/qi6fPie9HvqUUy5lg4ZelRMA310.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.003729", "end": "2024-09-07 08:50:28.298700", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-09-07 08:50:28.294971" } 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 Saturday 07 September 2024 08:50:28 -0400 (0:00:00.955) 0:00:19.830 **** =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 1.44s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 1.04s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Remove managed node files/directories ----------------------------------- 0.96s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.88s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.88s /tmp/collections-Dz9/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.75s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.74s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.67s /tmp/collections-Dz9/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.51s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.49s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.47s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.46s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.45s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.45s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.41s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Gather keys before redeploy --------------------------------------------- 0.40s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.37s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Create tmpdir for server keys ------------------------------------------- 0.37s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.36s /tmp/collections-Dz9/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96