# 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-weekly-cixopg3ovx/.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_nbde_server_rotate_keys.yml ************************************ 1 plays in /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:6 Saturday 25 November 2023 13:57:24 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 25 November 2023 13:57:24 +0000 (0:00:00.722) 0:00:00.737 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 25 November 2023 13:57:24 +0000 (0:00:00.016) 0:00:00.753 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 Saturday 25 November 2023 13:57:24 +0000 (0:00:00.021) 0:00:00.775 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:18 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.215) 0:00:00.990 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:25 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.020) 0:00:01.011 ***** 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-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.019) 0:00:01.031 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.019) 0:00:01.050 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.436) 0:00:01.487 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.017) 0:00:01.504 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.202) 0:00:01.707 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.021) 0:00:01.728 ***** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.086) 0:00:01.815 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.021) 0:00:01.837 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.021) 0:00:01.859 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 November 2023 13:57:25 +0000 (0:00:00.020) 0:00:01.879 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:01.900 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.021) 0:00:01.921 ***** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.021) 0:00:01.942 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:01.963 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.019) 0:00:01.982 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.018) 0:00:02.001 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.019) 0:00:02.020 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.018) 0:00:02.039 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.009) 0:00:02.048 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:83 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.009) 0:00:02.057 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:93 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.078 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.009) 0:00:02.088 ***** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.106 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:118 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.018) 0:00:02.125 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:124 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.009) 0:00:02.134 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.011) 0:00:02.145 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.242) 0:00:02.388 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.408 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.015) 0:00:02.424 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.442 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.018) 0:00:02.461 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.023) 0:00:02.484 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.502 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.019) 0:00:02.522 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.018) 0:00:02.541 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.561 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.579 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.028) 0:00:02.607 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.029) 0:00:02.637 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.655 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.017) 0:00:02.673 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.693 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.714 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.022) 0:00:02.736 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:33 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.023) 0:00:02.759 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 Saturday 25 November 2023 13:57:26 +0000 (0:00:00.020) 0:00:02.780 ***** 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": "Sat 2023-11-25 13:57:04 UTC", "ActiveEnterTimestampMonotonic": "433017809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-11-25 13:57:04 UTC", "AssertTimestampMonotonic": "433016459", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.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": "yes", "ConditionTimestamp": "Sat 2023-11-25 13:57:04 UTC", "ConditionTimestampMonotonic": "433016458", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-11-25 13:57:04 UTC", "InactiveExitTimestampMonotonic": "433017809", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys] ************************************************************* task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:14 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.465) 0:00:03.245 ***** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1700920622.2974057, "ctime": 1700920622.3044057, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990081, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920622.2974057, "nlink": 1, "path": "/var/db/tang/oJnwjwvyUppZoD1Ra4pSrAuHP6M.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1700920622.3034058, "ctime": 1700920622.3044057, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990082, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920622.3034058, "nlink": 1, "path": "/var/db/tang/vnghM-4X1ltswwJobXT5xR9rUq4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.238) 0:00:03.484 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.015) 0:00:03.500 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.020) 0:00:03.520 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:18 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.136) 0:00:03.657 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:25 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.020) 0:00:03.677 ***** 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-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.019) 0:00:03.697 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 25 November 2023 13:57:27 +0000 (0:00:00.024) 0:00:03.721 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.315) 0:00:04.037 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.019) 0:00:04.056 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.137) 0:00:04.194 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.020) 0:00:04.214 ***** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.048) 0:00:04.263 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.020) 0:00:04.283 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.302 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.321 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.017) 0:00:04.338 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.017) 0:00:04.355 ***** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.016) 0:00:04.372 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.390 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.017) 0:00:04.408 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.019) 0:00:04.427 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.445 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.463 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.010) 0:00:04.474 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:83 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.009) 0:00:04.483 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:93 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.022) 0:00:04.506 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.010) 0:00:04.516 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.535 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:118 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.553 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:124 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.009) 0:00:04.563 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.013) 0:00:04.577 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.146) 0:00:04.723 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.020) 0:00:04.744 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.016) 0:00:04.761 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.017) 0:00:04.779 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.018) 0:00:04.797 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.022) 0:00:04.820 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.017) 0:00:04.838 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.019) 0:00:04.858 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 November 2023 13:57:28 +0000 (0:00:00.020) 0:00:04.878 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.024) 0:00:04.902 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:04.924 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.032) 0:00:04.957 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.032) 0:00:04.989 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:05.010 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:05.032 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.019) 0:00:05.051 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.018) 0:00:05.070 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.019) 0:00:05.089 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:33 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:05.110 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.022) 0:00:05.133 ***** 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": "Sat 2023-11-25 13:57:04 UTC", "ActiveEnterTimestampMonotonic": "433017809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-11-25 13:57:04 UTC", "AssertTimestampMonotonic": "433016459", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.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": "yes", "ConditionTimestamp": "Sat 2023-11-25 13:57:04 UTC", "ConditionTimestampMonotonic": "433016458", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-11-25 13:57:04 UTC", "InactiveExitTimestampMonotonic": "433017809", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:31 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.216) 0:00:05.349 ***** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1700920622.2974057, "ctime": 1700920622.3044057, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990081, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920622.2974057, "nlink": 1, "path": "/var/db/tang/oJnwjwvyUppZoD1Ra4pSrAuHP6M.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1700920622.3034058, "ctime": 1700920622.3044057, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990082, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920622.3034058, "nlink": 1, "path": "/var/db/tang/vnghM-4X1ltswwJobXT5xR9rUq4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:42 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.129) 0:00:05.479 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.012) 0:00:05.491 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.015) 0:00:05.507 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:05.528 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:18 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.139) 0:00:05.667 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:25 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.022) 0:00:05.689 ***** 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-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.020) 0:00:05.710 ***** included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 25 November 2023 13:57:29 +0000 (0:00:00.021) 0:00:05.732 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.314) 0:00:06.046 ***** 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-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.157) 0:00:06.204 ***** skipping: [sut] => { "changed": false, "false_condition": "not (nbde_server_rotate_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.018) 0:00:06.222 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.019) 0:00:06.242 ***** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.047) 0:00:06.289 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.017) 0:00:06.307 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.017) 0:00:06.324 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.018) 0:00:06.343 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.019) 0:00:06.362 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.018) 0:00:06.380 ***** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.019) 0:00:06.400 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.019) 0:00:06.419 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.018) 0:00:06.438 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.020) 0:00:06.459 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.035) 0:00:06.494 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.033) 0:00:06.528 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.048) 0:00:06.576 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:83 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.011) 0:00:06.587 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:93 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.023) 0:00:06.611 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.012) 0:00:06.623 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.021) 0:00:06.645 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:118 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.025) 0:00:06.670 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:124 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.010) 0:00:06.681 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.012) 0:00:06.694 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.142) 0:00:06.836 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.021) 0:00:06.857 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 November 2023 13:57:30 +0000 (0:00:00.017) 0:00:06.875 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:06.893 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:06.911 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.022) 0:00:06.934 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:06.951 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:06.968 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:06.987 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:07.005 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:07.023 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.029) 0:00:07.052 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.027) 0:00:07.079 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:07.097 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:07.115 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:07.133 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:07.151 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.018) 0:00:07.170 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:33 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.020) 0:00:07.191 ***** 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-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.022) 0:00:07.213 ***** 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": "Sat 2023-11-25 13:57:04 UTC", "ActiveEnterTimestampMonotonic": "433017809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-11-25 13:57:04 UTC", "AssertTimestampMonotonic": "433016459", "Backlog": "128", "Before": "shutdown.target tangd@0.service multi-user.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": "yes", "ConditionTimestamp": "Sat 2023-11-25 13:57:04 UTC", "ConditionTimestampMonotonic": "433016458", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-11-25 13:57:04 UTC", "InactiveExitTimestampMonotonic": "433017809", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:52 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.220) 0:00:07.434 ***** ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1700920650.3028631, "ctime": 1700920650.309863, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990083, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920650.3028631, "nlink": 1, "path": "/var/db/tang/ENTJmmafJo6gZdNmQuWlgJFR9yA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1700920650.3088632, "ctime": 1700920650.309863, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 301990084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1700920650.3088632, "nlink": 1, "path": "/var/db/tang/O1wfFtcT9IqOwVFzTRLZqdkxva4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:63 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.130) 0:00:07.564 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=36 changed=1 unreachable=0 failed=0 skipped=123 rescued=0 ignored=0 Saturday 25 November 2023 13:57:31 +0000 (0:00:00.017) 0:00:07.582 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:6 ------ fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.47s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.44s /WORKDIR/git-weekly-cixopg3ovx/.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.32s /WORKDIR/git-weekly-cixopg3ovx/.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-weekly-cixopg3ovx/.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.24s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Gather keys ------------------------------------------------------------- 0.24s /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:14 ----- fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.22s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.20s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.16s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.15s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.14s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.14s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.14s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:13 Gather keys after running with nbde_server_rotate_keys set -------------- 0.13s /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:52 ----- Gather keys after running with nbde_server_rotate_keys not set ---------- 0.13s /WORKDIR/git-weekly-cixopg3ovx/tests/tests_nbde_server_rotate_keys.yml:31 ----- fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.09s /WORKDIR/git-weekly-cixopg3ovx/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---