[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.jJo7miTiKY executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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_config_files.yml *********************************************** 2 plays in /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:5 Wednesday 31 July 2024 21:18:32 -0400 (0:00:00.008) 0:00:00.008 ******** 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": [ "/var/ARTIFACTS/work-generaluzzytg4q/plans/general/tree/podman/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:9 Wednesday 31 July 2024 21:18:32 -0400 (0:00:00.038) 0:00:00.047 ******** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Run the role with no config to get private vars] ************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:48 Wednesday 31 July 2024 21:18:33 -0400 (0:00:01.079) 0:00:01.127 ******** included: fedora.linux_system_roles.podman for managed_node1 TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 31 July 2024 21:18:33 -0400 (0:00:00.043) 0:00:01.170 ******** included: /tmp/tmp.jJo7miTiKY/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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 31 July 2024 21:18:33 -0400 (0:00:00.025) 0:00:01.195 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Wednesday 31 July 2024 21:18:33 -0400 (0:00:00.036) 0:00:01.232 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Wednesday 31 July 2024 21:18:34 -0400 (0:00:00.445) 0:00:01.678 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:20 Wednesday 31 July 2024 21:18:34 -0400 (0:00:00.023) 0:00:01.702 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/tmp.jJo7miTiKY/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, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 31 July 2024 21:18:34 -0400 (0:00:00.040) 0:00:01.742 ******** 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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Wednesday 31 July 2024 21:18:35 -0400 (0:00:01.191) 0:00:02.933 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 31 July 2024 21:18:35 -0400 (0:00:00.050) 0:00:02.984 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:22 Wednesday 31 July 2024 21:18:35 -0400 (0:00:00.052) 0:00:03.036 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030613", "end": "2024-07-31 21:18:36.036381", "rc": 0, "start": "2024-07-31 21:18:36.005768" } STDOUT: podman version 5.1.2 TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.485) 0:00:03.522 ******** ok: [managed_node1] => { "ansible_facts": { "podman_version": "5.1.2" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:32 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.033) 0:00:03.556 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:39 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.034) 0:00:03.590 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(podman_quadlet_specs | length > 0) or (podman_secrets | length > 0)", "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:49 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.052) 0:00:03.643 ******** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [fedora.linux_system_roles.podman : Check user and group information] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.052) 0:00:03.696 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Get user information] ***************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:2 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.064) 0:00:03.760 ******** ok: [managed_node1] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Fail if user does not exist] ********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:9 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.460) 0:00:04.220 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts[\"getent_passwd\"][__podman_user]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set group for podman user] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:16 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.033) 0:00:04.254 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [fedora.linux_system_roles.podman : Get group information] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:28 Wednesday 31 July 2024 21:18:36 -0400 (0:00:00.068) 0:00:04.323 ******** ok: [managed_node1] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Set group name] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:35 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.375) 0:00:04.698 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [fedora.linux_system_roles.podman : See if getsubids exists] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:39 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.040) 0:00:04.739 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474542.5078738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "fc3588658699d4eb56c9a9cdf6678e83337ea7ee", "ctime": 1722474500.312435, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6544613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1719992328.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15680, "uid": 0, "version": "3416615357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.podman : Check user with getsubids] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:50 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.371) 0:00:05.110 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Check group with getsubids] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:55 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.029) 0:00:05.140 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:60 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.029) 0:00:05.169 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subuid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:74 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.028) 0:00:05.198 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subgid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:79 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.028) 0:00:05.227 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:84 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.028) 0:00:05.255 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user not in subuid file] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:94 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.028) 0:00:05.284 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if group not in subgid file] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:101 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.028) 0:00:05.312 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set config file paths] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:62 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.029) 0:00:05.341 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:71 Wednesday 31 July 2024 21:18:37 -0400 (0:00:00.057) 0:00:05.398 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:5 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.061) 0:00:05.460 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_containers_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update container config file] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.030) 0:00:05.491 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_containers_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:74 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.030) 0:00:05.522 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:5 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.061) 0:00:05.583 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_registries_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update registries config file] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.056) 0:00:05.640 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_registries_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle storage.conf] ****************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:77 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.031) 0:00:05.671 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure storage.conf parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:5 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.062) 0:00:05.734 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_storage_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Update storage config file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.031) 0:00:05.765 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_storage_conf | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Handle policy.json] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.030) 0:00:05.795 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure policy.json parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:6 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.065) 0:00:05.861 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_policy_json | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Stat the policy.json file] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:14 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.030) 0:00:05.892 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_policy_json | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get the existing policy.json] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:19 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.031) 0:00:05.923 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_policy_json | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Write new policy.json file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.031) 0:00:05.954 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_policy_json | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:86 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.032) 0:00:05.986 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_firewall | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:93 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.031) 0:00:06.018 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_selinux_ports | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Keep track of users that need to cancel linger] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:100 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.029) 0:00:06.048 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle certs.d files - present] ******* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:104 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.030) 0:00:06.079 ******** skipping: [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 : Handle credential files - present] **** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:113 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.026) 0:00:06.106 ******** skipping: [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 : Handle secrets] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:122 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.027) 0:00:06.133 ******** skipping: [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 : Handle Kubernetes specifications] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:129 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.026) 0:00:06.159 ******** skipping: [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 : Handle Quadlet specifications] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:136 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.026) 0:00:06.186 ******** skipping: [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 : Cancel linger] ************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:143 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.026) 0:00:06.212 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.podman : Handle credential files - absent] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:149 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.052) 0:00:06.264 ******** skipping: [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 : Handle certs.d files - absent] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:158 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.027) 0:00:06.292 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create temp directory] *************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:59 Wednesday 31 July 2024 21:18:38 -0400 (0:00:00.043) 0:00:06.336 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_q5qfi_12", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:65 Wednesday 31 July 2024 21:18:39 -0400 (0:00:00.452) 0:00:06.789 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_q5qfi_12/backup.tar", "/etc/containers/containers.conf.d/50-systemroles.conf", "/etc/containers/registries.conf.d/50-systemroles.conf", "/etc/containers/storage.conf", "/etc/containers/policy.json" ], "delta": "0:00:00.142276", "end": "2024-07-31 21:18:39.817345", "rc": 0, "start": "2024-07-31 21:18:39.675069" } STDOUT: /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/storage.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:72 Wednesday 31 July 2024 21:18:39 -0400 (0:00:00.513) 0:00:07.303 ******** changed: [managed_node1] => { "changed": true, "comment": "", "create_home": true, "group": 3002, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 3002 } TASK [Run the role with user config] ******************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:76 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.661) 0:00:07.964 ******** included: fedora.linux_system_roles.podman for managed_node1 TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.083) 0:00:08.047 ******** included: /tmp/tmp.jJo7miTiKY/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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.053) 0:00:08.101 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.037) 0:00:08.139 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.033) 0:00:08.173 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:20 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.034) 0:00:08.208 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/tmp.jJo7miTiKY/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, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 31 July 2024 21:18:40 -0400 (0:00:00.069) 0:00:08.277 ******** 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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Wednesday 31 July 2024 21:18:41 -0400 (0:00:00.966) 0:00:09.244 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 31 July 2024 21:18:41 -0400 (0:00:00.059) 0:00:09.303 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:22 Wednesday 31 July 2024 21:18:41 -0400 (0:00:00.035) 0:00:09.339 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031595", "end": "2024-07-31 21:18:42.257868", "rc": 0, "start": "2024-07-31 21:18:42.226273" } STDOUT: podman version 5.1.2 TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.404) 0:00:09.744 ******** ok: [managed_node1] => { "ansible_facts": { "podman_version": "5.1.2" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:32 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.034) 0:00:09.778 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:39 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.035) 0:00:09.813 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(podman_quadlet_specs | length > 0) or (podman_secrets | length > 0)", "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:49 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.032) 0:00:09.846 ******** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [fedora.linux_system_roles.podman : Check user and group information] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.036) 0:00:09.883 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Get user information] ***************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:2 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.064) 0:00:09.948 ******** ok: [managed_node1] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "3002", "3002", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Fail if user does not exist] ********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:9 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.379) 0:00:10.327 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts[\"getent_passwd\"][__podman_user]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set group for podman user] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:16 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.036) 0:00:10.363 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group": "3002" }, "changed": false } TASK [fedora.linux_system_roles.podman : Get group information] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:28 Wednesday 31 July 2024 21:18:42 -0400 (0:00:00.046) 0:00:10.409 ******** ok: [managed_node1] => { "ansible_facts": { "getent_group": { "user1": [ "x", "3002", "" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Set group name] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:35 Wednesday 31 July 2024 21:18:43 -0400 (0:00:00.381) 0:00:10.791 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [fedora.linux_system_roles.podman : See if getsubids exists] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:39 Wednesday 31 July 2024 21:18:43 -0400 (0:00:00.041) 0:00:10.832 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474542.5078738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "fc3588658699d4eb56c9a9cdf6678e83337ea7ee", "ctime": 1722474500.312435, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6544613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1719992328.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15680, "uid": 0, "version": "3416615357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.podman : Check user with getsubids] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:50 Wednesday 31 July 2024 21:18:43 -0400 (0:00:00.372) 0:00:11.205 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004093", "end": "2024-07-31 21:18:44.098671", "rc": 0, "start": "2024-07-31 21:18:44.094578" } STDOUT: 0: user1 165536 65536 TASK [fedora.linux_system_roles.podman : Check group with getsubids] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:55 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.377) 0:00:11.583 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004210", "end": "2024-07-31 21:18:44.474879", "rc": 0, "start": "2024-07-31 21:18:44.470669" } STDOUT: 0: user1 165536 65536 TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:60 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.375) 0:00:11.958 ******** ok: [managed_node1] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 165536 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 165536 } } }, "changed": false } TASK [fedora.linux_system_roles.podman : Get subuid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:74 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.049) 0:00:12.008 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subgid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:79 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.029) 0:00:12.037 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:84 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.055) 0:00:12.093 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user not in subuid file] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:94 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.030) 0:00:12.123 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if group not in subgid file] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:101 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.029) 0:00:12.153 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set config file paths] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:62 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.029) 0:00:12.182 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:71 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.059) 0:00:12.242 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:5 Wednesday 31 July 2024 21:18:44 -0400 (0:00:00.060) 0:00:12.302 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update container config file] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 Wednesday 31 July 2024 21:18:45 -0400 (0:00:00.480) 0:00:12.783 ******** changed: [managed_node1] => { "changed": true, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "6c7ebf8d89ccba8db738c4afe2b97f5a", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "src": "/root/.ansible/tmp/ansible-tmp-1722475125.4108822-14544-190515757729631/.source.conf", "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:74 Wednesday 31 July 2024 21:18:46 -0400 (0:00:00.797) 0:00:13.581 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:5 Wednesday 31 July 2024 21:18:46 -0400 (0:00:00.063) 0:00:13.644 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update registries config file] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 Wednesday 31 July 2024 21:18:46 -0400 (0:00:00.386) 0:00:14.030 ******** changed: [managed_node1] => { "changed": true, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "92130a764e88fe669136f6cf26613a84", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "src": "/root/.ansible/tmp/ansible-tmp-1722475126.6598823-14568-179855237704967/.source.conf", "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle storage.conf] ****************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:77 Wednesday 31 July 2024 21:18:47 -0400 (0:00:00.716) 0:00:14.747 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure storage.conf parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:5 Wednesday 31 July 2024 21:18:47 -0400 (0:00:00.063) 0:00:14.810 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 56, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update storage config file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 Wednesday 31 July 2024 21:18:47 -0400 (0:00:00.390) 0:00:15.201 ******** changed: [managed_node1] => { "changed": true, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "md5sum": "47c893f010daf00398b7ed40f434aa0e", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "src": "/root/.ansible/tmp/ansible-tmp-1722475127.831719-14592-272754148914027/.source.conf", "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle policy.json] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Wednesday 31 July 2024 21:18:48 -0400 (0:00:00.712) 0:00:15.914 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure policy.json parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:6 Wednesday 31 July 2024 21:18:48 -0400 (0:00:00.066) 0:00:15.980 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 76, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Stat the policy.json file] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:14 Wednesday 31 July 2024 21:18:48 -0400 (0:00:00.417) 0:00:16.398 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.podman : Get the existing policy.json] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:19 Wednesday 31 July 2024 21:18:49 -0400 (0:00:00.368) 0:00:16.767 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_policy_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Write new policy.json file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 Wednesday 31 July 2024 21:18:49 -0400 (0:00:00.033) 0:00:16.800 ******** changed: [managed_node1] => { "changed": true, "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "dest": "/home/user1/.config/containers/policy.json", "gid": 0, "group": "root", "md5sum": "443c1986d4a8657dddae55f350d122e2", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 67, "src": "/root/.ansible/tmp/ansible-tmp-1722475129.4329648-14625-143229322320664/.source.json", "state": "file", "uid": 3002 } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:86 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.693) 0:00:17.493 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_firewall | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:93 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.031) 0:00:17.525 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_selinux_ports | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Keep track of users that need to cancel linger] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:100 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.031) 0:00:17.557 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle certs.d files - present] ******* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:104 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.031) 0:00:17.588 ******** skipping: [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 : Handle credential files - present] **** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:113 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.029) 0:00:17.618 ******** skipping: [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 : Handle secrets] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:122 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.028) 0:00:17.646 ******** skipping: [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 : Handle Kubernetes specifications] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:129 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.028) 0:00:17.675 ******** skipping: [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 : Handle Quadlet specifications] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:136 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.027) 0:00:17.703 ******** skipping: [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 : Cancel linger] ************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:143 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.028) 0:00:17.731 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.podman : Handle credential files - absent] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:149 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.028) 0:00:17.760 ******** skipping: [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 : Handle certs.d files - absent] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:158 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.029) 0:00:17.790 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files exist and are non-null] ********************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:83 Wednesday 31 July 2024 21:18:50 -0400 (0:00:00.045) 0:00:17.835 ******** ok: [managed_node1] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1722475126.0940585, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1722475126.0970585, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 197132552, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475125.7320716, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 3002, "version": "1229150816", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1722475127.2580166, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1722475127.2620163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 209715529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475126.9880264, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 3002, "version": "2680744168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/storage.conf", "stat": { "atime": 1722475128.4259744, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1722475128.4289742, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 220201223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475128.156984, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 3002, "version": "3415613467", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/policy.json", "stat": { "atime": 1722475130.0059173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475130.0099173, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 234881287, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1722475129.740927, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 3002, "version": "2794081587", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:90 Wednesday 31 July 2024 21:18:51 -0400 (0:00:01.427) 0:00:19.263 ******** included: fedora.linux_system_roles.podman for managed_node1 TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 31 July 2024 21:18:51 -0400 (0:00:00.095) 0:00:19.359 ******** included: /tmp/tmp.jJo7miTiKY/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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 31 July 2024 21:18:52 -0400 (0:00:00.085) 0:00:19.444 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Wednesday 31 July 2024 21:18:52 -0400 (0:00:00.038) 0:00:19.483 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Wednesday 31 July 2024 21:18:52 -0400 (0:00:00.035) 0:00:19.518 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:20 Wednesday 31 July 2024 21:18:52 -0400 (0:00:00.033) 0:00:19.552 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/tmp.jJo7miTiKY/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, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 31 July 2024 21:18:52 -0400 (0:00:00.069) 0:00:19.622 ******** 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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.917) 0:00:20.539 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.031) 0:00:20.570 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:22 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.035) 0:00:20.606 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028074", "end": "2024-07-31 21:18:53.514547", "rc": 0, "start": "2024-07-31 21:18:53.486473" } STDOUT: podman version 5.1.2 TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.393) 0:00:21.000 ******** ok: [managed_node1] => { "ansible_facts": { "podman_version": "5.1.2" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:32 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.035) 0:00:21.035 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:39 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.034) 0:00:21.069 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(podman_quadlet_specs | length > 0) or (podman_secrets | length > 0)", "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:49 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.031) 0:00:21.100 ******** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [fedora.linux_system_roles.podman : Check user and group information] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.035) 0:00:21.136 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Get user information] ***************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:2 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.064) 0:00:21.200 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'getent_passwd' not in ansible_facts or __podman_user not in ansible_facts['getent_passwd']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user does not exist] ********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:9 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.065) 0:00:21.266 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts[\"getent_passwd\"][__podman_user]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set group for podman user] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:16 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.036) 0:00:21.303 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group": "3002" }, "changed": false } TASK [fedora.linux_system_roles.podman : Get group information] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:28 Wednesday 31 July 2024 21:18:53 -0400 (0:00:00.047) 0:00:21.350 ******** ok: [managed_node1] => { "ansible_facts": { "getent_group": { "user1": [ "x", "3002", "" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Set group name] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:35 Wednesday 31 July 2024 21:18:54 -0400 (0:00:00.379) 0:00:21.730 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [fedora.linux_system_roles.podman : See if getsubids exists] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:39 Wednesday 31 July 2024 21:18:54 -0400 (0:00:00.041) 0:00:21.771 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474542.5078738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "fc3588658699d4eb56c9a9cdf6678e83337ea7ee", "ctime": 1722474500.312435, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6544613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1719992328.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15680, "uid": 0, "version": "3416615357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.podman : Check user with getsubids] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:50 Wednesday 31 July 2024 21:18:54 -0400 (0:00:00.376) 0:00:22.148 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004210", "end": "2024-07-31 21:18:55.036524", "rc": 0, "start": "2024-07-31 21:18:55.032314" } STDOUT: 0: user1 165536 65536 TASK [fedora.linux_system_roles.podman : Check group with getsubids] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:55 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.372) 0:00:22.520 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004086", "end": "2024-07-31 21:18:55.412016", "rc": 0, "start": "2024-07-31 21:18:55.407930" } STDOUT: 0: user1 165536 65536 TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:60 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.376) 0:00:22.897 ******** ok: [managed_node1] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 165536 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 165536 } } }, "changed": false } TASK [fedora.linux_system_roles.podman : Get subuid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:74 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.050) 0:00:22.948 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subgid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:79 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.029) 0:00:22.978 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:84 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.030) 0:00:23.009 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user not in subuid file] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:94 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.029) 0:00:23.039 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if group not in subgid file] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:101 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.030) 0:00:23.069 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set config file paths] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:62 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.028) 0:00:23.098 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:71 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.061) 0:00:23.159 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:5 Wednesday 31 July 2024 21:18:55 -0400 (0:00:00.061) 0:00:23.220 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update container config file] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 Wednesday 31 July 2024 21:18:56 -0400 (0:00:00.384) 0:00:23.605 ******** ok: [managed_node1] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:74 Wednesday 31 July 2024 21:18:56 -0400 (0:00:00.656) 0:00:24.261 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:5 Wednesday 31 July 2024 21:18:56 -0400 (0:00:00.092) 0:00:24.353 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update registries config file] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 Wednesday 31 July 2024 21:18:57 -0400 (0:00:00.383) 0:00:24.737 ******** ok: [managed_node1] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle storage.conf] ****************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:77 Wednesday 31 July 2024 21:18:57 -0400 (0:00:00.655) 0:00:25.393 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure storage.conf parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:5 Wednesday 31 July 2024 21:18:58 -0400 (0:00:00.063) 0:00:25.456 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Update storage config file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 Wednesday 31 July 2024 21:18:58 -0400 (0:00:00.385) 0:00:25.842 ******** ok: [managed_node1] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Handle policy.json] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Wednesday 31 July 2024 21:18:59 -0400 (0:00:00.663) 0:00:26.505 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure policy.json parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:6 Wednesday 31 July 2024 21:18:59 -0400 (0:00:00.065) 0:00:26.571 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 3002 } TASK [fedora.linux_system_roles.podman : Stat the policy.json file] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:14 Wednesday 31 July 2024 21:18:59 -0400 (0:00:00.385) 0:00:26.956 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722475131.7678537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475130.0099173, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 234881287, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1722475129.740927, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 3002, "version": "2794081587", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.podman : Get the existing policy.json] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:19 Wednesday 31 July 2024 21:18:59 -0400 (0:00:00.375) 0:00:27.332 ******** ok: [managed_node1] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [fedora.linux_system_roles.podman : Write new policy.json file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.458) 0:00:27.790 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__policy_existing != podman_policy_json", "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:86 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.034) 0:00:27.825 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_firewall | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:93 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.032) 0:00:27.858 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_selinux_ports | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Keep track of users that need to cancel linger] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:100 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.031) 0:00:27.889 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle certs.d files - present] ******* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:104 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.031) 0:00:27.921 ******** skipping: [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 : Handle credential files - present] **** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:113 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.027) 0:00:27.949 ******** skipping: [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 : Handle secrets] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:122 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.028) 0:00:27.977 ******** skipping: [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 : Handle Kubernetes specifications] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:129 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.061) 0:00:28.039 ******** skipping: [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 : Handle Quadlet specifications] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:136 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.028) 0:00:28.068 ******** skipping: [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 : Cancel linger] ************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:143 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.029) 0:00:28.097 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.podman : Handle credential files - absent] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:149 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.027) 0:00:28.125 ******** skipping: [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 : Handle certs.d files - absent] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:158 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.028) 0:00:28.154 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files still exist and are non-null] *************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:97 Wednesday 31 July 2024 21:19:00 -0400 (0:00:00.045) 0:00:28.200 ******** ok: [managed_node1] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1722475130.7238913, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1722475126.0970585, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 197132552, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475125.7320716, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 3002, "version": "1229150816", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1722475131.0728788, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1722475127.2620163, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 209715529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475126.9880264, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 3002, "version": "2680744168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/storage.conf", "stat": { "atime": 1722475131.4208663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1722475128.4289742, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 220201223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475128.156984, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 3002, "version": "3415613467", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/policy.json", "stat": { "atime": 1722475131.7678537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475130.0099173, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 234881287, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1722475129.740927, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 3002, "version": "2794081587", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:104 Wednesday 31 July 2024 21:19:02 -0400 (0:00:01.462) 0:00:29.662 ******** included: fedora.linux_system_roles.podman for managed_node1 TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.115) 0:00:29.777 ******** included: /tmp/tmp.jJo7miTiKY/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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.057) 0:00:29.835 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.040) 0:00:29.875 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.037) 0:00:29.913 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:20 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.036) 0:00:29.949 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/tmp.jJo7miTiKY/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, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 31 July 2024 21:19:02 -0400 (0:00:00.074) 0:00:30.024 ******** 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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Wednesday 31 July 2024 21:19:03 -0400 (0:00:01.026) 0:00:31.050 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 31 July 2024 21:19:03 -0400 (0:00:00.033) 0:00:31.083 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:22 Wednesday 31 July 2024 21:19:03 -0400 (0:00:00.037) 0:00:31.120 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028554", "end": "2024-07-31 21:19:04.033927", "rc": 0, "start": "2024-07-31 21:19:04.005373" } STDOUT: podman version 5.1.2 TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.398) 0:00:31.519 ******** ok: [managed_node1] => { "ansible_facts": { "podman_version": "5.1.2" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:32 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.034) 0:00:31.554 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:39 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.033) 0:00:31.588 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(podman_quadlet_specs | length > 0) or (podman_secrets | length > 0)", "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:49 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.033) 0:00:31.621 ******** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [fedora.linux_system_roles.podman : Check user and group information] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.036) 0:00:31.657 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Get user information] ***************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:2 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.064) 0:00:31.721 ******** ok: [managed_node1] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Fail if user does not exist] ********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:9 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.394) 0:00:32.116 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts[\"getent_passwd\"][__podman_user]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set group for podman user] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:16 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.037) 0:00:32.153 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [fedora.linux_system_roles.podman : Get group information] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:28 Wednesday 31 July 2024 21:19:04 -0400 (0:00:00.047) 0:00:32.201 ******** ok: [managed_node1] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Set group name] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:35 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.382) 0:00:32.583 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [fedora.linux_system_roles.podman : See if getsubids exists] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:39 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.041) 0:00:32.625 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474542.5078738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "fc3588658699d4eb56c9a9cdf6678e83337ea7ee", "ctime": 1722474500.312435, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6544613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1719992328.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15680, "uid": 0, "version": "3416615357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.podman : Check user with getsubids] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:50 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.380) 0:00:33.005 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Check group with getsubids] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:55 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.030) 0:00:33.035 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:60 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.030) 0:00:33.066 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subuid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:74 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.030) 0:00:33.097 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subgid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:79 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.063) 0:00:33.160 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:84 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.031) 0:00:33.191 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user not in subuid file] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:94 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.030) 0:00:33.221 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if group not in subgid file] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:101 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.030) 0:00:33.252 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set config file paths] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:62 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.029) 0:00:33.281 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:71 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.061) 0:00:33.343 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:5 Wednesday 31 July 2024 21:19:05 -0400 (0:00:00.061) 0:00:33.405 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update container config file] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 Wednesday 31 July 2024 21:19:06 -0400 (0:00:00.388) 0:00:33.794 ******** changed: [managed_node1] => { "changed": true, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "6c7ebf8d89ccba8db738c4afe2b97f5a", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "src": "/root/.ansible/tmp/ansible-tmp-1722475146.4249735-14953-127265098287223/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:74 Wednesday 31 July 2024 21:19:07 -0400 (0:00:00.713) 0:00:34.507 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:5 Wednesday 31 July 2024 21:19:07 -0400 (0:00:00.062) 0:00:34.570 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 107, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update registries config file] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 Wednesday 31 July 2024 21:19:07 -0400 (0:00:00.390) 0:00:34.960 ******** changed: [managed_node1] => { "changed": true, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "92130a764e88fe669136f6cf26613a84", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "src": "/root/.ansible/tmp/ansible-tmp-1722475147.589336-14977-256232938950279/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle storage.conf] ****************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:77 Wednesday 31 July 2024 21:19:08 -0400 (0:00:00.709) 0:00:35.670 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure storage.conf parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:5 Wednesday 31 July 2024 21:19:08 -0400 (0:00:00.065) 0:00:35.735 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update storage config file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 Wednesday 31 July 2024 21:19:08 -0400 (0:00:00.386) 0:00:36.121 ******** changed: [managed_node1] => { "changed": true, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "md5sum": "47c893f010daf00398b7ed40f434aa0e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "src": "/root/.ansible/tmp/ansible-tmp-1722475148.7492225-15002-99753558252057/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle policy.json] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Wednesday 31 July 2024 21:19:09 -0400 (0:00:00.700) 0:00:36.821 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure policy.json parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:6 Wednesday 31 July 2024 21:19:09 -0400 (0:00:00.097) 0:00:36.919 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Stat the policy.json file] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:14 Wednesday 31 July 2024 21:19:09 -0400 (0:00:00.387) 0:00:37.307 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474565.4270244, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1722474500.6424227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 48234626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712928143.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "2227324984", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.podman : Get the existing policy.json] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:19 Wednesday 31 July 2024 21:19:10 -0400 (0:00:00.377) 0:00:37.684 ******** ok: [managed_node1] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [fedora.linux_system_roles.podman : Write new policy.json file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 Wednesday 31 July 2024 21:19:10 -0400 (0:00:00.369) 0:00:38.053 ******** changed: [managed_node1] => { "changed": true, "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "dest": "/etc/containers/policy.json", "gid": 0, "group": "root", "md5sum": "443c1986d4a8657dddae55f350d122e2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 67, "src": "/root/.ansible/tmp/ansible-tmp-1722475150.6865106-15042-191758852030958/.source.json", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:86 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.705) 0:00:38.759 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_firewall | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:93 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.033) 0:00:38.792 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_selinux_ports | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Keep track of users that need to cancel linger] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:100 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.031) 0:00:38.824 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle certs.d files - present] ******* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:104 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.032) 0:00:38.857 ******** skipping: [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 : Handle credential files - present] **** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:113 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.027) 0:00:38.884 ******** skipping: [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 : Handle secrets] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:122 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.028) 0:00:38.913 ******** skipping: [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 : Handle Kubernetes specifications] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:129 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.026) 0:00:38.940 ******** skipping: [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 : Handle Quadlet specifications] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:136 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.029) 0:00:38.969 ******** skipping: [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 : Cancel linger] ************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:143 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.029) 0:00:38.998 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.podman : Handle credential files - absent] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:149 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.027) 0:00:39.026 ******** skipping: [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 : Handle certs.d files - absent] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:158 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.028) 0:00:39.054 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files exist and are non-null] ********************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:111 Wednesday 31 July 2024 21:19:11 -0400 (0:00:00.043) 0:00:39.098 ******** ok: [managed_node1] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1722475147.0163028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1722475147.0203028, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 371196106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475146.7493126, "nlink": 1, "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 0, "version": "3684558590", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1722475148.180261, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1722475148.1842608, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 381681958, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475147.9152706, "nlink": 1, "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 0, "version": "4227600513", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1722475149.3332193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1722475149.337219, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 392167626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475149.069229, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "4154360737", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1722474565.4270244, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475151.2711492, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 411041994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712928143.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2320676526", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:118 Wednesday 31 July 2024 21:19:13 -0400 (0:00:01.442) 0:00:40.541 ******** included: fedora.linux_system_roles.podman for managed_node1 TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:3 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.159) 0:00:40.700 ******** included: /tmp/tmp.jJo7miTiKY/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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:3 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.056) 0:00:40.756 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:11 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.039) 0:00:40.796 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:16 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.035) 0:00:40.831 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set platform/version specific variables] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/set_vars.yml:20 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.035) 0:00:40.867 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/tmp/tmp.jJo7miTiKY/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, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Gather the package facts] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Wednesday 31 July 2024 21:19:13 -0400 (0:00:00.069) 0:00:40.937 ******** 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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:10 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.928) 0:00:41.866 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:14 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.032) 0:00:41.898 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(__podman_packages | difference(ansible_facts.packages))", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:22 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.036) 0:00:41.934 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031006", "end": "2024-07-31 21:19:14.849108", "rc": 0, "start": "2024-07-31 21:19:14.818102" } STDOUT: podman version 5.1.2 STDERR: time="2024-07-31T21:19:14-04:00" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [fedora.linux_system_roles.podman : Set podman version] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:28 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.400) 0:00:42.335 ******** ok: [managed_node1] => { "ansible_facts": { "podman_version": "5.1.2" }, "changed": false } TASK [fedora.linux_system_roles.podman : Podman package version must be 4.2 or later] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:32 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.035) 0:00:42.371 ******** skipping: [managed_node1] => { "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:39 Wednesday 31 July 2024 21:19:14 -0400 (0:00:00.034) 0:00:42.405 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(podman_quadlet_specs | length > 0) or (podman_secrets | length > 0)", "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/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:49 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.033) 0:00:42.439 ******** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [fedora.linux_system_roles.podman : Check user and group information] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:56 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.036) 0:00:42.475 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Get user information] ***************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:2 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.102) 0:00:42.577 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "'getent_passwd' not in ansible_facts or __podman_user not in ansible_facts['getent_passwd']", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user does not exist] ********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:9 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.038) 0:00:42.616 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts[\"getent_passwd\"][__podman_user]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set group for podman user] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:16 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.036) 0:00:42.652 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [fedora.linux_system_roles.podman : Get group information] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:28 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.049) 0:00:42.702 ******** ok: [managed_node1] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [fedora.linux_system_roles.podman : Set group name] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:35 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.381) 0:00:43.083 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [fedora.linux_system_roles.podman : See if getsubids exists] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:39 Wednesday 31 July 2024 21:19:15 -0400 (0:00:00.044) 0:00:43.128 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722474542.5078738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "fc3588658699d4eb56c9a9cdf6678e83337ea7ee", "ctime": 1722474500.312435, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6544613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1719992328.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15680, "uid": 0, "version": "3416615357", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.podman : Check user with getsubids] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:50 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.378) 0:00:43.506 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Check group with getsubids] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:55 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.033) 0:00:43.539 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:60 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.033) 0:00:43.572 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__podman_user not in [\"root\", \"0\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subuid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:74 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.032) 0:00:43.605 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Get subgid file] ********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:79 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.032) 0:00:43.637 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set user subuid and subgid info] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:84 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.031) 0:00:43.669 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if user not in subuid file] ****** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:94 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.032) 0:00:43.701 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Fail if group not in subgid file] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_user_group.yml:101 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.031) 0:00:43.733 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __podman_stat_getsubids.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Set config file paths] **************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:62 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.031) 0:00:43.764 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle container.conf.d] ************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:71 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.060) 0:00:43.824 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure containers.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:5 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.063) 0:00:43.888 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update container config file] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 Wednesday 31 July 2024 21:19:16 -0400 (0:00:00.391) 0:00:44.279 ******** ok: [managed_node1] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle registries.conf.d] ************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:74 Wednesday 31 July 2024 21:19:17 -0400 (0:00:00.702) 0:00:44.982 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure registries.d exists] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:5 Wednesday 31 July 2024 21:19:17 -0400 (0:00:00.064) 0:00:45.046 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update registries config file] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 Wednesday 31 July 2024 21:19:18 -0400 (0:00:00.389) 0:00:45.435 ******** ok: [managed_node1] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle storage.conf] ****************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:77 Wednesday 31 July 2024 21:19:18 -0400 (0:00:00.670) 0:00:46.105 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure storage.conf parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:5 Wednesday 31 July 2024 21:19:18 -0400 (0:00:00.063) 0:00:46.169 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Update storage config file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 Wednesday 31 July 2024 21:19:19 -0400 (0:00:00.386) 0:00:46.556 ******** ok: [managed_node1] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/storage.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.podman : Handle policy.json] ******************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:80 Wednesday 31 July 2024 21:19:19 -0400 (0:00:00.660) 0:00:47.216 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml for managed_node1 TASK [fedora.linux_system_roles.podman : Ensure policy.json parent dir exists] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:6 Wednesday 31 July 2024 21:19:19 -0400 (0:00:00.067) 0:00:47.284 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.podman : Stat the policy.json file] ************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:14 Wednesday 31 July 2024 21:19:20 -0400 (0:00:00.388) 0:00:47.672 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722475153.0450852, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475151.2711492, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 411041994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712928143.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2320676526", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.podman : Get the existing policy.json] ********* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:19 Wednesday 31 July 2024 21:19:20 -0400 (0:00:00.378) 0:00:48.050 ******** ok: [managed_node1] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [fedora.linux_system_roles.podman : Write new policy.json file] *********** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 Wednesday 31 July 2024 21:19:20 -0400 (0:00:00.369) 0:00:48.420 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__policy_existing != podman_policy_json", "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:86 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.036) 0:00:48.456 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_firewall | length > 0", "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:93 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.031) 0:00:48.488 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "podman_selinux_ports | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.podman : Keep track of users that need to cancel linger] *** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:100 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.032) 0:00:48.521 ******** ok: [managed_node1] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [fedora.linux_system_roles.podman : Handle certs.d files - present] ******* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:104 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.031) 0:00:48.553 ******** skipping: [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 : Handle credential files - present] **** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:113 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.028) 0:00:48.581 ******** skipping: [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 : Handle secrets] *********************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:122 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.067) 0:00:48.649 ******** skipping: [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 : Handle Kubernetes specifications] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:129 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.029) 0:00:48.679 ******** skipping: [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 : Handle Quadlet specifications] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:136 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.030) 0:00:48.709 ******** skipping: [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 : Cancel linger] ************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:143 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.028) 0:00:48.738 ******** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.podman : Handle credential files - absent] ***** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:149 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.029) 0:00:48.768 ******** skipping: [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 : Handle certs.d files - absent] ******** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:158 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.028) 0:00:48.797 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files still exist and are non-null] *************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:125 Wednesday 31 July 2024 21:19:21 -0400 (0:00:00.045) 0:00:48.843 ******** ok: [managed_node1] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1722475151.9921231, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1722475147.0203028, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 371196106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475146.7493126, "nlink": 1, "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 0, "version": "3684558590", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1722475152.3441105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1722475148.1842608, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 381681958, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475147.9152706, "nlink": 1, "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 0, "version": "4227600513", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1722475152.695098, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1722475149.337219, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 392167626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722475149.069229, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "4154360737", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1722475153.0450852, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1722475151.2711492, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 411041994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712928143.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2320676526", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:132 Wednesday 31 July 2024 21:19:22 -0400 (0:00:01.437) 0:00:50.280 ******** included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/home/user1/.config/containers/storage.conf) included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/etc/containers/containers.conf.d/50-systemroles.conf) included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/etc/containers/registries.conf.d/50-systemroles.conf) included: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml for managed_node1 => (item=/etc/containers/storage.conf) TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:22 -0400 (0:00:00.114) 0:00:50.394 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:23 -0400 (0:00:00.372) 0:00:50.767 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:23 -0400 (0:00:00.084) 0:00:50.852 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:23 -0400 (0:00:00.377) 0:00:51.229 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:23 -0400 (0:00:00.085) 0:00:51.315 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:24 -0400 (0:00:00.371) 0:00:51.687 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:24 -0400 (0:00:00.086) 0:00:51.773 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/etc/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:24 -0400 (0:00:00.376) 0:00:52.149 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:24 -0400 (0:00:00.138) 0:00:52.288 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/etc/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:25 -0400 (0:00:00.371) 0:00:52.660 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:3 Wednesday 31 July 2024 21:19:25 -0400 (0:00:00.162) 0:00:52.823 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tasks/check_header.yml:9 Wednesday 31 July 2024 21:19:25 -0400 (0:00:00.370) 0:00:53.193 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:153 Wednesday 31 July 2024 21:19:25 -0400 (0:00:00.083) 0:00:53.277 ******** changed: [managed_node1] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [managed_node1] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [managed_node1] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [managed_node1] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/storage.conf", "path": "/home/user1/.config/containers/storage.conf", "state": "absent" } changed: [managed_node1] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/policy.json", "path": "/home/user1/.config/containers/policy.json", "state": "absent" } TASK [Restore system config files] ********************************************* task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:159 Wednesday 31 July 2024 21:19:28 -0400 (0:00:02.783) 0:00:56.061 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_q5qfi_12/backup.tar" ], "delta": "0:00:00.004012", "end": "2024-07-31 21:19:28.955148", "rc": 0, "start": "2024-07-31 21:19:28.951136" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:164 Wednesday 31 July 2024 21:19:29 -0400 (0:00:00.378) 0:00:56.440 ******** changed: [managed_node1] => { "changed": true, "path": "/tmp/lsr_podman_config_q5qfi_12", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=163 changed=15 unreachable=0 failed=0 skipped=137 rescued=0 ignored=0 Wednesday 31 July 2024 21:19:29 -0400 (0:00:00.426) 0:00:56.866 ******** =============================================================================== Remove test config files ------------------------------------------------ 2.78s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:153 Check that files still exist and are non-null --------------------------- 1.46s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:97 Check that files exist and are non-null --------------------------------- 1.44s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:111 Check that files still exist and are non-null --------------------------- 1.44s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:125 Check that files exist and are non-null --------------------------------- 1.43s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:83 fedora.linux_system_roles.podman : Gather the package facts ------------- 1.19s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/tests/podman/tests_config_files.yml:9 fedora.linux_system_roles.podman : Gather the package facts ------------- 1.03s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Gather the package facts ------------- 0.97s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Gather the package facts ------------- 0.93s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Gather the package facts ------------- 0.92s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/main.yml:6 fedora.linux_system_roles.podman : Update container config file --------- 0.80s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 fedora.linux_system_roles.podman : Update registries config file -------- 0.72s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 fedora.linux_system_roles.podman : Update container config file --------- 0.71s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 fedora.linux_system_roles.podman : Update storage config file ----------- 0.71s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 fedora.linux_system_roles.podman : Update registries config file -------- 0.71s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_registries_conf_d.yml:13 fedora.linux_system_roles.podman : Write new policy.json file ----------- 0.71s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25 fedora.linux_system_roles.podman : Update container config file --------- 0.70s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_container_conf_d.yml:13 fedora.linux_system_roles.podman : Update storage config file ----------- 0.70s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_storage_conf.yml:13 fedora.linux_system_roles.podman : Write new policy.json file ----------- 0.69s /tmp/tmp.jJo7miTiKY/ansible_collections/fedora/linux_system_roles/roles/podman/tasks/handle_policy_json.yml:25