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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:2 Saturday 24 August 2024 08:45:22 -0400 (0:00:00.031) 0:00:00.031 ******* ok: [managed_node3] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:6 Saturday 24 August 2024 08:45:24 -0400 (0:00:01.199) 0:00:01.231 ******* changed: [managed_node3 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml", "gid": 0, "group": "root", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.25-13617-199523643128211/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml", "gid": 0, "group": "root", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.94-13617-264286372708397/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml", "gid": 0, "group": "root", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.24-13617-226073786585336/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml", "gid": 0, "group": "root", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.73-13617-177502480051602/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.24-13617-249218863871498/source", "state": "file", "uid": 0 } changed: [managed_node3 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.65-13617-108286629472842/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:41 Saturday 24 August 2024 08:45:26 -0400 (0:00:02.837) 0:00:04.068 ******* TASK [Include role] ************************************************************ task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/tasks/main.yml:4 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.048) 0:00:04.116 ******* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.035) 0:00:04.152 ******* included: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed_node3 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.042) 0:00:04.194 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.025) 0:00:04.219 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.346) 0:00:04.566 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.039) 0:00:04.605 ******* ok: [managed_node3] => { "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-lSl/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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.057) 0:00:04.663 ******* included: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed_node3 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 24 August 2024 08:45:27 -0400 (0:00:00.114) 0:00:04.777 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 24 August 2024 08:45:28 -0400 (0:00:00.975) 0:00:05.753 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 24 August 2024 08:45:28 -0400 (0:00:00.052) 0:00:05.805 ******* changed: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.554) 0:00:06.359 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.032) 0:00:06.392 ******* included: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed_node3 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.060) 0:00:06.453 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.037) 0:00:06.490 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.309) 0:00:06.800 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 24 August 2024 08:45:29 -0400 (0:00:00.038) 0:00:06.838 ******* ok: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 24 August 2024 08:45:30 -0400 (0:00:00.506) 0:00:07.345 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 24 August 2024 08:45:30 -0400 (0:00:00.070) 0:00:07.415 ******* ok: [managed_node3] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Saturday 24 August 2024 08:45:30 -0400 (0:00:00.089) 0:00:07.504 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 24 August 2024 08:45:30 -0400 (0:00:00.054) 0:00:07.559 ******* skipping: [managed_node3] => { "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-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 24 August 2024 08:45:30 -0400 (0:00:00.041) 0:00:07.600 ******* ok: [managed_node3] => (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-08-24 08:44:30 EDT", "ActiveEnterTimestampMonotonic": "231813792", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-24 08:44:30 EDT", "AssertTimestampMonotonic": "231813107", "Backlog": "128", "Before": "multi-user.target tangd@0.service 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": "yes", "ConditionTimestamp": "Sat 2024-08-24 08:44:30 EDT", "ConditionTimestampMonotonic": "231813105", "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": "Sat 2024-08-24 08:44:30 EDT", "InactiveExitTimestampMonotonic": "231813792", "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 [caller : Test variable override] ***************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/tasks/main.yml:8 Saturday 24 August 2024 08:45:31 -0400 (0:00:00.746) 0:00:08.347 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Cleanup role files] ****************************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:48 Saturday 24 August 2024 08:45:31 -0400 (0:00:00.027) 0:00:08.375 ******* included: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed_node3 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 Saturday 24 August 2024 08:45:31 -0400 (0:00:00.044) 0:00:08.419 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 Saturday 24 August 2024 08:45:31 -0400 (0:00:00.033) 0:00:08.453 ******* skipping: [managed_node3] => (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_node3] => (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.004132", "end": "2024-08-24 08:45:31.946254", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-24 08:45:31.942122" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/61UryrzrScsU-PzER4-5on9mOuA.jwk /var/db/tang/8lamw6idNcWSH2gbru_t1VBQCjc.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_node3] => (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.003938", "end": "2024-08-24 08:45:32.268219", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-24 08:45:32.264281" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Cleanup test files] ****************************************************** task path: /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:52 Saturday 24 August 2024 08:45:32 -0400 (0:00:00.987) 0:00:09.440 ******* changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503524.25-13617-199523643128211/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml', u'selevel': None, u'_original_basename': u'tmpic1TjT', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503524.25-13617-199523643128211/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpic1TjT", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.25-13617-199523643128211/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.25-13617-199523643128211/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503524.94-13617-264286372708397/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml', u'selevel': None, u'_original_basename': u'tmpHRniAh', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503524.94-13617-264286372708397/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpHRniAh", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.94-13617-264286372708397/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503524.94-13617-264286372708397/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503525.24-13617-226073786585336/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml', u'selevel': None, u'_original_basename': u'tmpsnOEe5', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503525.24-13617-226073786585336/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpsnOEe5", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.24-13617-226073786585336/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.24-13617-226073786585336/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503525.73-13617-177502480051602/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml', u'selevel': None, u'_original_basename': u'tmptUOSSS', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503525.73-13617-177502480051602/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmptUOSSS", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.73-13617-177502480051602/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503525.73-13617-177502480051602/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503526.24-13617-249218863871498/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml', u'selevel': None, u'_original_basename': u'tmpe2TryL', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503526.24-13617-249218863871498/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpe2TryL", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.24-13617-249218863871498/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.24-13617-249218863871498/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed_node3 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503526.65-13617-108286629472842/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'RedHat', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml', u'selevel': None, u'_original_basename': u'tmpjNFAGy', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1724503526.65-13617-108286629472842/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpjNFAGy", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.65-13617-108286629472842/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1724503526.65-13617-108286629472842/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=18 changed=4 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Saturday 24 August 2024 08:45:33 -0400 (0:00:01.476) 0:00:10.916 ******* =============================================================================== Create var file in caller that can override the one in called role ------ 2.84s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:6 Cleanup test files ------------------------------------------------------ 1.48s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:52 Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:2 Remove managed node files/directories ----------------------------------- 0.99s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.98s /tmp/collections-lSl/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.75s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.55s /tmp/collections-lSl/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.51s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.35s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.31s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.11s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed --- 0.09s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to --- 0.07s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.06s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Ensure the desired port is added to firewalld --------------------------- 0.05s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.05s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Include role ------------------------------------------------------------ 0.05s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:41 Cleanup role files ------------------------------------------------------ 0.04s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_include_vars_from_parent.yml:48 fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.04s /tmp/collections-lSl/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6