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 'jsonl', 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_multiple_users.yml ********************************************* 2 plays in /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:5 Saturday 11 October 2025 12:35:39 -0400 (0:00:00.033) 0:00:00.033 ****** 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-4tU/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test that role handles multiple users] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:9 Saturday 11 October 2025 12:35:39 -0400 (0:00:00.024) 0:00:00.057 ****** ok: [managed-node1] META: ran handlers TASK [Create users] ************************************************************ task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:19 Saturday 11 October 2025 12:35:40 -0400 (0:00:01.032) 0:00:01.090 ****** changed: [managed-node1] => (item=lsr_multiple_user1) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 4002, "home": "/home/lsr_multiple_user1", "item": "lsr_multiple_user1", "name": "lsr_multiple_user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 4002 } changed: [managed-node1] => (item=lsr_multiple_user2) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 4003, "home": "/home/lsr_multiple_user2", "item": "lsr_multiple_user2", "name": "lsr_multiple_user2", "shell": "/bin/bash", "state": "present", "system": false, "uid": 4003 } TASK [Configure podman for users] ********************************************** task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:24 Saturday 11 October 2025 12:35:42 -0400 (0:00:01.110) 0:00:02.200 ****** TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Saturday 11 October 2025 12:35:42 -0400 (0:00:00.203) 0:00:02.404 ****** included: /tmp/collections-tnJ/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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Saturday 11 October 2025 12:35:42 -0400 (0:00:00.046) 0:00:02.450 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Saturday 11 October 2025 12:35:42 -0400 (0:00:00.068) 0:00:02.518 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Saturday 11 October 2025 12:35:42 -0400 (0:00:00.515) 0:00:03.034 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 Saturday 11 October 2025 12:35:42 -0400 (0:00:00.056) 0:00:03.090 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag if transactional-update exists] *** task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:28 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.379) 0:00:03.469 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.050) 0:00:03.520 ****** [WARNING]: The loop variable '__vars_file' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node1] => (item=RedHat.yml) => { "__vars_file": "RedHat.yml", "ansible_loop_var": "__vars_file", "changed": false, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "__vars_file": "CentOS.yml", "ansible_loop_var": "__vars_file", "changed": false, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "__vars_file": "CentOS_8.yml", "ansible_loop_var": "__vars_file", "changed": false, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "__vars_file": "CentOS_8.yml", "ansible_loop_var": "__vars_file", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Run systemctl] ************************ task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:52 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.058) 0:00:03.578 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007322", "end": "2025-10-11 12:35:43.829335", "failed_when_result": false, "rc": 0, "start": "2025-10-11 12:35:43.822013" } STDOUT: running TASK [fedora.linux_system_roles.podman : Require installed systemd] ************ task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:60 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.433) 0:00:04.012 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:65 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.053) 0:00:04.065 ****** ok: [managed-node1] => { "ansible_facts": { "__podman_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Saturday 11 October 2025 12:35:43 -0400 (0:00:00.056) 0:00:04.121 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Saturday 11 October 2025 12:35:45 -0400 (0:00:01.758) 0:00:05.880 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Saturday 11 October 2025 12:35:45 -0400 (0:00:00.084) 0:00:05.964 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Saturday 11 October 2025 12:35:45 -0400 (0:00:00.070) 0:00:06.035 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.podman : Reboot transactional update systems] *** task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.098) 0:00:06.133 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:38 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.052) 0:00:06.186 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.051) 0:00:06.237 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.026822", "end": "2025-10-11 12:35:46.421121", "rc": 0, "start": "2025-10-11 12:35:46.394299" } STDOUT: podman version 4.9.4-dev TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.373) 0:00:06.610 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.054) 0:00:06.665 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:63 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.051) 0:00:06.716 ****** 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-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Saturday 11 October 2025 12:35:46 -0400 (0:00:00.098) 0:00:06.815 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ending play for managed-node1 PLAY RECAP ********************************************************************* managed-node1 : ok=13 changed=1 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 11 October 2025 12:35:46 -0400 (0:00:00.075) 0:00:06.890 ****** =============================================================================== fedora.linux_system_roles.podman : Gather the package facts ------------- 1.76s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Create users ------------------------------------------------------------ 1.11s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:19 Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:9 fedora.linux_system_roles.podman : Check if system is ostree ------------ 0.52s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 fedora.linux_system_roles.podman : Run systemctl ------------------------ 0.43s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:52 fedora.linux_system_roles.podman : Check if transactional-update exists in /sbin --- 0.38s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:23 fedora.linux_system_roles.podman : Get podman version ------------------- 0.37s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:46 Configure podman for users ---------------------------------------------- 0.20s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/tests/podman/tests_multiple_users.yml:24 fedora.linux_system_roles.podman : Podman package version must be 4.4 or later for quadlet, secrets --- 0.10s /tmp/collections-tnJ/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.10s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 fedora.linux_system_roles.podman : Enable copr if requested ------------- 0.08s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 fedora.linux_system_roles.podman : Podman package version must be 5.0 or later for Pod quadlets --- 0.08s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 fedora.linux_system_roles.podman : Ensure required packages are installed --- 0.07s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 fedora.linux_system_roles.podman : Ensure ansible_facts used by role ---- 0.07s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 fedora.linux_system_roles.podman : Set platform/version specific variables --- 0.06s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:32 fedora.linux_system_roles.podman : Set flag to indicate system is ostree --- 0.06s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 fedora.linux_system_roles.podman : Set flag to indicate that systemd runtime operations are available --- 0.06s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:65 fedora.linux_system_roles.podman : Set podman version ------------------- 0.05s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:52 fedora.linux_system_roles.podman : Require installed systemd ------------ 0.05s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:60 fedora.linux_system_roles.podman : Reboot transactional update systems --- 0.05s /tmp/collections-tnJ/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:33