Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Ensure that the role runs with default parameters] *********************** TASK [Run role] **************************************************************** Thursday 25 July 2024 15:31:11 -0400 (0:00:00.027) 0:00:00.027 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** Thursday 25 July 2024 15:31:11 -0400 (0:00:00.022) 0:00:00.049 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/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] *** Thursday 25 July 2024 15:31:11 -0400 (0:00:00.079) 0:00:00.129 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* Thursday 25 July 2024 15:31:12 -0400 (0:00:00.704) 0:00:00.833 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** Thursday 25 July 2024 15:31:12 -0400 (0:00:00.455) 0:00:01.288 ********* ok: [managed_node1] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** Thursday 25 July 2024 15:31:12 -0400 (0:00:00.042) 0:00:01.331 ********* 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": [ "/var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/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] *** Thursday 25 July 2024 15:31:12 -0400 (0:00:00.049) 0:00:01.380 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/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] ******** Thursday 25 July 2024 15:31:12 -0400 (0:00:00.050) 0:00:01.431 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* Thursday 25 July 2024 15:31:13 -0400 (0:00:01.072) 0:00:02.504 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* Thursday 25 July 2024 15:31:13 -0400 (0:00:00.038) 0:00:02.543 ********* 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] *** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.429) 0:00:02.972 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.036) 0:00:03.009 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/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] ******************** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.044) 0:00:03.054 ********* 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] *** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.017) 0:00:03.072 ********* 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] *** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.297) 0:00:03.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** Thursday 25 July 2024 15:31:14 -0400 (0:00:00.017) 0:00:03.386 ********* 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] *** Thursday 25 July 2024 15:31:15 -0400 (0:00:00.404) 0:00:03.790 ********* 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] *** Thursday 25 July 2024 15:31:15 -0400 (0:00:00.018) 0:00:03.809 ********* ok: [managed_node1] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** Thursday 25 July 2024 15:31:15 -0400 (0:00:00.021) 0:00:03.830 ********* 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] *** Thursday 25 July 2024 15:31:15 -0400 (0:00:00.016) 0:00:03.846 ********* 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] *** Thursday 25 July 2024 15:31:15 -0400 (0:00:00.019) 0:00:03.866 ********* 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": "Thu 2024-07-25 15:30:53 EDT", "ActiveEnterTimestampMonotonic": "1045724929", "ActiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "ActiveExitTimestampMonotonic": "1045724661", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 15:30:53 EDT", "AssertTimestampMonotonic": "1045724712", "Backlog": "128", "Before": "multi-user.target sockets.target shutdown.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": "Thu 2024-07-25 15:30:53 EDT", "ConditionTimestampMonotonic": "1045724710", "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": "Thu 2024-07-25 15:30:53 EDT", "InactiveEnterTimestampMonotonic": "1045724661", "InactiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "InactiveExitTimestampMonotonic": "1045724929", "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 [Verify role results] ***************************************************** Thursday 25 July 2024 15:31:16 -0400 (0:00:00.972) 0:00:04.838 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-role-results.yml for managed_node1 TASK [Gather state of required packages] *************************************** Thursday 25 July 2024 15:31:16 -0400 (0:00:00.019) 0:00:04.858 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [Check whether required packages are installed] *************************** Thursday 25 July 2024 15:31:17 -0400 (0:00:00.888) 0:00:05.746 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Gather state of services] ************************************************ Thursday 25 July 2024 15:31:17 -0400 (0:00:00.020) 0:00:05.767 ********* 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": "Thu 2024-07-25 15:30:53 EDT", "ActiveEnterTimestampMonotonic": "1045724929", "ActiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "ActiveExitTimestampMonotonic": "1045724661", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 15:30:53 EDT", "AssertTimestampMonotonic": "1045724712", "Backlog": "128", "Before": "multi-user.target sockets.target shutdown.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": "Thu 2024-07-25 15:30:53 EDT", "ConditionTimestampMonotonic": "1045724710", "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": "Thu 2024-07-25 15:30:53 EDT", "InactiveEnterTimestampMonotonic": "1045724661", "InactiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "InactiveExitTimestampMonotonic": "1045724929", "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] ********************************** Thursday 25 July 2024 15:31:17 -0400 (0:00:00.688) 0:00:06.455 ********* ok: [managed_node1] => (item={u'status': {u'RuntimeDirectoryMode': u'0755', u'ActiveExitTimestamp': u'Thu 2024-07-25 15:30:53 EDT', 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'1045724710', u'TTYVHangup': u'no', u'ReceiveBuffer': u'0', u'LimitSTACK': u'18446744073709551615', u'DeferAcceptUSec': u'0', u'SubState': u'listening', u'StandardError': u'inherit', u'IgnoreOnSnapshot': u'no', u'ActiveEnterTimestampMonotonic': u'1045724929', 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'Thu 2024-07-25 15:30:53 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 sockets.target shutdown.target tangd@0.service', u'PassSecurity': u'no', u'LimitAS': u'18446744073709551615', u'RemoveOnStop': u'no', u'InactiveExitTimestampMonotonic': u'1045724929', 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'1045724661', 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'Thu 2024-07-25 15:30:53 EDT', u'LimitCORE': u'18446744073709551615', u'JobTimeoutUSec': u'0', u'MemoryLimit': u'18446744073709551615', 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'Thu 2024-07-25 15:30:53 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'Thu 2024-07-25 15:30:53 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'InactiveEnterTimestamp': u'Thu 2024-07-25 15:30:53 EDT', u'StandardInput': u'null', u'AssertTimestampMonotonic': u'1045724712', 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'1045724661', 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": "Thu 2024-07-25 15:30:53 EDT", "ActiveEnterTimestampMonotonic": "1045724929", "ActiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "ActiveExitTimestampMonotonic": "1045724661", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 15:30:53 EDT", "AssertTimestampMonotonic": "1045724712", "Backlog": "128", "Before": "multi-user.target sockets.target shutdown.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": "Thu 2024-07-25 15:30:53 EDT", "ConditionTimestampMonotonic": "1045724710", "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": "Thu 2024-07-25 15:30:53 EDT", "InactiveEnterTimestampMonotonic": "1045724661", "InactiveExitTimestamp": "Thu 2024-07-25 15:30:53 EDT", "InactiveExitTimestampMonotonic": "1045724929", "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] ********************* Thursday 25 July 2024 15:31:17 -0400 (0:00:00.050) 0:00:06.506 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/verify-tang-results.yml for managed_node1 TASK [Gather state of keys] **************************************************** Thursday 25 July 2024 15:31:17 -0400 (0:00:00.023) 0:00:06.529 ********* ok: [managed_node1] => { "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] ******************************************** Thursday 25 July 2024 15:31:18 -0400 (0:00:00.299) 0:00:06.828 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 15:31:18 -0400 (0:00:00.020) 0:00:06.849 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed_node1 TASK [Remove control node files/directories] *********************************** Thursday 25 July 2024 15:31:18 -0400 (0:00:00.023) 0:00:06.872 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** Thursday 25 July 2024 15:31:18 -0400 (0:00:00.017) 0:00:06.890 ********* skipping: [managed_node1] => (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_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.004867", "end": "2024-07-25 15:31:18.687091", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 15:31:18.682224" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/3046YgtGKdbUzQZOl-Ow0jFEDUY.jwk /var/db/tang/3X-Z9-6p8q594EuUIye4IN-z2GQ.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.004564", "end": "2024-07-25 15:31:19.001415", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 15:31:18.996851" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* managed_node1 : ok=23 changed=2 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 25 July 2024 15:31:19 -0400 (0:00:00.809) 0:00:07.700 ********* =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.07s fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.97s Gather state of required packages --------------------------------------- 0.89s Remove managed node files/directories ----------------------------------- 0.81s fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.70s Gather state of services ------------------------------------------------ 0.69s fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.46s fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.43s fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.40s Gather state of keys ---------------------------------------------------- 0.30s fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.30s fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.08s fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.05s Check services are enabled and started ---------------------------------- 0.05s fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.05s fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.04s fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree --- 0.04s fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.04s fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.04s Cleanup ----------------------------------------------------------------- 0.02s