ansible-playbook [core 2.16.13] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-bgk executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_quadlet_pod.yml ************************************************ 2 plays in /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml:5 Tuesday 05 November 2024 18:59:05 -0500 (0:00:00.013) 0:00:00.013 ****** ok: [managed-node2] => { "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-wCv/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that the role can manage quadlet pods] **************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml:9 Tuesday 05 November 2024 18:59:05 -0500 (0:00:00.033) 0:00:00.046 ****** ok: [managed-node2] TASK [Run the role - root] ***************************************************** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml:34 Tuesday 05 November 2024 18:59:06 -0500 (0:00:01.269) 0:00:01.316 ****** TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Tuesday 05 November 2024 18:59:06 -0500 (0:00:00.083) 0:00:01.399 ****** included: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.podman : Ensure ansible_facts used by role] **** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.034) 0:00:01.433 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__podman_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Check if system is ostree] ************ task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.039) 0:00:01.472 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.451) 0:00:01.924 ****** ok: [managed-node2] => { "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.035) 0:00:01.959 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag if transactional-update exists] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.380) 0:00:02.339 ****** ok: [managed-node2] => { "ansible_facts": { "__podman_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 Tuesday 05 November 2024 18:59:07 -0500 (0:00:00.032) 0:00:02.372 ****** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/collections-bgk/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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Tuesday 05 November 2024 18:59:08 -0500 (0:00:00.071) 0:00:02.444 ****** ok: [managed-node2] => { "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Tuesday 05 November 2024 18:59:09 -0500 (0:00:01.852) 0:00:04.297 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "podman_use_copr | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Ensure required packages are installed] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Tuesday 05 November 2024 18:59:09 -0500 (0:00:00.051) 0:00:04.348 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Tuesday 05 November 2024 18:59:09 -0500 (0:00:00.061) 0:00:04.410 ****** skipping: [managed-node2] => { "false_condition": "__podman_is_transactional | d(false)" } TASK [fedora.linux_system_roles.podman : Reboot transactional update systems] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 Tuesday 05 November 2024 18:59:10 -0500 (0:00:00.085) 0:00:04.495 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__podman_is_transactional | d(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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 Tuesday 05 November 2024 18:59:10 -0500 (0:00:00.114) 0:00:04.609 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__podman_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 Tuesday 05 November 2024 18:59:10 -0500 (0:00:00.116) 0:00:04.726 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.029608", "end": "2024-11-05 18:59:10.918380", "rc": 0, "start": "2024-11-05 18:59:10.888772" } STDOUT: podman version 4.9.4-dev TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.708) 0:00:05.434 ****** ok: [managed-node2] => { "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.056) 0:00:05.490 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "podman_version is version(\"4.2\", \"<\")", "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.049) 0:00:05.540 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "podman_version is version(\"4.4\", \"<\")", "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-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:73 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.095) 0:00:05.635 ****** META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.078) 0:00:05.714 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "podman_fail_if_too_old | d(true)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets] *** task path: /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:96 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.075) 0:00:05.789 ****** META: ending play for managed-node2 PLAY RECAP ********************************************************************* managed-node2 : ok=11 changed=0 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Tuesday 05 November 2024 18:59:11 -0500 (0:00:00.074) 0:00:05.863 ****** =============================================================================== fedora.linux_system_roles.podman : Gather the package facts ------------- 1.85s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml:9 fedora.linux_system_roles.podman : Get podman version ------------------- 0.71s /tmp/collections-bgk/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-bgk/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.38s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 fedora.linux_system_roles.podman : Fail if reboot is needed and not set --- 0.12s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 fedora.linux_system_roles.podman : Reboot transactional update systems --- 0.11s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets --- 0.10s /tmp/collections-bgk/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.09s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Run the role - root ----------------------------------------------------- 0.08s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/tests/podman/tests_quadlet_pod.yml:34 fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets --- 0.08s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:73 fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets --- 0.08s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets --- 0.07s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:96 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.07s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 fedora.linux_system_roles.podman : Ensure required packages are installed --- 0.06s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Set podman version ------------------- 0.06s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 fedora.linux_system_roles.podman : Enable copr if requested ------------- 0.05s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 fedora.linux_system_roles.podman : Podman package version must be 4.2 or later --- 0.05s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.04s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Set flag to indicate system is ostree --- 0.04s /tmp/collections-bgk/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16