ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpze4itlij executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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 /tmp/tmp6dr4m40e/tests/podman/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp6dr4m40e/tests/podman/tests_include_vars_from_parent.yml:2 Wednesday 27 July 2022 21:14:49 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp6dr4m40e/tests/podman/tests_include_vars_from_parent.yml:4 Wednesday 27 July 2022 21:14:51 +0000 (0:00:01.188) 0:00:01.202 ******** changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6dr4m40e/tests/podman/roles/caller/vars/RedHat-9.0.yml", "gid": 0, "group": "root", "item": "RedHat-9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956491.1765196-221764-256792973060968/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6dr4m40e/tests/podman/roles/caller/vars/RedHat-9.yml", "gid": 0, "group": "root", "item": "RedHat-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956491.7236009-221764-139783760941280/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6dr4m40e/tests/podman/roles/caller/vars/RedHat_9.0.yml", "gid": 0, "group": "root", "item": "RedHat_9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956492.0652983-221764-146033575779843/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6dr4m40e/tests/podman/roles/caller/vars/RedHat_9.yml", "gid": 0, "group": "root", "item": "RedHat_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956492.3925962-221764-73220874217154/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6dr4m40e/tests/podman/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956492.723075-221764-235475518521297/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp6dr4m40e/tests/podman/roles/caller/tasks/main.yml:4 Wednesday 27 July 2022 21:14:53 +0000 (0:00:01.906) 0:00:03.109 ******** TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 27 July 2022 21:14:53 +0000 (0:00:00.035) 0:00:03.144 ******** included: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.podman : Ensure ansible_facts used by role] **** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 27 July 2022 21:14:53 +0000 (0:00:00.029) 0:00:03.174 ******** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:8 Wednesday 27 July 2022 21:14:53 +0000 (0:00:00.475) 0:00:03.649 ******** skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Ensure required packages are installed] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 27 July 2022 21:14:53 +0000 (0:00:00.041) 0:00:03.691 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:11 Wednesday 27 July 2022 21:14:54 +0000 (0:00:01.018) 0:00:04.709 ******** included: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.podman : Ensure containers.d exists - system] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:3 Wednesday 27 July 2022 21:14:54 +0000 (0:00:00.032) 0:00:04.742 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Ensure containers.d exists - user] **** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:12 Wednesday 27 July 2022 21:14:55 +0000 (0:00:00.490) 0:00:05.233 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update system container config file] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:21 Wednesday 27 July 2022 21:14:55 +0000 (0:00:00.023) 0:00:05.256 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update non-root user container config file] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:32 Wednesday 27 July 2022 21:14:55 +0000 (0:00:00.646) 0:00:05.903 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 27 July 2022 21:14:55 +0000 (0:00:00.019) 0:00:05.923 ******** included: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.podman : Ensure registries.d exists - system] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:3 Wednesday 27 July 2022 21:14:55 +0000 (0:00:00.032) 0:00:05.956 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Ensure registries.d exists - user] **** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:12 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.363) 0:00:06.319 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update system registries config file] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:21 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:06.344 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update non-root user registries config file] *** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:32 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.594) 0:00:06.939 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:17 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.019) 0:00:06.959 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:24 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.020) 0:00:06.979 ******** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle Kubernetes specifications] ***** task path: /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:31 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.019) 0:00:06.999 ******** META: role_complete for /cache/rhel-9.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmp6dr4m40e/tests/podman/roles/caller/tasks/main.yml:7 Wednesday 27 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:07.023 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=12 changed=1 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 27 July 2022 21:14:57 +0000 (0:00:00.044) 0:00:07.068 ******** =============================================================================== create var file in caller that can override the one in called role ------ 1.91s /tmp/tmp6dr4m40e/tests/podman/tests_include_vars_from_parent.yml:4 ------------ Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmp6dr4m40e/tests/podman/tests_include_vars_from_parent.yml:2 ------------ fedora.linux_system_roles.podman : Ensure required packages are installed --- 1.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Update system container config file --- 0.65s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:21 fedora.linux_system_roles.podman : Update system registries config file --- 0.59s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:21 fedora.linux_system_roles.podman : Ensure containers.d exists - system --- 0.49s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:3 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.48s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Ensure registries.d exists - system --- 0.36s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:3 caller : assert --------------------------------------------------------- 0.04s /tmp/tmp6dr4m40e/tests/podman/roles/caller/tasks/main.yml:7 ------------------- fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.04s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:8 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp6dr4m40e/tests/podman/roles/caller/tasks/main.yml:4 ------------------- fedora.linux_system_roles.podman : Handle registries.conf.d ------------- 0.03s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Handle container.conf.d -------------- 0.03s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:11 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.03s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 fedora.linux_system_roles.podman : Ensure registries.d exists - user ---- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:12 fedora.linux_system_roles.podman : Handle Kubernetes specifications ----- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:31 fedora.linux_system_roles.podman : Ensure containers.d exists - user ---- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:12 Manage firewall for specified ports ------------------------------------- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:17 fedora.linux_system_roles.podman : Update non-root user registries config file --- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:32 fedora.linux_system_roles.podman : Update non-root user container config file --- 0.02s /tmp/tmpze4itlij/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:32