# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-custom-port-idempotent6ltb81_c/.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_deploy_keys.yml ************************************************ 1 plays in /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:7 Wednesday 14 February 2024 01:53:15 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:12 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.972) 0:00:00.984 **** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysx6uwy6rx", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:19 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.182) 0:00:01.167 **** ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysx6uwy6rx" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:23 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.014) 0:00:01.181 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.017) 0:00:01.199 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.013) 0:00:01.213 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.019) 0:00:01.232 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.191) 0:00:01.424 **** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 01:53:16 +0000 (0:00:00.020) 0:00:01.444 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 01:53:17 +0000 (0:00:00.026) 0:00:01.471 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 01:53:17 +0000 (0:00:00.020) 0:00:01.491 **** changed: [sut] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 base 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 base 29 k\n jose x86_64 10-1.el7 base 47 k\n libjose x86_64 10-1.el7 base 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 584 kB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 01:53:21 +0000 (0:00:04.929) 0:00:06.420 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 01:53:21 +0000 (0:00:00.019) 0:00:06.439 **** changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.225) 0:00:06.665 **** skipping: [sut] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.017) 0:00:06.682 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.068) 0:00:06.750 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.019) 0:00:06.770 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.022) 0:00:06.792 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.021) 0:00:06.814 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.018) 0:00:06.832 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.019) 0:00:06.851 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.017) 0:00:06.869 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.017) 0:00:06.886 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.017) 0:00:06.903 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.019) 0:00:06.923 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.017) 0:00:06.940 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.016) 0:00:06.956 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.008) 0:00:06.965 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.014) 0:00:06.979 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.020) 0:00:06.999 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.008) 0:00:07.008 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.016) 0:00:07.024 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.018) 0:00:07.043 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.009) 0:00:07.052 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.010) 0:00:07.062 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.124) 0:00:07.187 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.009) 0:00:07.196 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 01:53:22 +0000 (0:00:00.248) 0:00:07.445 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.464 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.014) 0:00:07.478 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.497 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.017) 0:00:07.514 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.021) 0:00:07.536 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.019) 0:00:07.555 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.573 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.019) 0:00:07.593 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.016) 0:00:07.609 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.017) 0:00:07.627 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.026) 0:00:07.654 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.026) 0:00:07.680 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.699 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.717 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.019) 0:00:07.737 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.017) 0:00:07.754 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.016) 0:00:07.770 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:07.789 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.017) 0:00:07.807 **** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "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", "InactiveExitTimestampMonotonic": "0", "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": "dead", "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", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } TASK [Fetch the keys from every host] ****************************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:27 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.473) 0:00:08.280 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.015) 0:00:08.295 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.018) 0:00:08.314 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.022) 0:00:08.337 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.019) 0:00:08.356 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.016) 0:00:08.373 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.020) 0:00:08.394 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 01:53:23 +0000 (0:00:00.035) 0:00:08.429 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.322) 0:00:08.751 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.018) 0:00:08.770 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.137) 0:00:08.907 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.029) 0:00:08.936 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir is not defined or not nbde_server_keys_dir.startswith('/')\n", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.013) 0:00:08.950 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875602.195615, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707875602.1886153, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Wednesday 14 February 2024 01:53:24 +0000 (0:00:00.226) 0:00:09.177 **** changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.195615, 'inode': 263399, '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/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'xusr': False, 'atime': 1707875602.195615, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a67c28dce7bf856ea6c2826d70bc1c1811114b4e", "dest": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "item": { "atime": 1707875602.195615, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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": "20233f1eceba27f3205752139610a5dc", "remote_checksum": "a67c28dce7bf856ea6c2826d70bc1c1811114b4e", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.1886153, 'inode': 263398, '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/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'xusr': False, 'atime': 1707875602.1886153, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8b1e1089998028b5e5a34cd58fe2211f45a20d6e", "dest": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "item": { "atime": 1707875602.1886153, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.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": "a7e7872ce940a1f6bd7ff1b5bc00bd06", "remote_checksum": "8b1e1089998028b5e5a34cd58fe2211f45a20d6e", "remote_md5sum": null } TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.358) 0:00:09.535 **** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.195615, 'inode': 263399, '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/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'xusr': False, 'atime': 1707875602.195615, 'isdir': False, 'ctime': 1707875602.195615, '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": 1707875602.195615, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.1886153, 'inode': 263398, '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/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'xusr': False, 'atime': 1707875602.1886153, 'isdir': False, 'ctime': 1707875602.195615, '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": 1707875602.1886153, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.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] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.025) 0:00:09.560 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:09.577 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.125) 0:00:09.702 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.009) 0:00:09.712 **** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875604.909733, "ctime": 1707875604.904733, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875604.904733, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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 }, { "atime": 1707875605.0757346, "ctime": 1707875605.0707345, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514225, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875605.0707345, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.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 } ], "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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.124) 0:00:09.837 **** skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 75514224, 'dev': 58, 'nlink': 1, 'atime': 1707875604.909733, 'mtime': 1707875604.904733, 'ctime': 1707875604.904733, '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": 1707875604.909733, "ctime": 1707875604.904733, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875604.904733, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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] => (item={'path': '/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 75514225, 'dev': 58, 'nlink': 1, 'atime': 1707875605.0757346, 'mtime': 1707875605.0707345, 'ctime': 1707875605.0707345, '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": 1707875605.0757346, "ctime": 1707875605.0707345, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514225, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875605.0707345, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.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] => { "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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.021) 0:00:09.858 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.016) 0:00:09.874 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:09.892 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.040) 0:00:09.933 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.018) 0:00:09.951 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:09.968 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:09.986 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:10.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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.019) 0:00:10.022 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.020) 0:00:10.043 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.018) 0:00:10.062 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:10.079 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:10.096 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.016) 0:00:10.113 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.017) 0:00:10.130 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.008) 0:00:10.139 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.008) 0:00:10.148 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.019) 0:00:10.167 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.009) 0:00:10.176 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.019) 0:00:10.196 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.019) 0:00:10.215 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.012) 0:00:10.227 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.011) 0:00:10.239 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.128) 0:00:10.368 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 01:53:25 +0000 (0:00:00.020) 0:00:10.388 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.175) 0:00:10.563 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.019) 0:00:10.583 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.015) 0:00:10.599 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.617 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.635 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.024) 0:00:10.660 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.677 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.695 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.713 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.730 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.747 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.026) 0:00:10.774 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.025) 0:00:10.800 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.817 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.836 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.853 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.871 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.017) 0:00:10.888 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.906 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:10.925 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 01:53:23 UTC", "ActiveEnterTimestampMonotonic": "1220836515", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 01:53:23 UTC", "AssertTimestampMonotonic": "1220834931", "Backlog": "128", "Before": "tangd@0.service sockets.target shutdown.target multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-02-14 01:53:23 UTC", "ConditionTimestampMonotonic": "1220834929", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 01:53:23 UTC", "InactiveExitTimestampMonotonic": "1220836515", "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 before redeploy] ********************************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:35 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.213) 0:00:11.138 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875604.846544, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707875605.0195394, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Redeploy these same keys] ************************************************ task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:44 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.127) 0:00:11.266 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:11.285 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.013) 0:00:11.298 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.025) 0:00:11.324 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.025) 0:00:11.350 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.018) 0:00:11.369 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 01:53:26 +0000 (0:00:00.047) 0:00:11.417 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.041) 0:00:11.459 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.310) 0:00:11.770 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.016) 0:00:11.787 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.132) 0:00:11.919 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.027) 0:00:11.947 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir is not defined or not nbde_server_keys_dir.startswith('/')\n", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Gather keys to be fetched] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.014) 0:00:11.961 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875604.846544, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707875605.0195394, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:28 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.131) 0:00:12.093 **** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.195615, 'inode': 263399, '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/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'xusr': False, 'atime': 1707875604.846544, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_fetch_keys | bool", "item": { "atime": 1707875604.846544, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.1886153, 'inode': 263398, '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/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'xusr': False, 'atime': 1707875605.0195394, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_fetch_keys | bool", "item": { "atime": 1707875605.0195394, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.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] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:41 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.024) 0:00:12.117 **** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.195615, 'inode': 263399, '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/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'xusr': False, 'atime': 1707875604.846544, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_fetch_keys | bool", "item": { "atime": 1707875604.846544, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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] => (item={'uid': 997, 'woth': False, 'mtime': 1707875602.1886153, 'inode': 263398, '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/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'xusr': False, 'atime': 1707875605.0195394, 'isdir': False, 'ctime': 1707875602.195615, 'isblk': False, 'xgrp': False, 'dev': 51713, 'roth': False, 'isfifo': False, 'mode': '0400', 'rusr': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_fetch_keys | bool", "item": { "atime": 1707875605.0195394, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.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] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:64 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.022) 0:00:12.140 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible._JwvsJnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_server : Gather common keys to be deployed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:73 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.136) 0:00:12.276 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:82 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.141) 0:00:12.418 **** 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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:96 Wednesday 14 February 2024 01:53:27 +0000 (0:00:00.008) 0:00:12.426 **** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875604.909733, "ctime": 1707875604.904733, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875604.904733, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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 }, { "atime": 1707875605.0757346, "ctime": 1707875605.0707345, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514225, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875605.0707345, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.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 } ], "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-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 Wednesday 14 February 2024 01:53:28 +0000 (0:00:00.125) 0:00:12.552 **** changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 75514224, 'dev': 58, 'nlink': 1, 'atime': 1707875604.909733, 'mtime': 1707875604.904733, 'ctime': 1707875604.904733, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a67c28dce7bf856ea6c2826d70bc1c1811114b4e", "dest": "/tmp/ansible._JwvsJnbde_server_keys/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "gid": 994, "group": "tang", "item": { "atime": 1707875604.909733, "ctime": 1707875604.904733, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875604.904733, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "20233f1eceba27f3205752139610a5dc", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1707875608.1433299-3003-77839263446996/source", "state": "file", "uid": 997 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 75514225, 'dev': 58, 'nlink': 1, 'atime': 1707875605.0757346, 'mtime': 1707875605.0707345, 'ctime': 1707875605.0707345, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8b1e1089998028b5e5a34cd58fe2211f45a20d6e", "dest": "/tmp/ansible._JwvsJnbde_server_keys/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "gid": 994, "group": "tang", "item": { "atime": 1707875605.0757346, "ctime": 1707875605.0707345, "dev": 58, "gid": 1001, "gr_name": "jenkins", "inode": 75514225, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1707875605.0707345, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx/sut/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "a7e7872ce940a1f6bd7ff1b5bc00bd06", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1707875608.579824-3003-227419791621663/source", "state": "file", "uid": 997 } TASK [fedora.linux_system_roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:120 Wednesday 14 February 2024 01:53:28 +0000 (0:00:00.823) 0:00:13.375 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible._JwvsJnbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [fedora.linux_system_roles.nbde_server : Clean up host deployment directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.137) 0:00:13.513 **** changed: [sut] => { "changed": true, "path": "/tmp/ansible._JwvsJnbde_server_keys/", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.162) 0:00:13.675 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.067) 0:00:13.742 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.024) 0:00:13.767 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.035) 0:00:13.803 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.022) 0:00:13.826 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.028) 0:00:13.854 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.022) 0:00:13.877 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.018) 0:00:13.896 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.018) 0:00:13.915 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.021) 0:00:13.936 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.022) 0:00:13.959 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.019) 0:00:13.979 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.023) 0:00:14.002 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.009) 0:00:14.011 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.012) 0:00:14.024 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.024) 0:00:14.049 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.009) 0:00:14.059 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.019) 0:00:14.078 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.018) 0:00:14.097 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.009) 0:00:14.107 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.012) 0:00:14.119 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.139) 0:00:14.259 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.010) 0:00:14.269 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 01:53:29 +0000 (0:00:00.163) 0:00:14.433 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.031) 0:00:14.464 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.036) 0:00:14.501 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.033) 0:00:14.535 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.064) 0:00:14.599 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.047) 0:00:14.647 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.026) 0:00:14.673 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.036) 0:00:14.710 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.059) 0:00:14.770 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.027) 0:00:14.797 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.029) 0:00:14.826 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.045) 0:00:14.871 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.045) 0:00:14.916 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.020) 0:00:14.937 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.020) 0:00:14.957 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.028) 0:00:14.986 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.019) 0:00:15.006 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.049) 0:00:15.055 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.020) 0:00:15.075 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.021) 0:00:15.096 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 01:53:23 UTC", "ActiveEnterTimestampMonotonic": "1220836515", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 01:53:23 UTC", "AssertTimestampMonotonic": "1220834931", "Backlog": "128", "Before": "tangd@0.service sockets.target shutdown.target multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-02-14 01:53:23 UTC", "ConditionTimestampMonotonic": "1220834929", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 01:53:23 UTC", "InactiveExitTimestampMonotonic": "1220836515", "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 after redeploy] ********************************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:52 Wednesday 14 February 2024 01:53:30 +0000 (0:00:00.232) 0:00:15.328 **** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1707875604.846544, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.195615, "nlink": 1, "path": "/var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1707875605.0195394, "ctime": 1707875602.195615, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1707875602.1886153, "nlink": 1, "path": "/var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Verify the keys are the same] ******************************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:61 Wednesday 14 February 2024 01:53:31 +0000 (0:00:00.148) 0:00:15.476 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:67 Wednesday 14 February 2024 01:53:31 +0000 (0:00:00.040) 0:00:15.517 **** included: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tasks/cleanup.yml:2 Wednesday 14 February 2024 01:53:31 +0000 (0:00:00.035) 0:00:15.552 **** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysx6uwy6rx", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tasks/cleanup.yml:9 Wednesday 14 February 2024 01:53:31 +0000 (0:00:00.194) 0:00:15.747 **** changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx6uwy6rx', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysx6uwy6rx\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysx6uwy6rx\"/* \"/tmp/nbde_server_deploy_keysx6uwy6rx\"/.* || :\nfi\n", "delta": "0:00:00.004765", "end": "2024-02-14 01:53:31.497589", "item": { "path": "/tmp/nbde_server_deploy_keysx6uwy6rx", "remove_dir": "true" }, "rc": 0, "start": "2024-02-14 01:53:31.492824" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysx6uwy6rx 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.005148", "end": "2024-02-14 01:53:31.622365", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 01:53:31.617217" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/kdMYdN-VJ6sysdCvQlmm0aLDQow.jwk /var/db/tang/Nq3rAPoOBXHFf5FB1p6F3vTXBqM.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.004811", "end": "2024-02-14 01:53:31.745444", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 01:53:31.740633" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* sut : ok=54 changed=10 unreachable=0 failed=0 skipped=136 rescued=0 ignored=0 Wednesday 14 February 2024 01:53:31 +0000 (0:00:00.472) 0:00:16.220 **** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 4.93s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:7 ----- fedora.linux_system_roles.nbde_server : Prepare for deploying keys - host keys --- 0.82s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:105 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.47s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Remove managed node files/directories ----------------------------------- 0.47s /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tasks/cleanup.yml:9 --------- fedora.linux_system_roles.nbde_server : Ensure we fetch the host keys --- 0.36s /WORKDIR/git-custom-port-idempotent6ltb81_c/.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.32s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.31s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.25s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.23s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Gather keys to be fetched ------- 0.23s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.23s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.21s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Remove control node files/directories ----------------------------------- 0.19s /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tasks/cleanup.yml:2 --------- fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.19s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Create tmpdir for server keys ------------------------------------------- 0.18s /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:12 ---- fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.16s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Clean up host deployment directory --- 0.16s /WORKDIR/git-custom-port-idempotent6ltb81_c/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:133 Gather keys after redeploy ---------------------------------------------- 0.15s /WORKDIR/git-custom-port-idempotent6ltb81_c/tests/tests_deploy_keys.yml:52 ---- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---