# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:2 Wednesday 14 February 2024 01:54:28 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:6 Wednesday 14 February 2024 01:54:29 +0000 (0:00:00.626) 0:00:00.639 **** changed: [sut -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.0466619-3645-25426605931300/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.451771-3645-7712100608003/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.6878374-3645-166683230116417/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.9122422-3645-168327154147507/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/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-1707875670.137246-3645-177919465834215/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:43 Wednesday 14 February 2024 01:54:30 +0000 (0:00:01.331) 0:00:01.971 **** TASK [Include role] ************************************************************ task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/tasks/main.yml:4 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.011) 0:00:01.982 **** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.013) 0:00:01.996 **** included: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.023) 0:00:02.019 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.011) 0:00:02.030 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.124) 0:00:02.154 **** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.012) 0:00:02.167 **** 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-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.016) 0:00:02.183 **** included: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 14 February 2024 01:54:30 +0000 (0:00:00.015) 0:00:02.199 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.480) 0:00:02.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:02.689 **** 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 [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.192) 0:00:02.881 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:02.891 **** included: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-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-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.056) 0:00:02.948 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:02.958 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:02.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:02.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:02.987 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:02.997 **** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.007 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.017 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.027 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.008) 0:00:03.036 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.045 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.055 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.008) 0:00:03.064 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.074 **** 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, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.014) 0:00:03.088 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.108 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.011) 0:00:03.120 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.130 **** TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.011) 0:00:03.141 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.122) 0:00:03.264 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.274 **** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [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-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.210) 0:00:03.485 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.495 **** 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-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.506 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.516 **** skipping: [sut] => { "changed": false, "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-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.527 **** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.015) 0:00:03.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.552 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.562 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.573 **** skipping: [sut] => { "changed": false, "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-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.009) 0:00:03.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.010) 0:00:03.593 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 14 February 2024 01:54:31 +0000 (0:00:00.014) 0:00:03.607 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.014) 0:00:03.622 **** 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/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.010) 0:00:03.632 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.011) 0:00:03.644 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.011) 0:00:03.655 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.011) 0:00:03.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.011) 0:00:03.679 **** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.013) 0:00:03.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.010) 0:00:03.703 **** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2024-02-14 01:54:23 UTC", "ActiveEnterTimestampMonotonic": "429342965", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-02-14 01:54:23 UTC", "AssertTimestampMonotonic": "429341586", "Backlog": "128", "Before": "sockets.target multi-user.target shutdown.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-02-14 01:54:23 UTC", "ConditionTimestampMonotonic": "429341584", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-02-14 01:54:23 UTC", "InactiveExitTimestampMonotonic": "429342965", "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 [caller : Test variable override] ***************************************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/tasks/main.yml:8 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.366) 0:00:04.070 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup role files] ****************************************************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:50 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.012) 0:00:04.082 **** included: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tasks/cleanup.yml:2 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.011) 0:00:04.094 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tasks/cleanup.yml:9 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.013) 0:00:04.107 **** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "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.004978", "end": "2024-02-14 01:54:32.684706", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 01:54:32.679728" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/0rHI3We99O2tsYm7s35i8RqgG7M.jwk /var/db/tang/8415UMKNRRPoJBsigPUzEgDBlXw.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.004626", "end": "2024-02-14 01:54:32.809381", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-02-14 01:54:32.804755" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Cleanup test files] ****************************************************** task path: /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:54 Wednesday 14 February 2024 01:54:32 +0000 (0:00:00.334) 0:00:04.442 **** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.0466619-3645-25426605931300/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.0466619-3645-25426605931300/source', '_original_basename': 'tmpyseyprf4', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat-7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpyseyprf4", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.0466619-3645-25426605931300/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.0466619-3645-25426605931300/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.451771-3645-7712100608003/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.451771-3645-7712100608003/source', '_original_basename': 'tmpt4y96qwd', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat-7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpt4y96qwd", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.451771-3645-7712100608003/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.451771-3645-7712100608003/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.6878374-3645-166683230116417/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.6878374-3645-166683230116417/source', '_original_basename': 'tmp9o_54uzg', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat_7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9o_54uzg", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.6878374-3645-166683230116417/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.6878374-3645-166683230116417/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.9122422-3645-168327154147507/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.9122422-3645-168327154147507/source', '_original_basename': 'tmpn5io3kpr', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat_7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpn5io3kpr", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.9122422-3645-168327154147507/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875669.9122422-3645-168327154147507/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875670.137246-3645-177919465834215/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1707875670.137246-3645-177919465834215/source', '_original_basename': 'tmp9i2danbk', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9i2danbk", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875670.137246-3645-177919465834215/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1707875670.137246-3645-177919465834215/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=18 changed=4 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 14 February 2024 01:54:33 +0000 (0:00:00.577) 0:00:05.019 **** =============================================================================== Create var file in caller that can override the one in called role ------ 1.33s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:2 Cleanup test files ------------------------------------------------------ 0.58s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tests_include_vars_from_parent.yml:54 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.48s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.37s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.33s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/tasks/cleanup.yml:9 --------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.21s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.19s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.12s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.12s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 linux-system-roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 linux-system-roles.nbde_server : Set version specific variables --------- 0.02s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 linux-system-roles.nbde_server : Set platform/version specific variables --- 0.02s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.02s /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 linux-system-roles.nbde_server : Include the appropriate provider tasks --- 0.02s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.02s /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 0.01s /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.01s /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Show diffs ------------------------- 0.01s /WORKDIR/git-custom-port-idempotent_v33yw1u/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Include role ------------------------------------------------------------ 0.01s /WORKDIR/git-custom-port-idempotent_v33yw1u/tests/roles/caller/tasks/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---