Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 15:31:20 -0400 (0:00:00.022) 0:00:00.022 ********* ok: [managed_node1] TASK [Create tmpdir for server keys] ******************************************* Thursday 25 July 2024 15:31:21 -0400 (0:00:00.867) 0:00:00.889 ********* changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keysaLEhnK", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Set nbde_server_keys_dir] ************************************************ Thursday 25 July 2024 15:31:21 -0400 (0:00:00.262) 0:00:01.152 ********* ok: [managed_node1] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysaLEhnK" }, "changed": false } TASK [Ensure we have keys] ***************************************************** Thursday 25 July 2024 15:31:22 -0400 (0:00:00.043) 0:00:01.195 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** Thursday 25 July 2024 15:31:22 -0400 (0:00:00.030) 0:00:01.226 ********* 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:22 -0400 (0:00:00.036) 0:00:01.263 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* Thursday 25 July 2024 15:31:22 -0400 (0:00:00.043) 0:00:01.307 ********* 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:22 -0400 (0:00:00.445) 0:00:01.752 ********* 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:22 -0400 (0:00:00.045) 0:00:01.798 ********* 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:22 -0400 (0:00:00.058) 0:00:01.856 ********* 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:22 -0400 (0:00:00.056) 0:00:01.913 ********* 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:23 -0400 (0:00:00.752) 0:00:02.665 ********* 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:23 -0400 (0:00:00.041) 0:00:02.707 ********* 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:23 -0400 (0:00:00.432) 0:00:03.140 ********* 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:23 -0400 (0:00:00.040) 0:00:03.180 ********* 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:24 -0400 (0:00:00.053) 0:00:03.234 ********* 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:24 -0400 (0:00:00.021) 0:00:03.255 ********* 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:24 -0400 (0:00:00.341) 0:00:03.596 ********* 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:24 -0400 (0:00:00.021) 0:00:03.618 ********* 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:24 -0400 (0:00:00.464) 0:00:04.082 ********* 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:24 -0400 (0:00:00.021) 0:00:04.104 ********* 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:24 -0400 (0:00:00.025) 0:00:04.130 ********* 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:24 -0400 (0:00:00.021) 0:00:04.151 ********* 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:24 -0400 (0:00:00.021) 0:00:04.172 ********* 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 [Fetch the keys from every host] ****************************************** Thursday 25 July 2024 15:31:25 -0400 (0:00:00.635) 0:00:04.807 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** Thursday 25 July 2024 15:31:25 -0400 (0:00:00.034) 0:00:04.842 ********* 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:25 -0400 (0:00:00.030) 0:00:04.872 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* Thursday 25 July 2024 15:31:25 -0400 (0:00:00.024) 0:00:04.896 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** Thursday 25 July 2024 15:31:25 -0400 (0:00:00.024) 0:00:04.921 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** Thursday 25 July 2024 15:31:25 -0400 (0:00:00.021) 0:00:04.943 ********* 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:25 -0400 (0:00:00.040) 0:00:04.983 ********* 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:25 -0400 (0:00:00.035) 0:00:05.019 ********* 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:26 -0400 (0:00:00.619) 0:00:05.638 ********* 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:26 -0400 (0:00:00.021) 0:00:05.659 ********* ok: [managed_node1] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** Thursday 25 July 2024 15:31:26 -0400 (0:00:00.315) 0:00:05.975 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** Thursday 25 July 2024 15:31:26 -0400 (0:00:00.047) 0:00:06.022 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* Thursday 25 July 2024 15:31:26 -0400 (0:00:00.026) 0:00:06.048 ********* ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935883.8921452, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935883.885145, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** Thursday 25 July 2024 15:31:27 -0400 (0:00:00.454) 0:00:06.503 ********* changed: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.8921452, u'gr_name': u'tang', u'path': u'/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935883.8921452, u'inode': 262415, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9cfe4cd90bf10c020e84207d05ae72cae22536e7", "dest": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "item": { "atime": 1721935883.8921452, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "06b7ac39701c191250e1fb0440790282", "remote_checksum": "9cfe4cd90bf10c020e84207d05ae72cae22536e7", "remote_md5sum": null } changed: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.885145, u'gr_name': u'tang', u'path': u'/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935883.885145, u'inode': 262414, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e4f4bdca10634747726cba05040d0ac2f3068215", "dest": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "item": { "atime": 1721935883.885145, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "a2e265bfce17e9b35d6142519b9710c2", "remote_checksum": "e4f4bdca10634747726cba05040d0ac2f3068215", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.748) 0:00:07.252 ********* skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.8921452, u'gr_name': u'tang', u'path': u'/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935883.8921452, u'inode': 262415, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935883.8921452, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.885145, u'gr_name': u'tang', u'path': u'/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935883.885145, u'inode': 262414, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935883.885145, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.045) 0:00:07.297 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.023) 0:00:07.321 ********* ok: [managed_node1 -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.157) 0:00:07.478 ********* TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.024) 0:00:07.502 ********* ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935887.668238, "ctime": 1721935887.6632378, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935887.6632378, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935888.0102386, "ctime": 1721935888.0062385, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935888.0062385, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.161) 0:00:07.663 ********* skipping: [managed_node1] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935887.6632378, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935887.668238, u'inode': 268487, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935887.6632378, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935887.668238, "ctime": 1721935887.6632378, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935887.6632378, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935888.0062385, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935888.0102386, u'inode': 268489, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935888.0062385, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935888.0102386, "ctime": 1721935888.0062385, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935888.0062385, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.039) 0:00:07.703 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** Thursday 25 July 2024 15:31:28 -0400 (0:00:00.022) 0:00:07.726 ********* 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:28 -0400 (0:00:00.021) 0:00:07.747 ********* 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:28 -0400 (0:00:00.044) 0:00:07.792 ********* 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:28 -0400 (0:00:00.022) 0:00:07.814 ********* 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:28 -0400 (0:00:00.304) 0:00:08.119 ********* 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:28 -0400 (0:00:00.021) 0:00:08.140 ********* 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:29 -0400 (0:00:00.325) 0:00:08.466 ********* 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:29 -0400 (0:00:00.021) 0:00:08.488 ********* 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:29 -0400 (0:00:00.027) 0:00:08.515 ********* 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:29 -0400 (0:00:00.021) 0:00:08.537 ********* 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:29 -0400 (0:00:00.021) 0:00:08.558 ********* 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 [Gather keys before redeploy] ********************************************* Thursday 25 July 2024 15:31:29 -0400 (0:00:00.404) 0:00:08.963 ********* ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935887.6052265, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935887.9502342, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ Thursday 25 July 2024 15:31:30 -0400 (0:00:00.316) 0:00:09.280 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** Thursday 25 July 2024 15:31:30 -0400 (0:00:00.036) 0:00:09.316 ********* 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:30 -0400 (0:00:00.031) 0:00:09.347 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* Thursday 25 July 2024 15:31:30 -0400 (0:00:00.024) 0:00:09.371 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** Thursday 25 July 2024 15:31:30 -0400 (0:00:00.020) 0:00:09.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** Thursday 25 July 2024 15:31:30 -0400 (0:00:00.027) 0:00:09.419 ********* 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:30 -0400 (0:00:00.038) 0:00:09.457 ********* 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:30 -0400 (0:00:00.036) 0:00:09.494 ********* 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:30 -0400 (0:00:00.682) 0:00:10.176 ********* 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:31 -0400 (0:00:00.023) 0:00:10.200 ********* ok: [managed_node1] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** Thursday 25 July 2024 15:31:31 -0400 (0:00:00.319) 0:00:10.519 ********* included: /var/ARTIFACTS/work-generalgyj4pjdo/plans/general/tree/tmp.hDM9NGFo9m/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** Thursday 25 July 2024 15:31:31 -0400 (0:00:00.045) 0:00:10.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* Thursday 25 July 2024 15:31:31 -0400 (0:00:00.023) 0:00:10.588 ********* ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935887.6052265, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935887.9502342, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** Thursday 25 July 2024 15:31:31 -0400 (0:00:00.316) 0:00:10.904 ********* skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.8921452, u'gr_name': u'tang', u'path': u'/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935887.6052265, u'inode': 262415, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935887.6052265, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.885145, u'gr_name': u'tang', u'path': u'/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935887.9502342, u'inode': 262414, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935887.9502342, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** Thursday 25 July 2024 15:31:31 -0400 (0:00:00.042) 0:00:10.946 ********* skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.8921452, u'gr_name': u'tang', u'path': u'/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935887.6052265, u'inode': 262415, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935887.6052265, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'rusr': True, u'uid': 997, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935883.885145, u'gr_name': u'tang', u'path': u'/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935887.9502342, u'inode': 262414, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935883.8921452, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0400', u'pw_name': u'tang', u'gid': 994, u'ischr': False, u'wusr': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721935887.9502342, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** Thursday 25 July 2024 15:31:31 -0400 (0:00:00.042) 0:00:10.989 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.ysVKIdnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** Thursday 25 July 2024 15:31:32 -0400 (0:00:00.308) 0:00:11.298 ********* ok: [managed_node1 -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** Thursday 25 July 2024 15:31:32 -0400 (0:00:00.159) 0:00:11.458 ********* TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** Thursday 25 July 2024 15:31:32 -0400 (0:00:00.022) 0:00:11.480 ********* ok: [managed_node1 -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935887.668238, "ctime": 1721935887.6632378, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935887.6632378, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935888.0102386, "ctime": 1721935888.0062385, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935888.0062385, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** Thursday 25 July 2024 15:31:32 -0400 (0:00:00.163) 0:00:11.644 ********* changed: [managed_node1] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935887.6632378, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk', u'xusr': False, u'atime': 1721935887.668238, u'inode': 268487, u'isgid': False, u'size': 349, u'isdir': False, u'ctime': 1721935887.6632378, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9cfe4cd90bf10c020e84207d05ae72cae22536e7", "dest": "/tmp/ansible.ysVKIdnbde_server_keys/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "gid": 994, "group": "tang", "item": { "atime": 1721935887.668238, "ctime": 1721935887.6632378, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268487, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935887.6632378, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "06b7ac39701c191250e1fb0440790282", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1721935892.51-13777-87362999360080/source", "state": "file", "uid": 997 } changed: [managed_node1] => (item={u'rusr': True, u'uid': 0, u'rgrp': False, u'xoth': False, u'islnk': False, u'woth': False, u'nlink': 1, u'issock': False, u'mtime': 1721935888.0062385, u'gr_name': u'root', u'path': u'/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk', u'xusr': False, u'atime': 1721935888.0102386, u'inode': 268489, u'isgid': False, u'size': 354, u'isdir': False, u'ctime': 1721935888.0062385, u'isblk': False, u'wgrp': False, u'xgrp': False, u'isuid': False, u'dev': 51713, u'roth': False, u'isreg': True, u'isfifo': False, u'mode': u'0600', u'pw_name': u'root', u'gid': 0, u'ischr': False, u'wusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e4f4bdca10634747726cba05040d0ac2f3068215", "dest": "/tmp/ansible.ysVKIdnbde_server_keys/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "gid": 994, "group": "tang", "item": { "atime": 1721935888.0102386, "ctime": 1721935888.0062385, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 268489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721935888.0062385, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysaLEhnK/managed_node1/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "a2e265bfce17e9b35d6142519b9710c2", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1721935893.23-13777-216401128209817/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** Thursday 25 July 2024 15:31:33 -0400 (0:00:01.372) 0:00:13.016 ********* ok: [managed_node1] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.ysVKIdnbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** Thursday 25 July 2024 15:31:34 -0400 (0:00:00.309) 0:00:13.326 ********* changed: [managed_node1] => { "changed": true, "path": "/tmp/ansible.ysVKIdnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** Thursday 25 July 2024 15:31:34 -0400 (0:00:00.315) 0:00:13.642 ********* 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:34 -0400 (0:00:00.043) 0:00:13.685 ********* 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:34 -0400 (0:00:00.022) 0:00:13.708 ********* 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:34 -0400 (0:00:00.305) 0:00:14.013 ********* 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:34 -0400 (0:00:00.022) 0:00:14.036 ********* 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:35 -0400 (0:00:00.315) 0:00:14.351 ********* 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:35 -0400 (0:00:00.022) 0:00:14.374 ********* 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:35 -0400 (0:00:00.028) 0:00:14.403 ********* 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:35 -0400 (0:00:00.021) 0:00:14.425 ********* 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:35 -0400 (0:00:00.026) 0:00:14.451 ********* 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 [Gather keys after redeploy] ********************************************** Thursday 25 July 2024 15:31:35 -0400 (0:00:00.468) 0:00:14.919 ********* ok: [managed_node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1721935887.6052265, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.8921452, "nlink": 1, "path": "/var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721935887.9502342, "ctime": 1721935883.8921452, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 262414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721935883.885145, "nlink": 1, "path": "/var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** Thursday 25 July 2024 15:31:36 -0400 (0:00:00.313) 0:00:15.233 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 15:31:36 -0400 (0:00:00.027) 0:00:15.260 ********* 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:36 -0400 (0:00:00.033) 0:00:15.294 ********* changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysaLEhnK", "state": "absent" } TASK [Remove managed node files/directories] *********************************** Thursday 25 July 2024 15:31:36 -0400 (0:00:00.167) 0:00:15.461 ********* changed: [managed_node1] => (item={u'path': u'/tmp/nbde_server_deploy_keysaLEhnK', u'remove_dir': u'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysaLEhnK\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysaLEhnK\"/* \"/tmp/nbde_server_deploy_keysaLEhnK\"/.* || :\nfi\n", "delta": "0:00:00.004452", "end": "2024-07-25 15:31:36.666882", "item": { "path": "/tmp/nbde_server_deploy_keysaLEhnK", "remove_dir": "true" }, "rc": 0, "start": "2024-07-25 15:31:36.662430" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysaLEhnK 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.004740", "end": "2024-07-25 15:31:36.961036", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 15:31:36.956296" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/jROwpywsuvCIiL-_awDOMqet5dg.jwk /var/db/tang/kC8dDZFJx-XFcISC4JAS7KqpHsk.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.004351", "end": "2024-07-25 15:31:37.258155", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 15:31:37.253804" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* managed_node1 : ok=54 changed=8 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Thursday 25 July 2024 15:31:37 -0400 (0:00:01.043) 0:00:16.505 ********* =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 1.37s Remove managed node files/directories ----------------------------------- 1.04s Gathering Facts --------------------------------------------------------- 0.87s fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.75s fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 0.75s fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.68s fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.64s fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.62s fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.47s fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.46s fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.45s fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.45s fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.43s fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.40s fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.34s fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.33s fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.32s fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.32s Gather keys before redeploy --------------------------------------------- 0.32s fedora.linux_system_roles.nbde_server : Clean up host deployment directory --- 0.32s