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-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/tests/podman/tests_default.yml:5 Tuesday 05 November 2024 18:28:00 -0500 (0:00:00.021) 0:00:00.021 ****** 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 [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-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Tuesday 05 November 2024 18:28:00 -0500 (0:00:00.024) 0:00:00.045 ****** 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:28:00 -0500 (0:00:00.022) 0:00:00.068 ****** ok: [managed-node1] 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:28:00 -0500 (0:00:00.759) 0:00:00.827 ****** 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:28:01 -0500 (0:00:00.452) 0:00:01.279 ****** 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:28:01 -0500 (0:00:00.037) 0:00:01.317 ****** 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:28:01 -0500 (0:00:00.358) 0:00:01.675 ****** 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:28:01 -0500 (0:00:00.037) 0:00:01.713 ****** 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:28:01 -0500 (0:00:00.061) 0:00:01.775 ****** 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:28:03 -0500 (0:00:01.611) 0:00:03.386 ****** 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:28:03 -0500 (0:00:00.050) 0:00:03.436 ****** 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-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Tuesday 05 November 2024 18:28:03 -0500 (0:00:00.054) 0:00:03.490 ****** 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:28:03 -0500 (0:00:00.065) 0:00:03.556 ****** 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:28:03 -0500 (0:00:00.050) 0:00:03.607 ****** 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:28:03 -0500 (0:00:00.049) 0:00:03.656 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.026690", "end": "2024-11-05 18:28:04.072858", "rc": 0, "start": "2024-11-05 18:28:04.046168" } 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:28:04 -0500 (0:00:00.497) 0:00:04.154 ****** 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:28:04 -0500 (0:00:00.052) 0:00:04.207 ****** 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:28:04 -0500 (0:00:00.052) 0:00:04.259 ****** 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:28:04 -0500 (0:00:00.089) 0:00:04.350 ****** 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=11 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0 Tuesday 05 November 2024 18:28:04 -0500 (0:00:00.015) 0:00:04.365 ****** =============================================================================== fedora.linux_system_roles.podman : Gather the package facts ------------- 1.61s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.76s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 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.45s /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.36s /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 fedora.linux_system_roles.podman : Notify user that reboot is needed to apply changes --- 0.07s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.06s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 fedora.linux_system_roles.podman : Ensure required packages are installed --- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Set podman version ------------------- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 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 : Reboot transactional update systems --- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 fedora.linux_system_roles.podman : Enable copr if requested ------------- 0.05s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 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 : 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 flag to indicate system is ostree --- 0.04s /tmp/collections-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Include vault variables ------------------------------------------------- 0.02s /tmp/collections-12H/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-12H/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-12H/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80