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_default.yml **************************************************** 2 plays in /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_default.yml:5 Tuesday 05 November 2024 18:12:50 -0500 (0:00:00.032) 0:00:00.032 ****** 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-rqb/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Tuesday 05 November 2024 18:12:50 -0500 (0:00:00.044) 0:00:00.077 ****** included: /tmp/collections-JcQ/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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Tuesday 05 November 2024 18:12:50 -0500 (0:00:00.024) 0:00:00.101 ****** ok: [managed-node1] TASK [fedora.linux_system_roles.podman : Check if system is ostree] ************ task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Tuesday 05 November 2024 18:12:51 -0500 (0:00:00.866) 0:00:00.968 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Tuesday 05 November 2024 18:12:51 -0500 (0:00:00.505) 0:00:01.473 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 Tuesday 05 November 2024 18:12:51 -0500 (0:00:00.059) 0:00:01.533 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag if transactional-update exists] *** task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 Tuesday 05 November 2024 18:12:52 -0500 (0:00:00.386) 0:00:01.919 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 Tuesday 05 November 2024 18:12:52 -0500 (0:00:00.080) 0:00:02.000 ****** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-JcQ/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-JcQ/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-JcQ/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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Tuesday 05 November 2024 18:12:52 -0500 (0:00:00.104) 0:00:02.104 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Tuesday 05 November 2024 18:12:54 -0500 (0:00:01.721) 0:00:03.825 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Tuesday 05 November 2024 18:12:54 -0500 (0:00:00.062) 0:00:03.888 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Tuesday 05 November 2024 18:12:54 -0500 (0:00:00.064) 0:00:03.953 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.podman : Reboot transactional update systems] *** task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 Tuesday 05 November 2024 18:12:54 -0500 (0:00:00.057) 0:00:04.010 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 Tuesday 05 November 2024 18:12:54 -0500 (0:00:00.062) 0:00:04.073 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 Tuesday 05 November 2024 18:12:54 -0500 (0:00:00.070) 0:00:04.143 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028643", "end": "2024-11-05 18:12:55.052113", "rc": 0, "start": "2024-11-05 18:12:55.023470" } STDOUT: podman version 4.9.4-dev TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 Tuesday 05 November 2024 18:12:55 -0500 (0:00:00.549) 0:00:04.692 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Tuesday 05 November 2024 18:12:55 -0500 (0:00:00.095) 0:00:04.788 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 Tuesday 05 November 2024 18:12:55 -0500 (0:00:00.055) 0:00:04.843 ****** 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-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Tuesday 05 November 2024 18:12:55 -0500 (0:00:00.099) 0:00:04.943 ****** 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-JcQ/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=11 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0 Tuesday 05 November 2024 18:12:55 -0500 (0:00:00.016) 0:00:04.959 ****** =============================================================================== fedora.linux_system_roles.podman : Gather the package facts ------------- 1.72s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.87s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Get podman version ------------------- 0.55s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 fedora.linux_system_roles.podman : Check if system is ostree ------------ 0.51s /tmp/collections-JcQ/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.39s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.10s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets --- 0.10s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 fedora.linux_system_roles.podman : Set podman version ------------------- 0.10s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 fedora.linux_system_roles.podman : Set flag if transactional-update exists --- 0.08s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 fedora.linux_system_roles.podman : Fail if reboot is needed and not set --- 0.07s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 fedora.linux_system_roles.podman : Ensure required packages are installed --- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Reboot transactional update systems --- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 fedora.linux_system_roles.podman : Enable copr if requested ------------- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 fedora.linux_system_roles.podman : Set flag to indicate system is ostree --- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 fedora.linux_system_roles.podman : Notify user that reboot is needed to apply changes --- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 fedora.linux_system_roles.podman : Podman package version must be 4.2 or later --- 0.06s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Include vault variables ------------------------------------------------- 0.04s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_default.yml:5 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.02s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets --- 0.02s /tmp/collections-JcQ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80