# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-custom-port-idempotentkxig8iin/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fetch_keys_deploy_set.yml ************************************** 1 plays in /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml PLAY [Test nbde_server_fetch_keys with nbde_server_deploy_keys set] ************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:16 Wednesday 14 February 2024 02:54:06 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:21 Wednesday 14 February 2024 02:54:06 +0000 (0:00:00.737) 0:00:00.748 **** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:28 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.172) 0:00:00.920 **** ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:32 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.011) 0:00:00.931 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.014) 0:00:00.946 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.013) 0:00:00.959 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.022) 0:00:00.982 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.195) 0:00:01.177 **** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.014) 0:00:01.192 **** ok: [sut] => { "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": [ "/WORKDIR/git-custom-port-idempotentkxig8iin/.collection/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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.017) 0:00:01.209 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.029) 0:00:01.238 **** ok: [sut] => { "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] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.442) 0:00:01.681 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 02:54:07 +0000 (0:00:00.015) 0:00:01.697 **** changed: [sut] => { "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.207) 0:00:01.904 **** skipping: [sut] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:01.919 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.061) 0:00:01.981 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:01.997 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.012 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.028 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.042 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.058 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.073 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.088 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.102 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.117 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.131 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.146 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.007) 0:00:02.154 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.007) 0:00:02.161 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.017) 0:00:02.179 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.007) 0:00:02.186 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.201 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.216 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.007) 0:00:02.224 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.009) 0:00:02.233 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.123) 0:00:02.357 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.008) 0:00:02.365 **** ok: [sut] => { "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.225) 0:00:02.590 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.016) 0:00:02.606 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.013) 0:00:02.620 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.016) 0:00:02.636 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.016) 0:00:02.653 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.021) 0:00:02.674 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.690 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.705 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.721 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.736 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.751 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.024) 0:00:02.775 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.022) 0:00:02.798 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.014) 0:00:02.813 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.828 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 02:54:08 +0000 (0:00:00.015) 0:00:02.844 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.014) 0:00:02.858 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.015) 0:00:02.874 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.016) 0:00:02.890 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.016) 0:00:02.906 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 02:54:00 UTC", "ActiveEnterTimestampMonotonic": "432468675", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 02:54:00 UTC", "AssertTimestampMonotonic": "432467387", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-02-14 02:54:00 UTC", "ConditionTimestampMonotonic": "432467385", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 02:54:00 UTC", "InactiveExitTimestampMonotonic": "432468675", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather common keys, from the first host in the inventory] **************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:37 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.380) 0:00:03.287 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Run with nbde_server_deploy_keys set to check the common keys] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:47 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.217) 0:00:03.504 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.024) 0:00:03.528 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.012) 0:00:03.541 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.021) 0:00:03.563 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.013) 0:00:03.576 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.013) 0:00:03.589 **** ok: [sut] => { "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": [ "/WORKDIR/git-custom-port-idempotentkxig8iin/.collection/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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.015) 0:00:03.605 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 02:54:09 +0000 (0:00:00.014) 0:00:03.620 **** ok: [sut] => { "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] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.323) 0:00:03.943 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.017) 0:00:03.960 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.132) 0:00:04.092 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.027) 0:00:04.120 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir is not defined or not nbde_server_keys_dir.startswith('/')\n", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.013) 0:00:04.134 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.129) 0:00:04.263 **** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0388162, 'inode': 348127425, 'isgid': False, 'size': 354, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'xusr': False, 'atime': 1707879248.0388162, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not (nbde_server_deploy_keys | bool)", "item": { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0448163, 'inode': 348127426, 'isgid': False, 'size': 349, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'xusr': False, 'atime': 1707879248.0448163, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not (nbde_server_deploy_keys | bool)", "item": { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.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: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.025) 0:00:04.288 **** changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0388162, 'inode': 348127425, 'isgid': False, 'size': 354, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'xusr': False, 'atime': 1707879248.0388162, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "dest": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "item": { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.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": "5eebd0a1fe233e0686193ad298a8b026", "remote_checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0448163, 'inode': 348127426, 'isgid': False, 'size': 349, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'xusr': False, 'atime': 1707879248.0448163, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "dest": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "item": { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.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": "86ae05e14373eb3553426afe84a6b036", "remote_checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Wednesday 14 February 2024 02:54:10 +0000 (0:00:00.427) 0:00:04.716 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.h5K8ksnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Wednesday 14 February 2024 02:54:11 +0000 (0:00:00.132) 0:00:04.848 **** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1707879250.6331728, "ctime": 1707879250.6271727, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707879250.8601744, "ctime": 1707879250.8371742, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Wednesday 14 February 2024 02:54:11 +0000 (0:00:00.141) 0:00:04.990 **** changed: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 62916015, 'dev': 77, 'nlink': 1, 'atime': 1707879250.6331728, 'mtime': 1707879250.6271727, 'ctime': 1707879250.6271727, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "dest": "/tmp/ansible.h5K8ksnbde_server_keys/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "gid": 994, "group": "tang", "item": { "atime": 1707879250.6331728, "ctime": 1707879250.6271727, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "5eebd0a1fe233e0686193ad298a8b026", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1707879251.1894944-3101-212311331299888/source", "state": "file", "uid": 997 } changed: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 62916016, 'dev': 77, 'nlink': 1, 'atime': 1707879250.8601744, 'mtime': 1707879250.8371742, 'ctime': 1707879250.8371742, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "dest": "/tmp/ansible.h5K8ksnbde_server_keys/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "gid": 994, "group": "tang", "item": { "atime": 1707879250.8601744, "ctime": 1707879250.8371742, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "86ae05e14373eb3553426afe84a6b036", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1707879251.6221893-3101-267890005068968/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Wednesday 14 February 2024 02:54:11 +0000 (0:00:00.806) 0:00:05.796 **** ok: [sut -> localhost] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut": "'/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.142) 0:00:05.938 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.008) 0:00:05.947 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.h5K8ksnbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.143) 0:00:06.090 **** changed: [sut] => { "changed": true, "path": "/tmp/ansible.h5K8ksnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.144) 0:00:06.235 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.042) 0:00:06.277 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.018) 0:00:06.296 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.021) 0:00:06.318 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.018) 0:00:06.336 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.026) 0:00:06.363 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.018) 0:00:06.381 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.017) 0:00:06.399 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.016) 0:00:06.415 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.016) 0:00:06.431 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.015) 0:00:06.447 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.015) 0:00:06.463 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.016) 0:00:06.480 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.008) 0:00:06.489 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.011) 0:00:06.500 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.023) 0:00:06.524 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.008) 0:00:06.533 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.031) 0:00:06.564 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.020) 0:00:06.584 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.012) 0:00:06.597 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.025) 0:00:06.622 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.139) 0:00:06.762 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 02:54:12 +0000 (0:00:00.009) 0:00:06.771 **** ok: [sut] => { "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.142) 0:00:06.913 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.018) 0:00:06.931 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.013) 0:00:06.945 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.017) 0:00:06.963 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.018) 0:00:06.981 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.030) 0:00:07.011 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.019) 0:00:07.031 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.016) 0:00:07.048 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.016) 0:00:07.065 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.017) 0:00:07.082 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.027) 0:00:07.110 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.034) 0:00:07.145 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.024) 0:00:07.170 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.016) 0:00:07.186 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.016) 0:00:07.202 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.015) 0:00:07.218 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.017) 0:00:07.235 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.017) 0:00:07.253 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.018) 0:00:07.271 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "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: /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.017) 0:00:07.289 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 02:54:00 UTC", "ActiveEnterTimestampMonotonic": "432468675", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 02:54:00 UTC", "AssertTimestampMonotonic": "432467387", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-02-14 02:54:00 UTC", "ConditionTimestampMonotonic": "432467385", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 02:54:00 UTC", "InactiveExitTimestampMonotonic": "432468675", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether the common keys were properly fetched] ********************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:56 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.214) 0:00:07.503 **** ok: [sut -> localhost] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0388162, 'inode': 348127425, 'isgid': False, 'size': 354, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'xusr': False, 'atime': 1707879248.0388162, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.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 }, "stat": { "atime": 1707879250.6331728, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "ctime": 1707879250.6271727, "dev": 77, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut -> localhost] => (item={'uid': 997, 'woth': False, 'mtime': 1707879248.0448163, 'inode': 348127426, 'isgid': False, 'size': 349, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'xusr': False, 'atime': 1707879248.0448163, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.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 }, "stat": { "atime": 1707879250.8601744, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "ctime": 1707879250.8371742, "dev": 77, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the common keys are correct] ************************************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:63 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.249) 0:00:07.753 **** ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 62916015, 'dev': 77, 'nlink': 1, 'atime': 1707879250.6331728, 'mtime': 1707879250.6271727, 'ctime': 1707879250.6271727, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'jenkins', 'gr_name': 'jenkins', 'checksum': 'ea5dd58bc497d29b592f4334dd47b40a0bd2732d', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'uid': 997, 'woth': False, 'mtime': 1707879248.0388162, 'inode': 348127425, 'isgid': False, 'size': 354, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'xusr': False, 'atime': 1707879248.0388162, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk" } }, "item": { "atime": 1707879248.0388162, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.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 }, "stat": { "atime": 1707879250.6331728, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "ctime": 1707879250.6271727, "dev": 77, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 62916016, 'dev': 77, 'nlink': 1, 'atime': 1707879250.8601744, 'mtime': 1707879250.8371742, 'ctime': 1707879250.8371742, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'jenkins', 'gr_name': 'jenkins', 'checksum': '17e785802beb7d6b85ba192a3f5c675c27b3a9d9', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'uid': 997, 'woth': False, 'mtime': 1707879248.0448163, 'inode': 348127426, 'isgid': False, 'size': 349, 'wgrp': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'xusr': False, 'atime': 1707879248.0448163, 'isdir': False, 'ctime': 1707879248.0448163, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk" } }, "item": { "atime": 1707879248.0448163, "ctime": 1707879248.0448163, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.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 }, "stat": { "atime": 1707879250.8601744, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "ctime": 1707879250.8371742, "dev": 77, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Gather local host keys to verify deploy] ********************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:68 Wednesday 14 February 2024 02:54:13 +0000 (0:00:00.043) 0:00:07.796 **** ok: [sut -> localhost] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut": "'/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [Check whether the host keys were properly deployed] ********************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:78 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.120) 0:00:07.917 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Verify the keys were deployed] ******************************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:84 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.007) 0:00:07.925 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Gather local common keys to verify deploy] ******************************* task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:89 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.026) 0:00:07.951 **** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1707879250.6331728, "ctime": 1707879250.6271727, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707879250.8601744, "ctime": 1707879250.8371742, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether the local common keys were properly deployed] ************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:99 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.160) 0:00:08.112 **** ok: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 62916015, 'dev': 77, 'nlink': 1, 'atime': 1707879250.6331728, 'mtime': 1707879250.6271727, 'ctime': 1707879250.6271727, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1707879250.6331728, "ctime": 1707879250.6271727, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "stat": { "atime": 1707879250.5678163, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "ctime": 1707879248.0448163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "version": "18446744071961690204", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 62916016, 'dev': 77, 'nlink': 1, 'atime': 1707879250.8601744, 'mtime': 1707879250.8371742, 'ctime': 1707879250.8371742, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1707879250.8601744, "ctime": 1707879250.8371742, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "stat": { "atime": 1707879250.7498162, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "ctime": 1707879248.0448163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "version": "18446744072468687441", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the common keys were deployed] ************************************ task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:105 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.275) 0:00:08.387 **** ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'follow': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 997, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1707879248.0388162, 'block_size': 4096, 'inode': 348127425, 'isgid': False, 'size': 354, 'executable': False, 'roth': False, 'isuid': False, 'readable': True, 'version': '18446744071961690204', 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'xusr': False, 'atime': 1707879250.5678163, 'mimetype': 'text/plain', 'ctime': 1707879248.0448163, 'isblk': False, 'checksum': 'ea5dd58bc497d29b592f4334dd47b40a0bd2732d', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'xgrp': False, 'islnk': False, 'attributes': []}, 'changed': False, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 62916015, 'dev': 77, 'nlink': 1, 'atime': 1707879250.6331728, 'mtime': 1707879250.6271727, 'ctime': 1707879250.6271727, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk" } }, "item": { "atime": 1707879250.6331728, "ctime": 1707879250.6271727, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916015, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.6271727, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "stat": { "atime": 1707879250.5678163, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea5dd58bc497d29b592f4334dd47b40a0bd2732d", "ctime": 1707879248.0448163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 348127425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1707879248.0388162, "nlink": 1, "path": "/var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "version": "18446744071961690204", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'follow': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 997, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1707879248.0448163, 'block_size': 4096, 'inode': 348127426, 'isgid': False, 'size': 349, 'executable': False, 'roth': False, 'isuid': False, 'readable': True, 'version': '18446744072468687441', 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'writeable': True, 'isdir': False, 'blocks': 8, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'xusr': False, 'atime': 1707879250.7498162, 'mimetype': 'text/plain', 'ctime': 1707879248.0448163, 'isblk': False, 'checksum': '17e785802beb7d6b85ba192a3f5c675c27b3a9d9', 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'xgrp': False, 'islnk': False, 'attributes': []}, 'changed': False, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 62916016, 'dev': 77, 'nlink': 1, 'atime': 1707879250.8601744, 'mtime': 1707879250.8371742, 'ctime': 1707879250.8371742, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk" } }, "item": { "atime": 1707879250.8601744, "ctime": 1707879250.8371742, "dev": 77, "gid": 1001, "gr_name": "jenkins", "inode": 62916016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707879250.8371742, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "stat": { "atime": 1707879250.7498162, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17e785802beb7d6b85ba192a3f5c675c27b3a9d9", "ctime": 1707879248.0448163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 994, "gr_name": "tang", "inode": 348127426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1707879248.0448163, "nlink": 1, "path": "/var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk", "pw_name": "tang", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "version": "18446744072468687441", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:110 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.018) 0:00:08.406 **** included: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tasks/cleanup.yml:2 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.011) 0:00:08.418 **** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tasks/cleanup.yml:9 Wednesday 14 February 2024 02:54:14 +0000 (0:00:00.130) 0:00:08.548 **** changed: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf\"\nelse\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf\"/* \"/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf\"/.* || :\nfi\n", "delta": "0:00:00.004856", "end": "2024-02-14 02:54:14.888020", "item": { "path": "/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf", "remove_dir": "true" }, "rc": 0, "start": "2024-02-14 02:54:14.883164" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_fetch_keys_deploy_setglcfc7tf changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': '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.005207", "end": "2024-02-14 02:54:15.007020", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 02:54:15.001813" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/iTwseOnHqv3LypPIoTOpJ6l3hzI.jwk /var/db/tang/l4Q0qf3lrGMb6bAb9HZJyVwicC8.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: [sut] => (item={'path': '/var/cache/tang', 'remove_dir': '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.004902", "end": "2024-02-14 02:54:15.125334", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 02:54:15.120432" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* sut : ok=44 changed=8 unreachable=0 failed=0 skipped=88 rescued=0 ignored=0 Wednesday 14 February 2024 02:54:15 +0000 (0:00:00.440) 0:00:08.989 **** =============================================================================== fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys --- 0.81s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:16 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.44s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Remove managed node files/directories ----------------------------------- 0.44s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tasks/cleanup.yml:9 --------- fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host --- 0.43s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.38s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.32s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Check whether the local common keys were properly deployed -------------- 0.28s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:99 Check whether the common keys were properly fetched --------------------- 0.25s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:56 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.23s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Gather common keys, from the first host in the inventory ---------------- 0.22s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:37 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.21s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/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.21s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.20s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Create tmpdir for server keys ------------------------------------------- 0.17s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:21 Gather local common keys to verify deploy ------------------------------- 0.16s /WORKDIR/git-custom-port-idempotentkxig8iin/tests/tests_fetch_keys_deploy_set.yml:89 fedora.linux_system_roles.nbde_server : Clean up host deployment directory --- 0.14s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang --- 0.14s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.14s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-custom-port-idempotentkxig8iin/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Skipped '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut' path due to this access issue: '/tmp/nbde_server_fetch_keys_deploy_setglcfc7tf/sut' is not a directory ---^---^---^---^---^---