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/tmpulf_4qdk 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 27 July 2022 21:16:13 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.218165", "end": "2022-07-27 21:16:13.371141", "rc": 0, "start": "2022-07-27 21:16:13.152976" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 27 July 2022 21:16:14 +0000 (0:00:00.813) 0:00:00.831 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp6pqmb0eh/tests/podman/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp6pqmb0eh/tests/podman/tests_include_vars_from_parent.yml:2 Wednesday 27 July 2022 21:16:14 +0000 (0:00:00.012) 0:00:00.844 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp6pqmb0eh/tests/podman/tests_include_vars_from_parent.yml:4 Wednesday 27 July 2022 21:16:15 +0000 (0:00:01.064) 0:00:01.909 ******** changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6pqmb0eh/tests/podman/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956575.4938629-155704-224863417039623/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6pqmb0eh/tests/podman/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956576.0775313-155704-182639019195198/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6pqmb0eh/tests/podman/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658956576.410342-155704-193813836632810/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp6pqmb0eh/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-1658956576.7442217-155704-86697582531300/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp6pqmb0eh/tests/podman/roles/caller/tasks/main.yml:4 Wednesday 27 July 2022 21:16:17 +0000 (0:00:01.622) 0:00:03.531 ******** TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 27 July 2022 21:16:17 +0000 (0:00:00.035) 0:00:03.567 ******** included: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.podman : Ensure ansible_facts used by role] **** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 27 July 2022 21:16:17 +0000 (0:00:00.029) 0:00:03.597 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:8 Wednesday 27 July 2022 21:16:17 +0000 (0:00:00.479) 0:00:04.076 ******** skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Ensure required packages are installed] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 27 July 2022 21:16:17 +0000 (0:00:00.039) 0:00:04.116 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:11 Wednesday 27 July 2022 21:16:19 +0000 (0:00:02.131) 0:00:06.247 ******** included: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists - system] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:3 Wednesday 27 July 2022 21:16:19 +0000 (0:00:00.033) 0:00:06.280 ******** ok: [/cache/centos-8.qcow2] => { "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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:12 Wednesday 27 July 2022 21:16:20 +0000 (0:00:00.516) 0:00:06.797 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update system container config file] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:21 Wednesday 27 July 2022 21:16:20 +0000 (0:00:00.022) 0:00:06.820 ******** ok: [/cache/centos-8.qcow2] => { "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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:32 Wednesday 27 July 2022 21:16:20 +0000 (0:00:00.621) 0:00:07.441 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 27 July 2022 21:16:21 +0000 (0:00:00.021) 0:00:07.462 ******** included: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists - system] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:3 Wednesday 27 July 2022 21:16:21 +0000 (0:00:00.034) 0:00:07.497 ******** ok: [/cache/centos-8.qcow2] => { "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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:12 Wednesday 27 July 2022 21:16:21 +0000 (0:00:00.370) 0:00:07.867 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update system registries config file] *** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:21 Wednesday 27 July 2022 21:16:21 +0000 (0:00:00.021) 0:00:07.889 ******** ok: [/cache/centos-8.qcow2] => { "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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:32 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.655) 0:00:08.544 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:17 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.021) 0:00:08.566 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:24 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.021) 0:00:08.587 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle Kubernetes specifications] ***** task path: /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:31 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.020) 0:00:08.608 ******** META: role_complete for /cache/centos-8.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmp6pqmb0eh/tests/podman/roles/caller/tasks/main.yml:7 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.025) 0:00:08.633 ******** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/centos-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=13 changed=2 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 27 July 2022 21:16:22 +0000 (0:00:00.044) 0:00:08.677 ******** =============================================================================== fedora.linux_system_roles.podman : Ensure required packages are installed --- 2.13s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 create var file in caller that can override the one in called role ------ 1.62s /tmp/tmp6pqmb0eh/tests/podman/tests_include_vars_from_parent.yml:4 ------------ Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp6pqmb0eh/tests/podman/tests_include_vars_from_parent.yml:2 ------------ Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.podman : Update system registries config file --- 0.66s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:21 fedora.linux_system_roles.podman : Update system container config file --- 0.62s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:21 fedora.linux_system_roles.podman : Ensure containers.d exists - system --- 0.52s /tmp/tmpulf_4qdk/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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Ensure registries.d exists - system --- 0.37s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:3 caller : assert --------------------------------------------------------- 0.04s /tmp/tmp6pqmb0eh/tests/podman/roles/caller/tasks/main.yml:7 ------------------- fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.04s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:8 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp6pqmb0eh/tests/podman/roles/caller/tasks/main.yml:4 ------------------- fedora.linux_system_roles.podman : Handle registries.conf.d ------------- 0.03s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Handle container.conf.d -------------- 0.03s /tmp/tmpulf_4qdk/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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 fedora.linux_system_roles.podman : Handle Kubernetes specifications ----- 0.03s /tmp/tmpulf_4qdk/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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:12 Manage firewall for specified ports ------------------------------------- 0.02s /tmp/tmpulf_4qdk/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/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:32 fedora.linux_system_roles.podman : Ensure registries.d exists - user ---- 0.02s /tmp/tmpulf_4qdk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:12