# 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-cleanupbuojkp6i/.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_not_set.yml ********************************** 1 plays in /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml PLAY [Test nbde_server_fetch_keys with nbde_server_deploy_keys not set] ******** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:11 Friday 05 January 2024 23:12:52 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:16 Friday 05 January 2024 23:12:53 +0000 (0:00:00.696) 0:00:00.707 ******** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:23 Friday 05 January 2024 23:12:53 +0000 (0:00:00.170) 0:00:00.878 ******** ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:27 Friday 05 January 2024 23:12:53 +0000 (0:00:00.010) 0:00:00.888 ******** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Friday 05 January 2024 23:12:53 +0000 (0:00:00.015) 0:00:00.903 ******** included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 23:12:53 +0000 (0:00:00.012) 0:00:00.916 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Friday 05 January 2024 23:12:53 +0000 (0:00:00.018) 0:00:00.934 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Friday 05 January 2024 23:12:53 +0000 (0:00:00.192) 0:00:01.127 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Friday 05 January 2024 23:12:53 +0000 (0:00:00.014) 0:00:01.142 ******** 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-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Friday 05 January 2024 23:12:53 +0000 (0:00:00.015) 0:00:01.157 ******** included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 23:12:53 +0000 (0:00:00.014) 0:00:01.172 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Friday 05 January 2024 23:12:54 +0000 (0:00:00.456) 0:00:01.629 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:01.644 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Friday 05 January 2024 23:12:54 +0000 (0:00:00.214) 0:00:01.858 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Friday 05 January 2024 23:12:54 +0000 (0:00:00.017) 0:00:01.876 ******** 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 redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 23:12:54 +0000 (0:00:00.061) 0:00:01.938 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 23:12:54 +0000 (0:00:00.018) 0:00:01.957 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:01.973 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:01.988 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:02.003 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 23:12:54 +0000 (0:00:00.016) 0:00:02.019 ******** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:02.035 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 23:12:54 +0000 (0:00:00.016) 0:00:02.051 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 23:12:54 +0000 (0:00:00.015) 0:00:02.067 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 23:12:54 +0000 (0:00:00.020) 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 login local modifications] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 23:12:54 +0000 (0:00:00.020) 0:00:02.109 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 23:12:54 +0000 (0:00:00.014) 0:00:02.123 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 23:12:54 +0000 (0:00:00.007) 0:00:02.131 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 23:12:54 +0000 (0:00:00.007) 0:00:02.139 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 23:12:54 +0000 (0:00:00.017) 0:00:02.156 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 23:12:54 +0000 (0:00:00.007) 0:00:02.164 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 23:12:54 +0000 (0:00:00.019) 0:00:02.183 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 23:12:55 +0000 (0:00:00.020) 0:00:02.204 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 23:12:55 +0000 (0:00:00.008) 0:00:02.213 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 23:12:55 +0000 (0:00:00.010) 0:00:02.224 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Friday 05 January 2024 23:12:55 +0000 (0:00:00.237) 0:00:02.462 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Friday 05 January 2024 23:12:55 +0000 (0:00:00.018) 0:00:02.481 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 23:12:55 +0000 (0:00:00.013) 0:00:02.495 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.510 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.525 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 23:12:55 +0000 (0:00:00.018) 0:00:02.544 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 23:12:55 +0000 (0:00:00.014) 0:00:02.558 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.574 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 23:12:55 +0000 (0:00:00.016) 0:00:02.591 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 23:12:55 +0000 (0:00:00.017) 0:00:02.608 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.623 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 23:12:55 +0000 (0:00:00.023) 0:00:02.647 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 23:12:55 +0000 (0:00:00.024) 0:00:02.671 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 23:12:55 +0000 (0:00:00.016) 0:00:02.687 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.702 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.718 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.733 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 23:12:55 +0000 (0:00:00.015) 0:00:02.749 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Friday 05 January 2024 23:12:55 +0000 (0:00:00.016) 0:00:02.765 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Friday 05 January 2024 23:12:55 +0000 (0:00:00.016) 0:00:02.782 ******** 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": "Fri 2024-01-05 23:12:42 UTC", "ActiveEnterTimestampMonotonic": "409629297", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:42 UTC", "AssertTimestampMonotonic": "409626443", "Backlog": "128", "Before": "shutdown.target multi-user.target sockets.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 23:12:42 UTC", "ConditionTimestampMonotonic": "409626441", "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": "Fri 2024-01-05 23:12:42 UTC", "InactiveExitTimestampMonotonic": "409629297", "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 keys] ************************************************************* task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:32 Friday 05 January 2024 23:12:56 +0000 (0:00:00.417) 0:00:03.200 ******** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1704496374.6336033, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6336033, "nlink": 1, "path": "/var/db/tang/pBR1wB07eUfWLdtfKtivaXHsIsE.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": 1704496374.6396036, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6396036, "nlink": 1, "path": "/var/db/tang/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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 not set to check the keys] ************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:41 Friday 05 January 2024 23:12:56 +0000 (0:00:00.217) 0:00:03.417 ******** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Friday 05 January 2024 23:12:56 +0000 (0:00:00.014) 0:00:03.432 ******** included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 23:12:56 +0000 (0:00:00.013) 0:00:03.445 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Friday 05 January 2024 23:12:56 +0000 (0:00:00.019) 0:00:03.465 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Friday 05 January 2024 23:12:56 +0000 (0:00:00.018) 0:00:03.483 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Friday 05 January 2024 23:12:56 +0000 (0:00:00.013) 0:00:03.497 ******** 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-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Friday 05 January 2024 23:12:56 +0000 (0:00:00.024) 0:00:03.521 ******** included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 23:12:56 +0000 (0:00:00.018) 0:00:03.540 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Friday 05 January 2024 23:12:56 +0000 (0:00:00.353) 0:00:03.893 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Friday 05 January 2024 23:12:56 +0000 (0:00:00.015) 0:00:03.908 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Friday 05 January 2024 23:12:56 +0000 (0:00:00.142) 0:00:04.051 ******** included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Friday 05 January 2024 23:12:56 +0000 (0:00:00.032) 0:00:04.083 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Friday 05 January 2024 23:12:56 +0000 (0:00:00.012) 0:00:04.096 ******** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1704496374.6336033, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6336033, "nlink": 1, "path": "/var/db/tang/pBR1wB07eUfWLdtfKtivaXHsIsE.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": 1704496374.6396036, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6396036, "nlink": 1, "path": "/var/db/tang/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Friday 05 January 2024 23:12:57 +0000 (0:00:00.139) 0:00:04.235 ******** changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1704496374.6336033, 'inode': 385876034, '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/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'xusr': False, 'atime': 1704496374.6336033, 'isdir': False, 'ctime': 1704496374.6406035, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8f0aaab58cc72f1e483d56a5dc9d5a2ceae0b437", "dest": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk", "item": { "atime": 1704496374.6336033, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6336033, "nlink": 1, "path": "/var/db/tang/pBR1wB07eUfWLdtfKtivaXHsIsE.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": "bd5d90034994175c719e860dca050a4d", "remote_checksum": "8f0aaab58cc72f1e483d56a5dc9d5a2ceae0b437", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1704496374.6396036, 'inode': 385876035, '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/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'xusr': False, 'atime': 1704496374.6396036, 'isdir': False, 'ctime': 1704496374.6406035, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5362964565b355a7265a830a8c91d4255dad5dc1", "dest": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk", "item": { "atime": 1704496374.6396036, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6396036, "nlink": 1, "path": "/var/db/tang/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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": "da4deb780ad91d40d827609d5bd59b15", "remote_checksum": "5362964565b355a7265a830a8c91d4255dad5dc1", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Friday 05 January 2024 23:12:57 +0000 (0:00:00.382) 0:00:04.617 ******** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1704496374.6336033, 'inode': 385876034, '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/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'xusr': False, 'atime': 1704496374.6336033, 'isdir': False, 'ctime': 1704496374.6406035, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_deploy_keys | bool", "item": { "atime": 1704496374.6336033, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6336033, "nlink": 1, "path": "/var/db/tang/pBR1wB07eUfWLdtfKtivaXHsIsE.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': 1704496374.6396036, 'inode': 385876035, '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/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'xusr': False, 'atime': 1704496374.6396036, 'isdir': False, 'ctime': 1704496374.6406035, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_deploy_keys | bool", "item": { "atime": 1704496374.6396036, "ctime": 1704496374.6406035, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 385876035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704496374.6396036, "nlink": 1, "path": "/var/db/tang/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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 : Prepare deployment directory - create] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Friday 05 January 2024 23:12:57 +0000 (0:00:00.021) 0:00:04.639 ******** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_deploy_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Friday 05 January 2024 23:12:57 +0000 (0:00:00.015) 0:00:04.654 ******** ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Friday 05 January 2024 23:12:57 +0000 (0:00:00.123) 0:00:04.778 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Gather host keys to be deployed] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Friday 05 January 2024 23:12:57 +0000 (0:00:00.007) 0:00:04.786 ******** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1704496377.2413623, "ctime": 1704496377.2373621, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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": 1704496377.4143636, "ctime": 1704496377.4113636, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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 - host keys] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Friday 05 January 2024 23:12:57 +0000 (0:00:00.123) 0:00:04.909 ******** skipping: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 188775201, 'dev': 47, 'nlink': 1, 'atime': 1704496377.2413623, 'mtime': 1704496377.2373621, 'ctime': 1704496377.2373621, '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, "false_condition": "nbde_server_deploy_keys | bool", "item": { "atime": 1704496377.2413623, "ctime": 1704496377.2373621, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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 }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 188775202, 'dev': 47, 'nlink': 1, 'atime': 1704496377.4143636, 'mtime': 1704496377.4113636, 'ctime': 1704496377.4113636, '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, "false_condition": "nbde_server_deploy_keys | bool", "item": { "atime": 1704496377.4143636, "ctime": 1704496377.4113636, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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 }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Friday 05 January 2024 23:12:57 +0000 (0:00:00.023) 0:00:04.933 ******** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_deploy_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Friday 05 January 2024 23:12:57 +0000 (0:00:00.016) 0:00:04.950 ******** skipping: [sut] => { "changed": false, "false_condition": "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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Friday 05 January 2024 23:12:57 +0000 (0:00:00.017) 0:00:04.967 ******** 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 redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/git-cleanupbuojkp6i/.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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 23:12:57 +0000 (0:00:00.038) 0:00:05.006 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 23:12:57 +0000 (0:00:00.017) 0:00:05.024 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 23:12:57 +0000 (0:00:00.038) 0:00:05.062 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 23:12:57 +0000 (0:00:00.019) 0:00:05.082 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 23:12:57 +0000 (0:00:00.016) 0:00:05.099 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 23:12:57 +0000 (0:00:00.016) 0:00:05.115 ******** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 23:12:57 +0000 (0:00:00.024) 0:00:05.140 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 23:12:57 +0000 (0:00:00.021) 0:00:05.162 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 23:12:57 +0000 (0:00:00.016) 0:00:05.179 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 23:12:57 +0000 (0:00:00.016) 0:00:05.195 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 23:12:58 +0000 (0:00:00.016) 0:00:05.212 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.227 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 23:12:58 +0000 (0:00:00.009) 0:00:05.237 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 23:12:58 +0000 (0:00:00.009) 0:00:05.246 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 23:12:58 +0000 (0:00:00.017) 0:00:05.264 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 23:12:58 +0000 (0:00:00.008) 0:00:05.272 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 23:12:58 +0000 (0:00:00.018) 0:00:05.291 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 23:12:58 +0000 (0:00:00.027) 0:00:05.318 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 23:12:58 +0000 (0:00:00.011) 0:00:05.330 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 23:12:58 +0000 (0:00:00.010) 0:00:05.340 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Friday 05 January 2024 23:12:58 +0000 (0:00:00.147) 0:00:05.487 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Friday 05 January 2024 23:12:58 +0000 (0:00:00.016) 0:00:05.504 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.519 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 23:12:58 +0000 (0:00:00.017) 0:00:05.537 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 23:12:58 +0000 (0:00:00.019) 0:00:05.556 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 23:12:58 +0000 (0:00:00.034) 0:00:05.591 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 23:12:58 +0000 (0:00:00.034) 0:00:05.625 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 23:12:58 +0000 (0:00:00.021) 0:00:05.646 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 23:12:58 +0000 (0:00:00.016) 0:00:05.663 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 23:12:58 +0000 (0:00:00.017) 0:00:05.680 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 23:12:58 +0000 (0:00:00.016) 0:00:05.696 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 23:12:58 +0000 (0:00:00.023) 0:00:05.720 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 23:12:58 +0000 (0:00:00.023) 0:00:05.743 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.759 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.774 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.790 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.805 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 23:12:58 +0000 (0:00:00.015) 0:00:05.821 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Friday 05 January 2024 23:12:58 +0000 (0:00:00.017) 0:00:05.838 ******** 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-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Friday 05 January 2024 23:12:58 +0000 (0:00:00.019) 0:00:05.857 ******** 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": "Fri 2024-01-05 23:12:42 UTC", "ActiveEnterTimestampMonotonic": "409629297", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:42 UTC", "AssertTimestampMonotonic": "409626443", "Backlog": "128", "Before": "shutdown.target multi-user.target sockets.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-05 23:12:42 UTC", "ConditionTimestampMonotonic": "409626441", "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": "Fri 2024-01-05 23:12:42 UTC", "InactiveExitTimestampMonotonic": "409629297", "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 keys were properly fetched] **************************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:50 Friday 05 January 2024 23:12:58 +0000 (0:00:00.228) 0:00:06.086 ******** ok: [sut -> localhost] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 188775201, 'dev': 47, 'nlink': 1, 'atime': 1704496377.2413623, 'mtime': 1704496377.2373621, 'ctime': 1704496377.2373621, '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": 1704496377.2413623, "ctime": 1704496377.2373621, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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": 1704496377.2413623, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8f0aaab58cc72f1e483d56a5dc9d5a2ceae0b437", "ctime": 1704496377.2373621, "dev": 47, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 188775202, 'dev': 47, 'nlink': 1, 'atime': 1704496377.4143636, 'mtime': 1704496377.4113636, 'ctime': 1704496377.4113636, '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": 1704496377.4143636, "ctime": 1704496377.4113636, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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": 1704496377.4143636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5362964565b355a7265a830a8c91d4255dad5dc1", "ctime": 1704496377.4113636, "dev": 47, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:57 Friday 05 January 2024 23:12:59 +0000 (0:00:00.239) 0:00:06.325 ******** ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 188775201, 'dev': 47, 'nlink': 1, 'atime': 1704496377.2413623, 'mtime': 1704496377.2373621, 'ctime': 1704496377.2373621, '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': '8f0aaab58cc72f1e483d56a5dc9d5a2ceae0b437', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 188775201, 'dev': 47, 'nlink': 1, 'atime': 1704496377.2413623, 'mtime': 1704496377.2373621, 'ctime': 1704496377.2373621, '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": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk" } }, "item": { "atime": 1704496377.2413623, "ctime": 1704496377.2373621, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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": 1704496377.2413623, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8f0aaab58cc72f1e483d56a5dc9d5a2ceae0b437", "ctime": 1704496377.2373621, "dev": 47, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 188775201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1704496377.2373621, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/pBR1wB07eUfWLdtfKtivaXHsIsE.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_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 188775202, 'dev': 47, 'nlink': 1, 'atime': 1704496377.4143636, 'mtime': 1704496377.4113636, 'ctime': 1704496377.4113636, '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': '5362964565b355a7265a830a8c91d4255dad5dc1', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'follow': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 188775202, 'dev': 47, 'nlink': 1, 'atime': 1704496377.4143636, 'mtime': 1704496377.4113636, 'ctime': 1704496377.4113636, '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": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.jwk" } }, "item": { "atime": 1704496377.4143636, "ctime": 1704496377.4113636, "dev": 47, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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": 1704496377.4143636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5362964565b355a7265a830a8c91d4255dad5dc1", "ctime": 1704496377.4113636, "dev": 47, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 188775202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1704496377.4113636, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw/sut/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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 [Cleanup] ***************************************************************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:62 Friday 05 January 2024 23:12:59 +0000 (0:00:00.019) 0:00:06.344 ******** included: /WORKDIR/git-cleanupbuojkp6i/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tasks/cleanup.yml:2 Friday 05 January 2024 23:12:59 +0000 (0:00:00.011) 0:00:06.356 ******** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-cleanupbuojkp6i/tests/tasks/cleanup.yml:9 Friday 05 January 2024 23:12:59 +0000 (0:00:00.128) 0:00:06.485 ******** changed: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw', '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_not_set8g_gazhw\"\nelse\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw\"/* \"/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw\"/.* || :\nfi\n", "delta": "0:00:00.005492", "end": "2024-01-05 23:12:59.491507", "item": { "path": "/tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw", "remove_dir": "true" }, "rc": 0, "start": "2024-01-05 23:12:59.486015" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_fetch_keys_deploy_not_set8g_gazhw 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.005739", "end": "2024-01-05 23:12:59.620006", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 23:12:59.614267" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/pBR1wB07eUfWLdtfKtivaXHsIsE.jwk /var/db/tang/soHOtaTIVZ1TsjSaaT0XgQaw0Fg.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.005503", "end": "2024-01-05 23:12:59.745938", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 23:12:59.740435" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* sut : ok=34 changed=5 unreachable=0 failed=0 skipped=88 rescued=0 ignored=0 Friday 05 January 2024 23:12:59 +0000 (0:00:00.484) 0:00:06.969 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:11 ----- Remove managed node files/directories ----------------------------------- 0.48s /WORKDIR/git-cleanupbuojkp6i/tests/tasks/cleanup.yml:9 ------------------------ fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.46s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.42s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 0.38s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.35s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Check whether the keys were properly fetched ---------------------------- 0.24s /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:50 ----- fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.24s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.23s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Gather keys ------------------------------------------------------------- 0.22s /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:32 ----- fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.21s /WORKDIR/git-cleanupbuojkp6i/.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.19s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Create tmpdir for server keys ------------------------------------------- 0.17s /WORKDIR/git-cleanupbuojkp6i/tests/tests_fetch_keys_deploy_not_set.yml:16 ----- fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.15s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.14s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.14s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Remove control node files/directories ----------------------------------- 0.13s /WORKDIR/git-cleanupbuojkp6i/tests/tasks/cleanup.yml:2 ------------------------ fedora.linux_system_roles.nbde_server : Gather host keys to be deployed --- 0.12s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 fedora.linux_system_roles.nbde_server : Gather common keys to be deployed --- 0.12s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /WORKDIR/git-cleanupbuojkp6i/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---