ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles 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_auth_and_security.yml ****************************************** 2 plays in /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:5 Tuesday 05 November 2024 18:26:48 -0500 (0:00:00.018) 0:00:00.018 ****** ok: [managed-node1] => { "ansible_facts": { "__podman_test_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n35383939616163653333633431363463313831383037386236646138333162396161356130303461\n3932623930643263313563336163316337643562333936360a363538636631313039343233383732\n38666530383538656639363465313230343533386130303833336434303438333161656262346562\n3362626538613031640a663330613638366132356534363534353239616666653466353961323533\n6565\n" }, "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/tmp/podman-PHB/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test various aspects of authentication and security settings] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:9 Tuesday 05 November 2024 18:26:48 -0500 (0:00:00.018) 0:00:00.036 ****** ok: [managed-node1] META: ran handlers TASK [Run the role with no config to install podman] *************************** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:46 Tuesday 05 November 2024 18:26:49 -0500 (0:00:01.140) 0:00:01.177 ****** TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Tuesday 05 November 2024 18:26:49 -0500 (0:00:00.093) 0:00:01.271 ****** included: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.podman : Ensure ansible_facts used by role] **** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Tuesday 05 November 2024 18:26:49 -0500 (0:00:00.023) 0:00:01.294 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Check if system is ostree] ************ task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Tuesday 05 November 2024 18:26:49 -0500 (0:00:00.065) 0:00:01.359 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Tuesday 05 November 2024 18:26:50 -0500 (0:00:00.435) 0:00:01.795 ****** ok: [managed-node1] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.podman : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 Tuesday 05 November 2024 18:26:50 -0500 (0:00:00.056) 0:00:01.851 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag if transactional-update exists] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 Tuesday 05 November 2024 18:26:50 -0500 (0:00:00.395) 0:00:02.246 ****** ok: [managed-node1] => { "ansible_facts": { "__podman_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 Tuesday 05 November 2024 18:26:50 -0500 (0:00:00.039) 0:00:02.286 ****** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node1] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Tuesday 05 November 2024 18:26:50 -0500 (0:00:00.074) 0:00:02.360 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.podman : Enable copr if requested] ************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Tuesday 05 November 2024 18:26:52 -0500 (0:00:01.768) 0:00:04.128 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Ensure required packages are installed] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Tuesday 05 November 2024 18:26:52 -0500 (0:00:00.080) 0:00:04.209 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: podman-gvproxy-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: runc-1:1.1.12-1.module_el8+885+7da147f3.x86_64", "Installed: container-selinux-2:2.229.0-2.module_el8+847+7863d4e6.noarch", "Installed: dnsmasq-2.79-33.el8.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64", "Installed: podman-plugins-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: fuse-common-3.3.0-19.el8.x86_64", "Installed: podman-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: containernetworking-plugins-1:1.4.0-2.module_el8+974+0c52b299.x86_64", "Installed: criu-3.18-4.module_el8+804+f131391c.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: fuse3-3.3.0-19.el8.x86_64", "Installed: containers-common-2:1-81.module_el8+968+fbb249c7.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: podman-catatonit-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: criu-libs-3.18-4.module_el8+804+f131391c.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: slirp4netns-1.2.3-1.module_el8+951+32019cde.x86_64", "Installed: fuse3-libs-3.3.0-19.el8.x86_64", "Installed: crun-1.14.3-2.module_el8+968+fbb249c7.x86_64", "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64" ] } TASK [fedora.linux_system_roles.podman : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Tuesday 05 November 2024 18:27:57 -0500 (0:01:05.042) 0:01:09.252 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.podman : Reboot transactional update systems] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 Tuesday 05 November 2024 18:27:57 -0500 (0:00:00.051) 0:01:09.304 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if reboot is needed and not set] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 Tuesday 05 November 2024 18:27:57 -0500 (0:00:00.055) 0:01:09.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 Tuesday 05 November 2024 18:27:57 -0500 (0:00:00.051) 0:01:09.410 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030525", "end": "2024-11-05 18:27:58.363933", "rc": 0, "start": "2024-11-05 18:27:58.333408" } STDOUT: podman version 4.9.4-dev TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 Tuesday 05 November 2024 18:27:58 -0500 (0:00:00.504) 0:01:09.915 ****** ok: [managed-node1] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Tuesday 05 November 2024 18:27:58 -0500 (0:00:00.062) 0:01:09.978 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 Tuesday 05 November 2024 18:27:58 -0500 (0:00:00.051) 0:01:10.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets] *** task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Tuesday 05 November 2024 18:27:58 -0500 (0:00:00.094) 0:01:10.123 ****** fatal: [managed-node1]: FAILED! => {} MSG: The conditional check '__has_type_pod or __has_pod_file_ext or __has_pod_file_src_ext or __has_pod_template_src_ext or __has_pod_template_src_ext_j2' failed. The error was: An unhandled exception occurred while templating '{{ podman_quadlet_specs | selectattr('type', 'defined') | selectattr('type', 'match', '^pod$') | length > 0 }}'. Error was a , original message: Unexpected templating type error occurred on ({{ podman_quadlet_specs | selectattr('type', 'defined') | selectattr('type', 'match', '^pod$') | length > 0 }}): object of type 'generator' has no len() The error appears to be in '/tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml': line 80, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Podman package version must be 5.0 or later for Pod quadlets ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=12 changed=1 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0 Tuesday 05 November 2024 18:27:58 -0500 (0:00:00.017) 0:01:10.141 ****** =============================================================================== fedora.linux_system_roles.podman : Ensure required packages are installed -- 65.04s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Gather the package facts ------------- 1.77s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:9 fedora.linux_system_roles.podman : Get podman version ------------------- 0.50s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 fedora.linux_system_roles.podman : Check if system is ostree ------------ 0.44s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 fedora.linux_system_roles.podman : Check if transactional-update exists in /sbin --- 0.40s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets --- 0.09s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 Run the role with no config to install podman --------------------------- 0.09s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:46 fedora.linux_system_roles.podman : Enable copr if requested ------------- 0.08s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.07s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.07s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Set podman version ------------------- 0.06s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 fedora.linux_system_roles.podman : Set flag to indicate system is ostree --- 0.06s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 fedora.linux_system_roles.podman : Reboot transactional update systems --- 0.06s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 fedora.linux_system_roles.podman : Notify user that reboot is needed to apply changes --- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 fedora.linux_system_roles.podman : Fail if reboot is needed and not set --- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 fedora.linux_system_roles.podman : Podman package version must be 4.2 or later --- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 fedora.linux_system_roles.podman : Set flag if transactional-update exists --- 0.04s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.02s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Include vault variables ------------------------------------------------- 0.02s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_auth_and_security.yml:5