# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-custom-port-idempotentacgo5cui/.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_service_state.yml ********************************** 1 plays in /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml PLAY [Test nbde_server_service_state] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:6 Wednesday 14 February 2024 03:01:59 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] TASK [Accepting connections without specifying state] ************************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:12 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.731) 0:00:00.743 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.014) 0:00:00.757 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.011) 0:00:00.768 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.017) 0:00:00.786 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.182) 0:00:00.968 **** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.013) 0:00:00.982 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.015) 0:00:00.997 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 03:02:00 +0000 (0:00:00.014) 0:00:01.011 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.436) 0:00:01.448 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.463 **** changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.214) 0:00:01.678 **** skipping: [sut] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.693 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.062) 0:00:01.755 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.770 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.786 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.014) 0:00:01.800 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.014) 0:00:01.814 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.830 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 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 boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.860 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.014) 0:00:01.874 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.889 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.905 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.014) 0:00:01.919 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.007) 0:00:01.926 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.007) 0:00:01.934 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.017) 0:00:01.951 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.007) 0:00:01.959 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.974 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.015) 0:00:01.990 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.007) 0:00:01.998 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.009) 0:00:02.007 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 03:02:01 +0000 (0:00:00.126) 0:00:02.133 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.008) 0:00:02.142 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.233) 0:00:02.375 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.391 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.011) 0:00:02.402 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.014) 0:00:02.417 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.432 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.020) 0:00:02.452 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.468 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.483 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.017) 0:00:02.500 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 03:02:02 +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 : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.016) 0:00:02.532 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.023) 0:00:02.556 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.023) 0:00:02.579 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.594 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.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-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.625 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.640 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.015) 0:00:02.655 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.017) 0:00:02.673 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.016) 0:00:02.689 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "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 state of services] ************************************************ task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:17 Wednesday 14 February 2024 03:02:02 +0000 (0:00:00.390) 0:00:03.080 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:26 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.213) 0:00:03.293 **** ok: [sut] => (item={'status': {'After': 'sysinit.target -.slice', 'RuntimeDirectoryMode': '0755', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'ConditionTimestampMonotonic': '1321027183', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '1321028993', 'StandardError': 'inherit', 'AssertTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'BindIPv6Only': 'default', 'LimitFSIZE': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'ActiveEnterTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'SendBuffer': '0', 'CapabilityBoundingSet': '18446744073709551615', 'CPUQuotaPerSecUSec': 'infinity', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'shutdown.target sockets.target tangd@0.service multi-user.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1321028993', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'Accept': 'yes', 'UMask': '0022', 'NonBlocking': 'no', 'InactiveEnterTimestampMonotonic': '0', 'LimitLOCKS': '18446744073709551615', 'Nice': '0', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'MemoryLimit': '18446744073709551615', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'ConditionResult': 'yes', 'TTYVTDisallocate': 'no', 'StartupBlockIOWeight': '18446744073709551615', 'InactiveExitTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'active', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'ConditionTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'AllowIsolate': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'TimerSlackNSec': '50000', 'SystemCallErrorNumber': '0', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1321027184', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', 'TasksMax': '18446744073709551615', 'IPTTL': '-1', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'SubState': 'listening', 'RefuseManualStop': 'no', 'LimitNICE': '0', 'Triggers': 'tangd@0.service', 'OnFailureJobMode': 'replace', 'PassCredentials': 'no', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'DevicePolicy': 'auto', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'PrivateNetwork': 'no', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '0', 'KeepAliveProbes': '0', 'PrivateDevices': 'no', 'BlockIOWeight': '18446744073709551615', 'Description': 'Tang Server socket', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'ControlPID': '0', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'started', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'started', 'masked': None, 'scope': 'system'}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": "system", "state": "started" } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "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" } } } MSG: All assertions passed TASK [Not accepting connections specifying state stopped] ********************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:31 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.017) 0:00:03.310 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.013) 0:00:03.324 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.011) 0:00:03.335 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.017) 0:00:03.352 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.009) 0:00:03.362 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.010) 0:00:03.372 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.388 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.012) 0:00:03.401 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.312) 0:00:03.714 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.729 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.135) 0:00:03.865 **** skipping: [sut] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.881 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.034) 0:00:03.915 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.930 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.945 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.961 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.016) 0:00:03.977 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:03.992 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:04.008 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:04.024 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:04.039 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.015) 0:00:04.055 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.016) 0:00:04.071 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.014) 0:00:04.085 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.007) 0:00:04.093 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.007) 0:00:04.100 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.016) 0:00:04.116 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 03:02:03 +0000 (0:00:00.007) 0:00:04.124 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.140 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.016) 0:00:04.156 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.007) 0:00:04.164 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.009) 0:00:04.173 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.124) 0:00:04.298 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.008) 0:00:04.307 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.142) 0:00:04.450 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.017) 0:00:04.467 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.012) 0:00:04.479 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.494 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.016) 0:00:04.510 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.019) 0:00:04.530 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.546 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.561 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.577 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.592 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.608 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.023) 0:00:04.632 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.022) 0:00:04.654 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.669 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.684 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.014) 0:00:04.698 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.014) 0:00:04.712 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.015) 0:00:04.728 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.016) 0:00:04.744 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.016) 0:00:04.761 **** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "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 state of services] ************************************************ task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:38 Wednesday 14 February 2024 03:02:04 +0000 (0:00:00.218) 0:00:04.980 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestamp": "Wed 2024-02-14 03:02:04 UTC", "ActiveExitTimestampMonotonic": "1328840216", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "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", "InactiveEnterTimestamp": "Wed 2024-02-14 03:02:04 UTC", "InactiveEnterTimestampMonotonic": "1328840216", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether services were enabled but stopped] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:47 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.210) 0:00:05.190 **** ok: [sut] => (item={'status': {'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Wed 2024-02-14 03:02:04 UTC', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'ConditionTimestampMonotonic': '1321027183', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '1321028993', 'StandardError': 'inherit', 'AssertTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'BindIPv6Only': 'default', 'LimitFSIZE': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'ActiveEnterTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'SendBuffer': '0', 'CapabilityBoundingSet': '18446744073709551615', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'shutdown.target sockets.target tangd@0.service multi-user.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1321028993', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'Accept': 'yes', 'UMask': '0022', 'NonBlocking': 'no', 'InactiveEnterTimestampMonotonic': '1328840216', 'LimitLOCKS': '18446744073709551615', 'Nice': '0', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'IPTTL': '-1', 'ConditionResult': 'yes', 'TTYVTDisallocate': 'no', 'StartupBlockIOWeight': '18446744073709551615', 'InactiveExitTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'inactive', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'Triggers': 'tangd@0.service', 'ConditionTimestamp': 'Wed 2024-02-14 03:01:57 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'AllowIsolate': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'TimerSlackNSec': '50000', 'SystemCallErrorNumber': '0', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'InactiveEnterTimestamp': 'Wed 2024-02-14 03:02:04 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1321027184', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', 'TasksMax': '18446744073709551615', 'CPUQuotaPerSecUSec': 'infinity', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'SubState': 'dead', 'RefuseManualStop': 'no', 'LimitNICE': '0', 'After': 'sysinit.target -.slice', 'OnFailureJobMode': 'replace', 'PassCredentials': 'no', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'DevicePolicy': 'auto', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'PrivateNetwork': 'no', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '1328840216', 'KeepAliveProbes': '0', 'PrivateDevices': 'no', 'BlockIOWeight': '18446744073709551615', 'Description': 'Tang Server socket', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'ControlPID': '0', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'stopped', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'stopped', 'masked': None, 'scope': 'system'}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": "system", "state": "stopped" } }, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestamp": "Wed 2024-02-14 03:02:04 UTC", "ActiveExitTimestampMonotonic": "1328840216", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "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", "InactiveEnterTimestamp": "Wed 2024-02-14 03:02:04 UTC", "InactiveEnterTimestampMonotonic": "1328840216", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } } MSG: All assertions passed TASK [Accepting connections specifying state started] ************************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:52 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.017) 0:00:05.208 **** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.222 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.011) 0:00:05.234 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.017) 0:00:05.251 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.010) 0:00:05.261 **** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.010) 0:00:05.272 **** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.286 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.013) 0:00:05.299 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.322) 0:00:05.622 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.016) 0:00:05.639 **** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.134) 0:00:05.773 **** skipping: [sut] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.032) 0:00:05.806 **** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.047) 0:00:05.854 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.015) 0:00:05.870 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.884 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.015) 0:00:05.899 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.015) 0:00:05.914 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.929 **** skipping: [sut] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.943 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.957 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.972 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:05.986 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 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 : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.014) 0:00:06.015 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.007) 0:00:06.022 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.007) 0:00:06.030 **** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.017) 0:00:06.048 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.007) 0:00:06.055 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.015) 0:00:06.071 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.016) 0:00:06.087 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.007) 0:00:06.095 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 03:02:05 +0000 (0:00:00.011) 0:00:06.106 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.121) 0:00:06.227 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.008) 0:00:06.236 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.141) 0:00:06.377 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.016) 0:00:06.394 **** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.012) 0:00:06.406 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.421 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.437 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.018) 0:00:06.455 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.471 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.486 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.501 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.517 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.014) 0:00:06.531 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.022) 0:00:06.553 **** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.022) 0:00:06.576 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.591 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.606 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.014) 0:00:06.621 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.014) 0:00:06.635 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.650 **** skipping: [sut] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.666 **** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.015) 0:00:06.682 **** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:01:57 UTC", "ActiveEnterTimestampMonotonic": "1321028993", "ActiveExitTimestamp": "Wed 2024-02-14 03:02:04 UTC", "ActiveExitTimestampMonotonic": "1328840216", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:01:57 UTC", "AssertTimestampMonotonic": "1321027184", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:01:57 UTC", "ConditionTimestampMonotonic": "1321027183", "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", "InactiveEnterTimestamp": "Wed 2024-02-14 03:02:04 UTC", "InactiveEnterTimestampMonotonic": "1328840216", "InactiveExitTimestamp": "Wed 2024-02-14 03:01:57 UTC", "InactiveExitTimestampMonotonic": "1321028993", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather state of services] ************************************************ task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:59 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.221) 0:00:06.903 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:02:06 UTC", "ActiveEnterTimestampMonotonic": "1330764441", "ActiveExitTimestamp": "Wed 2024-02-14 03:02:04 UTC", "ActiveExitTimestampMonotonic": "1328840216", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:02:06 UTC", "AssertTimestampMonotonic": "1330762081", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:02:06 UTC", "ConditionTimestampMonotonic": "1330762079", "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", "InactiveEnterTimestamp": "Wed 2024-02-14 03:02:04 UTC", "InactiveEnterTimestampMonotonic": "1328840216", "InactiveExitTimestamp": "Wed 2024-02-14 03:02:06 UTC", "InactiveExitTimestampMonotonic": "1330764441", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:68 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.210) 0:00:07.114 **** ok: [sut] => (item={'status': {'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Wed 2024-02-14 03:02:04 UTC', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'ConditionTimestampMonotonic': '1330762079', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '1330764441', 'StandardError': 'inherit', 'AssertTimestamp': 'Wed 2024-02-14 03:02:06 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'BindIPv6Only': 'default', 'LimitFSIZE': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'ActiveEnterTimestamp': 'Wed 2024-02-14 03:02:06 UTC', 'SendBuffer': '0', 'CapabilityBoundingSet': '18446744073709551615', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'shutdown.target sockets.target tangd@0.service multi-user.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1330764441', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'Accept': 'yes', 'UMask': '0022', 'NonBlocking': 'no', 'InactiveEnterTimestampMonotonic': '1328840216', 'LimitLOCKS': '18446744073709551615', 'Nice': '0', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'IPTTL': '-1', 'ConditionResult': 'yes', 'TTYVTDisallocate': 'no', 'StartupBlockIOWeight': '18446744073709551615', 'InactiveExitTimestamp': 'Wed 2024-02-14 03:02:06 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'active', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'Triggers': 'tangd@0.service', 'ConditionTimestamp': 'Wed 2024-02-14 03:02:06 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'AllowIsolate': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'TimerSlackNSec': '50000', 'SystemCallErrorNumber': '0', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'InactiveEnterTimestamp': 'Wed 2024-02-14 03:02:04 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1330762081', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', 'TasksMax': '18446744073709551615', 'CPUQuotaPerSecUSec': 'infinity', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'SubState': 'listening', 'RefuseManualStop': 'no', 'LimitNICE': '0', 'After': 'sysinit.target -.slice', 'OnFailureJobMode': 'replace', 'PassCredentials': 'no', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'DevicePolicy': 'auto', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'PrivateNetwork': 'no', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '1328840216', 'KeepAliveProbes': '0', 'PrivateDevices': 'no', 'BlockIOWeight': '18446744073709551615', 'Description': 'Tang Server socket', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'ControlPID': '0', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'started', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'started', 'masked': None, 'scope': 'system'}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": "system", "state": "started" } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 03:02:06 UTC", "ActiveEnterTimestampMonotonic": "1330764441", "ActiveExitTimestamp": "Wed 2024-02-14 03:02:04 UTC", "ActiveExitTimestampMonotonic": "1328840216", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 03:02:06 UTC", "AssertTimestampMonotonic": "1330762081", "Backlog": "128", "Before": "shutdown.target sockets.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": "Wed 2024-02-14 03:02:06 UTC", "ConditionTimestampMonotonic": "1330762079", "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", "InactiveEnterTimestamp": "Wed 2024-02-14 03:02:04 UTC", "InactiveEnterTimestampMonotonic": "1328840216", "InactiveExitTimestamp": "Wed 2024-02-14 03:02:06 UTC", "InactiveExitTimestampMonotonic": "1330764441", "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" } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:73 Wednesday 14 February 2024 03:02:06 +0000 (0:00:00.019) 0:00:07.133 **** included: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tasks/cleanup.yml:2 Wednesday 14 February 2024 03:02:07 +0000 (0:00:00.012) 0:00:07.146 **** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tasks/cleanup.yml:9 Wednesday 14 February 2024 03:02:07 +0000 (0:00:00.018) 0:00:07.164 **** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.005391", "end": "2024-02-14 03:02:07.214109", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 03:02:07.208718" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/d6mF3gPbrd7RdjaKXcSZUJMElfg.jwk /var/db/tang/k9KKGYai7wYDVP1RK-G8QPed-5A.jwk /var/db/tang/. /var/db/tang/.. rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/.’ rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/..’ + : changed: [sut] => (item={'path': '/var/cache/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.005129", "end": "2024-02-14 03:02:07.338525", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 03:02:07.333396" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* sut : ok=41 changed=4 unreachable=0 failed=0 skipped=128 rescued=0 ignored=0 Wednesday 14 February 2024 03:02:07 +0000 (0:00:00.328) 0:00:07.492 **** =============================================================================== Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:6 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.44s /WORKDIR/git-custom-port-idempotentacgo5cui/.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.39s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Remove managed node files/directories ----------------------------------- 0.33s /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tasks/cleanup.yml:9 --------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.32s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.31s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.23s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.21s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Gather state of services ------------------------------------------------ 0.21s /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:17 Gather state of services ------------------------------------------------ 0.21s /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:59 Gather state of services ------------------------------------------------ 0.21s /WORKDIR/git-custom-port-idempotentacgo5cui/tests/tests_nbde_server_service_state.yml:38 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.18s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.14s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.13s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.13s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.12s /WORKDIR/git-custom-port-idempotentacgo5cui/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---