# 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:6 Thursday 04 January 2024 22:34:42 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [sut] TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.692) 0:00:00.709 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.013) 0:00:00.722 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.019) 0:00:00.742 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.187) 0:00:00.930 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.015) 0:00:00.945 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.016) 0:00:00.962 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 04 January 2024 22:34:43 +0000 (0:00:00.018) 0:00:00.981 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.447) 0:00:01.428 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.444 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.192) 0:00:01.636 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.016) 0:00:01.653 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.061) 0:00:01.715 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.731 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.746 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.762 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.778 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.017) 0:00:01.795 ****** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.017) 0:00:01.812 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.016) 0:00:01.829 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.016) 0:00:01.845 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.861 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.016) 0:00:01.877 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.893 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.010) 0:00:01.903 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.008) 0:00:01.911 ****** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.018) 0:00:01.930 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.008) 0:00:01.938 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:01.954 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.018) 0:00:01.972 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.008) 0:00:01.981 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.010) 0:00:01.991 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.231) 0:00:02.223 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.017) 0:00:02.241 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.013) 0:00:02.255 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:02.270 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:02.285 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.020) 0:00:02.306 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 04 January 2024 22:34:44 +0000 (0:00:00.015) 0:00:02.321 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.016) 0:00:02.337 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.016) 0:00:02.354 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.017) 0:00:02.372 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.018) 0:00:02.390 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.031) 0:00:02.422 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.026) 0:00:02.448 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.017) 0:00:02.466 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.018) 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 : Get config files, checksums after] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.016) 0:00:02.501 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.015) 0:00:02.516 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.015) 0:00:02.532 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.017) 0:00:02.550 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.017) 0:00:02.567 ****** 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": "Thu 2024-01-04 22:34:30 UTC", "ActiveEnterTimestampMonotonic": "437314689", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-01-04 22:34:30 UTC", "AssertTimestampMonotonic": "437313201", "Backlog": "128", "Before": "sockets.target shutdown.target tangd@0.service multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-01-04 22:34:30 UTC", "ConditionTimestampMonotonic": "437313199", "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": "Thu 2024-01-04 22:34:30 UTC", "InactiveExitTimestampMonotonic": "437314689", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:14 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.396) 0:00:02.963 ****** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1704407669.0249848, "ctime": 1704407669.0319846, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458958, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407669.0249848, "nlink": 1, "path": "/var/db/tang/UG5H94Lk8w-6iNnNZkp_ru2slTc.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": 1704407669.0309844, "ctime": 1704407669.0319846, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458959, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407669.0309844, "nlink": 1, "path": "/var/db/tang/JVlHtvB2tpUs430Gz3_MsjYA9ac.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.221) 0:00:03.185 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.016) 0:00:03.201 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.019) 0:00:03.220 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.011) 0:00:03.232 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.013) 0:00:03.245 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.016) 0:00:03.262 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 04 January 2024 22:34:45 +0000 (0:00:00.015) 0:00:03.278 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.336) 0:00:03.614 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.036) 0:00:03.650 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.143) 0:00:03.794 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.029) 0:00:03.824 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.036) 0:00:03.860 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.018) 0:00:03.878 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.024) 0:00:03.902 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.018) 0:00:03.921 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.018) 0:00:03.939 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.020) 0:00:03.960 ****** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.025) 0:00:03.985 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.017) 0:00:04.003 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.017) 0:00:04.020 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.016) 0:00:04.036 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.016) 0:00:04.052 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.016) 0:00:04.069 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.008) 0:00:04.077 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.008) 0:00:04.085 ****** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.018) 0:00:04.103 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.009) 0:00:04.112 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.017) 0:00:04.130 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.019) 0:00:04.149 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.012) 0:00:04.162 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Thursday 04 January 2024 22:34:46 +0000 (0:00:00.017) 0:00:04.179 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.152) 0:00:04.332 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.019) 0:00:04.351 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:04.367 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.022) 0:00:04.390 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.017) 0:00:04.407 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.026) 0:00:04.433 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.017) 0:00:04.451 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.017) 0:00:04.468 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:04.484 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.015) 0:00:04.500 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.018) 0:00:04.518 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.025) 0:00:04.544 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.023) 0:00:04.568 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.017) 0:00:04.586 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.022) 0:00:04.609 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.019) 0:00:04.629 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:04.645 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:04.662 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.017) 0:00:04.680 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:04.696 ****** 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": "Thu 2024-01-04 22:34:30 UTC", "ActiveEnterTimestampMonotonic": "437314689", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-01-04 22:34:30 UTC", "AssertTimestampMonotonic": "437313201", "Backlog": "128", "Before": "sockets.target shutdown.target tangd@0.service multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-01-04 22:34:30 UTC", "ConditionTimestampMonotonic": "437313199", "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": "Thu 2024-01-04 22:34:30 UTC", "InactiveExitTimestampMonotonic": "437314689", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:31 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.221) 0:00:04.918 ****** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1704407669.0249848, "ctime": 1704407669.0319846, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458958, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407669.0249848, "nlink": 1, "path": "/var/db/tang/UG5H94Lk8w-6iNnNZkp_ru2slTc.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": 1704407669.0309844, "ctime": 1704407669.0319846, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458959, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407669.0309844, "nlink": 1, "path": "/var/db/tang/JVlHtvB2tpUs430Gz3_MsjYA9ac.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-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:42 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.136) 0:00:05.055 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.011) 0:00:05.066 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.012) 0:00:05.079 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.019) 0:00:05.098 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.014) 0:00:05.113 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.012) 0:00:05.125 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.015) 0:00:05.141 ****** included: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 04 January 2024 22:34:47 +0000 (0:00:00.016) 0:00:05.157 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.337) 0:00:05.495 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.172) 0:00:05.667 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.019) 0:00:05.687 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.017) 0:00:05.705 ****** 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-ansible-lint-test-2.16jvc1mivl/.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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.037) 0:00:05.742 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.027) 0:00:05.769 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.032) 0:00:05.802 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.027) 0:00:05.829 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.018) 0:00:05.847 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.035) 0:00:05.883 ****** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.017) 0:00:05.900 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.018) 0:00:05.919 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.032) 0:00:05.951 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.048) 0:00:06.000 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.049) 0:00:06.050 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.062) 0:00:06.112 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.015) 0:00:06.127 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.032) 0:00:06.160 ****** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.028) 0:00:06.189 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.011) 0:00:06.200 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.018) 0:00:06.218 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.017) 0:00:06.235 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.016) 0:00:06.252 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Thursday 04 January 2024 22:34:48 +0000 (0:00:00.011) 0:00:06.264 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.153) 0:00:06.417 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.023) 0:00:06.440 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.016) 0:00:06.456 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.023) 0:00:06.480 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.020) 0:00:06.501 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.024) 0:00:06.525 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.017) 0:00:06.543 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.028) 0:00:06.572 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.020) 0:00:06.592 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.023) 0:00:06.615 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.026) 0:00:06.642 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.033) 0:00:06.676 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.026) 0:00:06.703 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.017) 0:00:06.720 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.015) 0:00:06.736 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.018) 0:00:06.755 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.021) 0:00:06.777 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.053) 0:00:06.830 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.047) 0:00:06.877 ****** 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-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.046) 0:00:06.923 ****** 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": "Thu 2024-01-04 22:34:30 UTC", "ActiveEnterTimestampMonotonic": "437314689", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-01-04 22:34:30 UTC", "AssertTimestampMonotonic": "437313201", "Backlog": "128", "Before": "sockets.target shutdown.target tangd@0.service multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-01-04 22:34:30 UTC", "ConditionTimestampMonotonic": "437313199", "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": "Thu 2024-01-04 22:34:30 UTC", "InactiveExitTimestampMonotonic": "437314689", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:52 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.239) 0:00:07.163 ****** ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1704407688.3122396, "ctime": 1704407688.3192394, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458960, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407688.3122396, "nlink": 1, "path": "/var/db/tang/rJXY5DU6mahZizi9__6_3730Lw8.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": 1704407688.3192394, "ctime": 1704407688.3192394, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 398458961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1704407688.3192394, "nlink": 1, "path": "/var/db/tang/i-aIBK7hgJHnQp4Y3Y0KFaFacq8.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-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:63 Thursday 04 January 2024 22:34:49 +0000 (0:00:00.152) 0:00:07.315 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=35 changed=1 unreachable=0 failed=0 skipped=124 rescued=0 ignored=0 Thursday 04 January 2024 22:34:50 +0000 (0:00:00.019) 0:00:07.335 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:6 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.45s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.40s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.34s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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.34s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.24s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.23s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Gather keys ------------------------------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:14 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.19s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.19s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.17s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.15s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.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.15s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Gather keys after running with nbde_server_rotate_keys set -------------- 0.15s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:52 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.14s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.14s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/tests/tests_nbde_server_rotate_keys.yml:31 fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 0.06s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.05s /WORKDIR/git-ansible-lint-test-2.16jvc1mivl/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---