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-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 Saturday 02 November 2024 08:48:20 -0400 (0:00:00.024) 0:00:00.024 ***** ok: [managed-node1] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Saturday 02 November 2024 08:48:21 -0400 (0:00:01.073) 0:00:01.098 ***** changed: [managed-node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keyswGUgRW", "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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 Saturday 02 November 2024 08:48:21 -0400 (0:00:00.545) 0:00:01.644 ***** ok: [managed-node1] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keyswGUgRW" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 Saturday 02 November 2024 08:48:21 -0400 (0:00:00.071) 0:00:01.715 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 02 November 2024 08:48:21 -0400 (0:00:00.048) 0:00:01.763 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 02 November 2024 08:48:21 -0400 (0:00:00.061) 0:00:01.824 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 02 November 2024 08:48:21 -0400 (0:00:00.053) 0:00:01.878 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 02 November 2024 08:48:22 -0400 (0:00:00.526) 0:00:02.404 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 02 November 2024 08:48:22 -0400 (0:00:00.049) 0:00:02.454 ***** 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-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 02 November 2024 08:48:22 -0400 (0:00:00.067) 0:00:02.521 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 02 November 2024 08:48:22 -0400 (0:00:00.100) 0:00:02.621 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 02 November 2024 08:48:23 -0400 (0:00:00.928) 0:00:03.550 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 02 November 2024 08:48:23 -0400 (0:00:00.050) 0:00:03.601 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.628) 0:00:04.229 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.048) 0:00:04.277 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.074) 0:00:04.352 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.067) 0:00:04.419 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.361) 0:00:04.781 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 02 November 2024 08:48:24 -0400 (0:00:00.031) 0:00:04.812 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 02 November 2024 08:48:25 -0400 (0:00:00.548) 0:00:05.360 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 02 November 2024 08:48:25 -0400 (0:00:00.021) 0:00:05.382 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 02 November 2024 08:48:25 -0400 (0:00:00.033) 0:00:05.416 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 02 November 2024 08:48:25 -0400 (0:00:00.050) 0:00:05.467 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 02 November 2024 08:48:25 -0400 (0:00:00.035) 0:00:05.503 ***** 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-11-02 08:48:14 EDT", "ActiveEnterTimestampMonotonic": "301300354", "ActiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "ActiveExitTimestampMonotonic": "301300141", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 08:48:14 EDT", "AssertTimestampMonotonic": "301300173", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "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-11-02 08:48:14 EDT", "ConditionTimestampMonotonic": "301300171", "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-11-02 08:48:14 EDT", "InactiveEnterTimestampMonotonic": "301300141", "InactiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "InactiveExitTimestampMonotonic": "301300354", "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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:27 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.769) 0:00:06.273 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.053) 0:00:06.326 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.055) 0:00:06.382 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.055) 0:00:06.437 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.037) 0:00:06.475 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.039) 0:00:06.515 ***** 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-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.064) 0:00:06.579 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 02 November 2024 08:48:26 -0400 (0:00:00.053) 0:00:06.633 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 02 November 2024 08:48:27 -0400 (0:00:00.713) 0:00:07.346 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 02 November 2024 08:48:27 -0400 (0:00:00.044) 0:00:07.391 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 02 November 2024 08:48:27 -0400 (0:00:00.370) 0:00:07.761 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 02 November 2024 08:48:27 -0400 (0:00:00.060) 0:00:07.822 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 02 November 2024 08:48:27 -0400 (0:00:00.031) 0:00:07.853 ***** ok: [managed-node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551704.2766168, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551704.2826169, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 02 November 2024 08:48:28 -0400 (0:00:00.528) 0:00:08.381 ***** 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': 1730551704.2766168, u'gr_name': u'tang', u'path': u'/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551704.2766168, u'inode': 262512, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551704.2836168, 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": "c25023ae88a45fb65f1b0f3f70665835608c9a40", "dest": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk", "item": { "atime": 1730551704.2766168, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": "c20138673ea64d914484857bed606b4a", "remote_checksum": "c25023ae88a45fb65f1b0f3f70665835608c9a40", "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': 1730551704.2826169, u'gr_name': u'tang', u'path': u'/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551704.2826169, u'inode': 262513, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551704.2836168, 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": "605f684a269ba623fc0f90541a962e0ce06bb4c6", "dest": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk", "item": { "atime": 1730551704.2826169, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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": "d3e1202238b9f0bab7d4359edd385854", "remote_checksum": "605f684a269ba623fc0f90541a962e0ce06bb4c6", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.739) 0:00:09.121 ***** 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': 1730551704.2766168, u'gr_name': u'tang', u'path': u'/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551704.2766168, u'inode': 262512, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551704.2766168, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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': 1730551704.2826169, u'gr_name': u'tang', u'path': u'/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551704.2826169, u'inode': 262513, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551704.2826169, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.073) 0:00:09.194 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.034) 0:00:09.229 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.218) 0:00:09.447 ***** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.024) 0:00:09.472 ***** ok: [managed-node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551708.785985, "ctime": 1730551708.779985, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551708.779985, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551709.1639845, "ctime": 1730551709.1609845, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551709.1609845, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.233) 0:00:09.705 ***** 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': 1730551708.779985, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551708.785985, u'inode': 403625, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551708.779985, 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": 1730551708.785985, "ctime": 1730551708.779985, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551708.779985, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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': 1730551709.1609845, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551709.1639845, u'inode': 403626, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551709.1609845, 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": 1730551709.1639845, "ctime": 1730551709.1609845, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551709.1609845, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.067) 0:00:09.773 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.031) 0:00:09.805 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.029) 0:00:09.834 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 02 November 2024 08:48:29 -0400 (0:00:00.049) 0:00:09.884 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.030) 0:00:09.914 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.274) 0:00:10.189 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.021) 0:00:10.211 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.297) 0:00:10.508 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.031) 0:00:10.539 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.035) 0:00:10.575 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.030) 0:00:10.606 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 02 November 2024 08:48:30 -0400 (0:00:00.028) 0:00:10.634 ***** 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-11-02 08:48:14 EDT", "ActiveEnterTimestampMonotonic": "301300354", "ActiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "ActiveExitTimestampMonotonic": "301300141", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 08:48:14 EDT", "AssertTimestampMonotonic": "301300173", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "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-11-02 08:48:14 EDT", "ConditionTimestampMonotonic": "301300171", "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-11-02 08:48:14 EDT", "InactiveEnterTimestampMonotonic": "301300141", "InactiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "InactiveExitTimestampMonotonic": "301300354", "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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 Saturday 02 November 2024 08:48:31 -0400 (0:00:00.588) 0:00:11.223 ***** ok: [managed-node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551708.7226312, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551709.1066325, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:44 Saturday 02 November 2024 08:48:31 -0400 (0:00:00.520) 0:00:11.743 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 02 November 2024 08:48:31 -0400 (0:00:00.110) 0:00:11.864 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.075) 0:00:11.940 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.036) 0:00:11.976 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.073) 0:00:12.049 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.058) 0:00:12.108 ***** 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-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.090) 0:00:12.198 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 02 November 2024 08:48:32 -0400 (0:00:00.055) 0:00:12.253 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 02 November 2024 08:48:33 -0400 (0:00:00.731) 0:00:12.985 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 02 November 2024 08:48:33 -0400 (0:00:00.082) 0:00:13.068 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 02 November 2024 08:48:33 -0400 (0:00:00.457) 0:00:13.525 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 02 November 2024 08:48:33 -0400 (0:00:00.074) 0:00:13.599 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Saturday 02 November 2024 08:48:33 -0400 (0:00:00.042) 0:00:13.642 ***** ok: [managed-node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551708.7226312, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551709.1066325, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.363) 0:00:14.006 ***** 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': 1730551704.2766168, u'gr_name': u'tang', u'path': u'/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551708.7226312, u'inode': 262512, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551708.7226312, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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': 1730551704.2826169, u'gr_name': u'tang', u'path': u'/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551709.1066325, u'inode': 262513, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551709.1066325, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.110) 0:00:14.116 ***** 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': 1730551704.2766168, u'gr_name': u'tang', u'path': u'/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551708.7226312, u'inode': 262512, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551708.7226312, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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': 1730551704.2826169, u'gr_name': u'tang', u'path': u'/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551709.1066325, u'inode': 262513, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551704.2836168, 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": 1730551709.1066325, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.097) 0:00:14.213 ***** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.7WOZRtnbde_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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.431) 0:00:14.645 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.206) 0:00:14.852 ***** TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Saturday 02 November 2024 08:48:34 -0400 (0:00:00.023) 0:00:14.875 ***** ok: [managed-node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551708.785985, "ctime": 1730551708.779985, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551708.779985, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551709.1639845, "ctime": 1730551709.1609845, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551709.1609845, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Saturday 02 November 2024 08:48:35 -0400 (0:00:00.189) 0:00:15.065 ***** 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': 1730551708.779985, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk', u'xusr': False, u'atime': 1730551708.785985, u'inode': 403625, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1730551708.779985, 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": "c25023ae88a45fb65f1b0f3f70665835608c9a40", "dest": "/tmp/ansible.7WOZRtnbde_server_keys/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk", "gid": 994, "group": "tang", "item": { "atime": 1730551708.785985, "ctime": 1730551708.779985, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551708.779985, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": "c20138673ea64d914484857bed606b4a", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1730551715.31-14861-208090000119137/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': 1730551709.1609845, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk', u'xusr': False, u'atime': 1730551709.1639845, u'inode': 403626, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1730551709.1609845, 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": "605f684a269ba623fc0f90541a962e0ce06bb4c6", "dest": "/tmp/ansible.7WOZRtnbde_server_keys/_ZMDV0vnSnVx7huFyDeOYD91Pa4.jwk", "gid": 994, "group": "tang", "item": { "atime": 1730551709.1639845, "ctime": 1730551709.1609845, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 403626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1730551709.1609845, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyswGUgRW/managed-node1/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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": "d3e1202238b9f0bab7d4359edd385854", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1730551716.2-14861-249526584210058/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Saturday 02 November 2024 08:48:36 -0400 (0:00:01.718) 0:00:16.783 ***** 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.7WOZRtnbde_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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Saturday 02 November 2024 08:48:37 -0400 (0:00:00.481) 0:00:17.265 ***** changed: [managed-node1] => { "changed": true, "path": "/tmp/ansible.7WOZRtnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 02 November 2024 08:48:37 -0400 (0:00:00.455) 0:00:17.721 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 02 November 2024 08:48:37 -0400 (0:00:00.055) 0:00:17.776 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.180) 0:00:17.957 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.451) 0:00:18.408 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.037) 0:00:18.446 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.330) 0:00:18.776 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.029) 0:00:18.805 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.030) 0:00:18.836 ***** 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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.029) 0:00:18.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-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 02 November 2024 08:48:38 -0400 (0:00:00.028) 0:00:18.894 ***** 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-11-02 08:48:14 EDT", "ActiveEnterTimestampMonotonic": "301300354", "ActiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "ActiveExitTimestampMonotonic": "301300141", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 08:48:14 EDT", "AssertTimestampMonotonic": "301300173", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "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-11-02 08:48:14 EDT", "ConditionTimestampMonotonic": "301300171", "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-11-02 08:48:14 EDT", "InactiveEnterTimestampMonotonic": "301300141", "InactiveExitTimestamp": "Sat 2024-11-02 08:48:14 EDT", "InactiveExitTimestampMonotonic": "301300354", "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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 Saturday 02 November 2024 08:48:39 -0400 (0:00:00.484) 0:00:19.379 ***** ok: [managed-node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1730551708.7226312, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2766168, "nlink": 1, "path": "/var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.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": 1730551709.1066325, "ctime": 1730551704.2836168, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1730551704.2826169, "nlink": 1, "path": "/var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:61 Saturday 02 November 2024 08:48:40 -0400 (0:00:00.528) 0:00:19.907 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 Saturday 02 November 2024 08:48:40 -0400 (0:00:00.053) 0:00:19.961 ***** included: /tmp/collections-Cme/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-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Saturday 02 November 2024 08:48:40 -0400 (0:00:00.097) 0:00:20.058 ***** changed: [managed-node1 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keyswGUgRW", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Saturday 02 November 2024 08:48:40 -0400 (0:00:00.319) 0:00:20.378 ***** changed: [managed-node1] => (item={u'path': u'/tmp/nbde_server_deploy_keyswGUgRW', 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_keyswGUgRW\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keyswGUgRW\"/* \"/tmp/nbde_server_deploy_keyswGUgRW\"/.* || :\nfi\n", "delta": "0:00:00.004062", "end": "2024-11-02 08:48:41.054664", "item": { "path": "/tmp/nbde_server_deploy_keyswGUgRW", "remove_dir": "true" }, "rc": 0, "start": "2024-11-02 08:48:41.050602" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keyswGUgRW 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.004543", "end": "2024-11-02 08:48:41.346400", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-11-02 08:48:41.341857" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/Tod21ZrenDCbGPD9ZV0XElRtQ8c.jwk /var/db/tang/_ZMDV0vnSnVx7huFyDeOYD91Pa4.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.004107", "end": "2024-11-02 08:48:41.696233", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-11-02 08:48:41.692126" } 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 02 November 2024 08:48:41 -0400 (0:00:01.269) 0:00:21.648 ***** =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 1.72s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Remove managed node files/directories ----------------------------------- 1.27s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Gathering Facts --------------------------------------------------------- 1.07s /tmp/collections-Cme/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.93s /tmp/collections-Cme/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.77s /tmp/collections-Cme/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.74s /tmp/collections-Cme/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.73s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.71s /tmp/collections-Cme/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.63s /tmp/collections-Cme/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.59s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.55s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Create tmpdir for server keys ------------------------------------------- 0.55s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 Gather keys after redeploy ---------------------------------------------- 0.53s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:52 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.53s /tmp/collections-Cme/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.53s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Gather keys before redeploy --------------------------------------------- 0.52s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:35 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.48s /tmp/collections-Cme/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.48s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.46s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Clean up host deployment directory --- 0.46s /tmp/collections-Cme/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133