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 'jsonl', 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_default.yml **************************************************** 1 plays in /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run role] **************************************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_default.yml:8 Wednesday 18 June 2025 09:46:55 -0400 (0:00:00.027) 0:00:00.027 ******** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 18 June 2025 09:46:55 -0400 (0:00:00.023) 0:00:00.051 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 18 June 2025 09:46:55 -0400 (0:00:00.093) 0:00:00.144 ******** ok: [managed-node2] TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 18 June 2025 09:46:56 -0400 (0:00:01.128) 0:00:01.273 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 18 June 2025 09:46:57 -0400 (0:00:00.537) 0:00:01.810 ******** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Run systemctl] ******************* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:22 Wednesday 18 June 2025 09:46:57 -0400 (0:00:00.056) 0:00:01.867 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.011191", "end": "2025-06-18 09:46:57.821561", "failed_when_result": false, "rc": 0, "start": "2025-06-18 09:46:57.810370" } STDOUT: running TASK [fedora.linux_system_roles.nbde_server : Require installed systemd] ******* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:30 Wednesday 18 June 2025 09:46:57 -0400 (0:00:00.510) 0:00:02.377 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:35 Wednesday 18 June 2025 09:46:57 -0400 (0:00:00.040) 0:00:02.418 ******** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:40 Wednesday 18 June 2025 09:46:57 -0400 (0:00:00.043) 0:00:02.462 ******** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/collections-hZv/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-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 18 June 2025 09:46:58 -0400 (0:00:00.052) 0:00:02.515 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 18 June 2025 09:46:58 -0400 (0:00:00.054) 0:00:02.570 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 base 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 base 29 k\n jose x86_64 10-1.el7 base 47 k\n libjose x86_64 10-1.el7 base 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 568 kB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 18 June 2025 09:47:05 -0400 (0:00:07.240) 0:00:09.810 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 18 June 2025 09:47:05 -0400 (0:00:00.039) 0:00:09.849 ******** changed: [managed-node2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 18 June 2025 09:47:05 -0400 (0:00:00.457) 0:00:10.306 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 18 June 2025 09:47:05 -0400 (0:00:00.038) 0:00:10.345 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node2 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Wednesday 18 June 2025 09:47:05 -0400 (0:00:00.048) 0:00:10.393 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 18 June 2025 09:47:05 -0400 (0:00:00.017) 0:00:10.410 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.279) 0:00:10.689 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.017) 0:00:10.707 ******** ok: [managed-node2] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.441) 0:00:11.149 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.017) 0:00:11.166 ******** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.021) 0:00:11.188 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.017) 0:00:11.205 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:41 Wednesday 18 June 2025 09:47:06 -0400 (0:00:00.018) 0:00:11.223 ******** changed: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "dead", "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", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } TASK [Verify role results] ***************************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_default.yml:13 Wednesday 18 June 2025 09:47:07 -0400 (0:00:01.032) 0:00:12.256 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml for managed-node2 TASK [Gather state of required packages] *************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:2 Wednesday 18 June 2025 09:47:07 -0400 (0:00:00.021) 0:00:12.277 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [Check whether required packages are installed] *************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:10 Wednesday 18 June 2025 09:47:08 -0400 (0:00:00.906) 0:00:13.184 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Gather state of services] ************************************************ task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:14 Wednesday 18 June 2025 09:47:08 -0400 (0:00:00.027) 0:00:13.211 ******** ok: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2025-06-18 09:47:07 EDT", "ActiveEnterTimestampMonotonic": "229836721", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2025-06-18 09:47:07 EDT", "AssertTimestampMonotonic": "229835768", "Backlog": "128", "Before": "multi-user.target shutdown.target sockets.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": "Wed 2025-06-18 09:47:07 EDT", "ConditionTimestampMonotonic": "229835767", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2025-06-18 09:47:07 EDT", "InactiveExitTimestampMonotonic": "229836721", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check services are enabled and started] ********************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:23 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.670) 0:00:13.882 ******** ok: [managed-node2] => (item={u'status': {u'RuntimeDirectoryMode': u'0755', u'UnitFileState': u'enabled', u'MaxConnections': u'64', u'KeepAlive': u'no', u'LimitSIGPENDING': u'14311', u'OOMScoreAdjust': u'0', u'NConnections': u'0', u'LoadState': u'loaded', u'IPTOS': u'-1', u'ProtectHome': u'no', u'Broadcast': u'no', u'ConditionTimestampMonotonic': u'229835767', u'TTYVHangup': u'no', u'ReceiveBuffer': u'0', u'LimitSTACK': u'18446744073709551615', u'DeferAcceptUSec': u'0', u'ActiveEnterTimestampMonotonic': u'229836721', u'StandardError': u'inherit', u'IgnoreOnSnapshot': u'no', u'NAccepted': u'0', u'CPUSchedulingPriority': u'0', u'KillSignal': u'15', u'LimitFSIZE': u'18446744073709551615', u'IgnoreOnIsolate': u'no', u'LimitCPU': u'18446744073709551615', u'Backlog': u'128', u'AssertTimestamp': u'Wed 2025-06-18 09:47:07 EDT', u'SendBuffer': u'0', u'CPUQuotaPerSecUSec': u'infinity', u'CanStart': u'yes', u'DirectoryMode': u'0755', u'JobTimeoutAction': u'none', u'Before': u'multi-user.target shutdown.target sockets.target tangd@0.service', u'PassSecurity': u'no', u'LimitAS': u'18446744073709551615', u'RemoveOnStop': u'no', u'InactiveExitTimestampMonotonic': u'229836721', u'Mark': u'-1', u'Priority': u'-1', u'SendSIGHUP': u'no', u'SyslogPriority': u'30', u'SameProcessGroup': u'no', u'LimitNPROC': u'14311', u'Accept': u'yes', u'SystemCallErrorNumber': u'0', u'UMask': u'0022', u'NonBlocking': u'no', u'InactiveEnterTimestampMonotonic': u'0', u'CapabilityBoundingSet': u'18446744073709551615', u'TTYReset': u'no', u'RefuseManualStart': u'no', u'KillMode': u'control-group', u'SyslogLevelPrefix': u'yes', u'LimitRSS': u'18446744073709551615', u'LimitRTPRIO': u'0', u'Delegate': u'no', u'TasksCurrent': u'18446744073709551615', u'InactiveExitTimestamp': u'Wed 2025-06-18 09:47:07 EDT', u'LimitCORE': u'18446744073709551615', u'JobTimeoutUSec': u'0', u'MemoryLimit': u'18446744073709551615', u'SubState': u'listening', u'CPUSchedulingResetOnFork': u'no', u'Result': u'success', u'KeepAliveIntervalUSec': u'0', u'CPUShares': u'18446744073709551615', u'NoDelay': u'no', u'IPTTL': u'-1', u'ConditionResult': u'yes', u'TTYVTDisallocate': u'no', u'StartupBlockIOWeight': u'18446744073709551615', u'ActiveEnterTimestamp': u'Wed 2025-06-18 09:47:07 EDT', u'FragmentPath': u'/usr/lib/systemd/system/tangd.socket', u'StartupCPUShares': u'18446744073709551615', u'ActiveState': u'active', u'Nice': u'0', u'LimitDATA': u'18446744073709551615', u'UnitFilePreset': u'disabled', u'MemoryCurrent': u'18446744073709551615', u'LimitRTTIME': u'18446744073709551615', u'ListenStream': u'[::]:80', u'WantedBy': u'multi-user.target', u'PipeSize': u'0', u'ConditionTimestamp': u'Wed 2025-06-18 09:47:07 EDT', u'CPUAccounting': u'no', u'CPUSchedulingPolicy': u'0', u'AllowIsolate': u'no', u'Transparent': u'no', u'LimitNOFILE': u'4096', u'CanReload': u'no', u'RefuseManualStop': u'no', u'Triggers': u'tangd@0.service', u'SocketMode': u'0666', u'TasksAccounting': u'no', u'NeedDaemonReload': u'no', u'SecureBits': u'0', u'StandardInput': u'null', u'AssertTimestampMonotonic': u'229835768', u'DefaultDependencies': u'yes', u'Requires': u'-.slice sysinit.target', u'TasksMax': u'18446744073709551615', u'BindIPv6Only': u'default', u'LimitMEMLOCK': u'65536', u'StopWhenUnneeded': u'no', u'LimitMSGQUEUE': u'819200', u'TimeoutUSec': u'1min 30s', u'AmbientCapabilities': u'0', u'FreeBind': u'no', u'CollectMode': u'inactive', u'KeepAliveTimeUSec': u'0', u'BlockIOAccounting': u'no', u'CanStop': u'yes', u'PrivateTmp': u'no', u'NoNewPrivileges': u'no', u'AssertResult': u'yes', u'LimitLOCKS': u'18446744073709551615', u'TimerSlackNSec': u'50000', u'LimitNICE': u'0', u'After': u'-.slice sysinit.target', u'OnFailureJobMode': u'replace', u'PassCredentials': u'no', u'CanIsolate': u'no', u'Conflicts': u'shutdown.target', u'StandardOutput': u'journal', u'MountFlags': u'0', u'DevicePolicy': u'auto', u'SendSIGKILL': u'yes', u'MemoryAccounting': u'no', u'IgnoreSIGPIPE': u'yes', u'Transient': u'no', u'IOScheduling': u'0', u'PrivateNetwork': u'no', u'ReusePort': u'no', u'ActiveExitTimestampMonotonic': u'0', u'KeepAliveProbes': u'0', u'PrivateDevices': u'no', u'BlockIOWeight': u'18446744073709551615', u'Description': u'Tang Server socket', u'Names': u'tangd.socket', u'ProtectSystem': u'no', u'ControlPID': u'0', u'Id': u'tangd.socket'}, u'ansible_loop_var': u'item', u'name': u'tangd.socket', u'item': u'tangd.socket', u'changed': False, u'enabled': True, u'failed': False, u'state': u'started', u'invocation': {u'module_args': {u'no_block': False, u'force': None, u'name': u'tangd.socket', u'daemon_reexec': False, u'enabled': True, u'daemon_reload': False, u'state': u'started', u'masked': None, u'scope': None, u'user': None}}}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": null, "state": "started", "user": null } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2025-06-18 09:47:07 EDT", "ActiveEnterTimestampMonotonic": "229836721", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2025-06-18 09:47:07 EDT", "AssertTimestampMonotonic": "229835768", "Backlog": "128", "Before": "multi-user.target shutdown.target sockets.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": "Wed 2025-06-18 09:47:07 EDT", "ConditionTimestampMonotonic": "229835767", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2025-06-18 09:47:07 EDT", "InactiveExitTimestampMonotonic": "229836721", "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" } } } MSG: All assertions passed TASK [Include the appropriate provider verification tasks] ********************* task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:28 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.078) 0:00:13.960 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-tang-results.yml for managed-node2 TASK [Gather state of keys] **************************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-tang-results.yml:2 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.061) 0:00:14.022 ******** ok: [managed-node2] => { "arguments": { "cachedir": null, "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": null }, "changed": false, "state": "keys-created" } TASK [Check whether there are keys] ******************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-tang-results.yml:10 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.320) 0:00:14.342 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_default.yml:16 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.031) 0:00:14.374 ******** included: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed-node2 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.034) 0:00:14.408 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Wednesday 18 June 2025 09:47:09 -0400 (0:00:00.026) 0:00:14.435 ******** skipping: [managed-node2] => (item={u'path': u'', u'remove_dir': u'true'}) => { "ansible_loop_var": "item", "changed": false, "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [managed-node2] => (item={u'path': u'/var/db/tang', u'remove_dir': u'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004707", "end": "2025-06-18 09:47:10.210078", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2025-06-18 09:47:10.205371" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/x5z0Z26qsHNnrgzCL3M9_dkqyb0.jwk /var/db/tang/xo-VzXlj_H-y5popXkHZBS8Qhbo.jwk /var/db/tang/. /var/db/tang/.. rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/.’ rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/..’ + : changed: [managed-node2] => (item={u'path': u'/var/cache/tang', u'remove_dir': u'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.004406", "end": "2025-06-18 09:47:10.493207", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2025-06-18 09:47:10.488801" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=25 changed=4 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 18 June 2025 09:47:10 -0400 (0:00:00.625) 0:00:15.060 ******** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 7.24s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 1.13s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 1.03s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:41 Gather state of required packages --------------------------------------- 0.91s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:2 Gather state of services ------------------------------------------------ 0.67s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:14 Remove managed node files/directories ----------------------------------- 0.63s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.54s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Run systemctl ------------------- 0.51s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:22 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.46s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.44s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Gather state of keys ---------------------------------------------------- 0.32s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-tang-results.yml:2 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.28s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.09s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Check services are enabled and started ---------------------------------- 0.08s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:23 Include the appropriate provider verification tasks --------------------- 0.06s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml:28 fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree --- 0.06s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.05s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.05s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:40 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.05s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 fedora.linux_system_roles.nbde_server : Set flag to indicate that systemd runtime operations are available --- 0.04s /tmp/collections-hZv/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:35