# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] 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_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/tests_include_vars_from_parent.yml:2 Tuesday 29 November 2022 20:21:31 +0000 (0:00:00.015) 0:00:00.015 ****** ok: [sut] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/tests_include_vars_from_parent.yml:5 Tuesday 29 November 2022 20:21:33 +0000 (0:00:01.063) 0:00:01.079 ****** changed: [sut -> localhost] => (item=Fedora-35) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/vars/Fedora-35.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-35", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1669753293.0983624-4764-122529598024394/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_35) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/vars/Fedora_35.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_35", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1669753293.888685-4764-260850216203250/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/vars/Fedora.yml", "gid": 1001, "group": "jenkins", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1669753294.3830783-4764-137946382605289/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1669753294.8699675-4764-141998486265604/source", "state": "file", "uid": 1000090000 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/tasks/main.yml:4 Tuesday 29 November 2022 20:21:35 +0000 (0:00:02.309) 0:00:03.388 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Tuesday 29 November 2022 20:21:35 +0000 (0:00:00.037) 0:00:03.425 ****** included: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Tuesday 29 November 2022 20:21:35 +0000 (0:00:00.031) 0:00:03.457 ****** ok: [sut] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Tuesday 29 November 2022 20:21:35 +0000 (0:00:00.420) 0:00:03.878 ****** 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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Tuesday 29 November 2022 20:21:35 +0000 (0:00:00.042) 0:00:03.921 ****** included: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Tuesday 29 November 2022 20:21:35 +0000 (0:00:00.044) 0:00:03.965 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: jose-11-3.fc35.x86_64", "Installed: libjose-11-3.fc35.x86_64", "Installed: tang-11-1.fc35.x86_64", "Installed: http-parser-2.9.4-5.fc35.x86_64" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Tuesday 29 November 2022 20:21:43 +0000 (0:00:07.240) 0:00:11.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.029) 0:00:11.234 ****** 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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.428) 0:00:11.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.028) 0:00:11.692 ****** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) ansible.builtin.selogin to community.general.selogin included: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.176) 0:00:11.869 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.030) 0:00:11.899 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.030) 0:00:11.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.028) 0:00:11.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.029) 0:00:11.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Tuesday 29 November 2022 20:21:43 +0000 (0:00:00.030) 0:00:12.019 ****** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.030) 0:00:12.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.028) 0:00:12.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.028) 0:00:12.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.033) 0:00:12.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.030) 0:00:12.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.029) 0:00:12.200 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.026) 0:00:12.227 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:73 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.026) 0:00:12.253 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:79 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.025) 0:00:12.279 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.025) 0:00:12.304 ****** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:96 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.036) 0:00:12.341 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:106 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.025) 0:00:12.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:109 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.030) 0:00:12.397 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.039) 0:00:12.437 ****** 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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:25 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.440) 0:00:12.877 ****** skipping: [sut] => { "changed": false, "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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.030) 0:00:12.907 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.039) 0:00:12.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.030) 0:00:12.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 29 November 2022 20:21:44 +0000 (0:00:00.029) 0:00:13.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.039 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.069 ****** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.042) 0:00:13.112 ****** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.046) 0:00:13.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.031) 0:00:13.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.034) 0:00:13.316 ****** skipping: [sut] => {} META: TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:33 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.037) 0:00:13.354 ****** skipping: [sut] => { "changed": false, "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/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 Tuesday 29 November 2022 20:21:45 +0000 (0:00:00.030) 0:00:13.384 ****** 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": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14797", "LimitNPROCSoft": "14797", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14797", "LimitSIGPENDINGSoft": "14797", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4439", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for sut TASK [caller : assert] ********************************************************* task path: /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/tasks/main.yml:7 Tuesday 29 November 2022 20:21:46 +0000 (0:00:01.075) 0:00:14.460 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: role_complete for sut META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=13 changed=4 unreachable=0 failed=0 skipped=35 rescued=0 ignored=0 Tuesday 29 November 2022 20:21:46 +0000 (0:00:00.046) 0:00:14.506 ****** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 7.24s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 create var file in caller that can override the one in called role ------ 2.31s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/tests_include_vars_from_parent.yml:5 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 1.08s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:38 Gathering Facts --------------------------------------------------------- 1.06s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.44s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:16 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.43s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.42s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.18s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 caller : assert --------------------------------------------------------- 0.05s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/tasks/main.yml:7 fedora.linux_system_roles.firewall : gather firewall config information --- 0.05s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed --- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:34 fedora.linux_system_roles.selinux : include_tasks ----------------------- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:109 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/tests/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 0.04s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 fedora.linux_system_roles.firewall : Calculate what has changed --------- 0.03s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications --- 0.03s /WORKDIR/dist-git-nbde_server-improve-firewall-selinux-k7jlzi9h/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---