# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_config_files.yml *********************************************** 2 plays in /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:4 Friday 12 April 2024 02:02:24 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] => { "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": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:9 Friday 12 April 2024 02:02:24 +0000 (0:00:00.011) 0:00:00.023 ********** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:48 Friday 12 April 2024 02:02:25 +0000 (0:00:01.839) 0:00:01.863 ********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 12 April 2024 02:02:25 +0000 (0:00:00.070) 0:00:01.934 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 12 April 2024 02:02:25 +0000 (0:00:00.014) 0:00:01.948 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 12 April 2024 02:02:25 +0000 (0:00:00.020) 0:00:01.969 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 12 April 2024 02:02:26 +0000 (0:00:00.266) 0:00:02.235 ********** ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 12 April 2024 02:02:26 +0000 (0:00:00.022) 0:00:02.258 ********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 12 April 2024 02:02:26 +0000 (0:00:00.033) 0:00:02.291 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 12 April 2024 02:02:27 +0000 (0:00:01.091) 0:00:03.383 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 12 April 2024 02:02:27 +0000 (0:00:00.029) 0:00:03.412 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: qemu-user-static-loongarch64-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-m68k-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-microblaze-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-mips-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-nios2-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-or1k-2:7.2.10-1.fc38.x86_64", "Installed: passt-0^20240326.g4988e2b-1.fc38.x86_64", "Installed: passt-selinux-0^20240326.g4988e2b-1.fc38.noarch", "Installed: qemu-user-static-ppc-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-riscv-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-s390x-2:7.2.10-1.fc38.x86_64", "Installed: criu-3.18-1.fc38.x86_64", "Installed: qemu-user-static-sh4-2:7.2.10-1.fc38.x86_64", "Installed: criu-libs-3.18-1.fc38.x86_64", "Installed: libslirp-4.7.0-3.fc38.x86_64", "Installed: fuse-common-3.14.1-1.fc38.x86_64", "Installed: libnet-1.3-1.fc38.x86_64", "Installed: fuse-overlayfs-1.13-1.fc38.x86_64", "Installed: shadow-utils-subid-2:4.13-6.fc38.x86_64", "Installed: fuse3-3.14.1-1.fc38.x86_64", "Installed: podman-5:4.9.4-1.fc38.x86_64", "Installed: qemu-user-static-xtensa-2:7.2.10-1.fc38.x86_64", "Installed: fuse3-libs-3.14.1-1.fc38.x86_64", "Installed: conmon-2:2.1.10-1.fc38.x86_64", "Installed: aardvark-dns-1.10.0-1.fc38.x86_64", "Installed: container-selinux-2:2.230.0-1.fc38.noarch", "Installed: containers-common-4:1-89.fc38.noarch", "Installed: containers-common-extra-4:1-89.fc38.noarch", "Installed: crun-1.14.4-1.fc38.x86_64", "Installed: gvisor-tap-vsock-6:0.7.3-1.fc38.x86_64", "Installed: gvisor-tap-vsock-gvforwarder-6:0.7.3-1.fc38.x86_64", "Installed: qemu-user-static-sparc-2:7.2.10-1.fc38.x86_64", "Installed: slirp4netns-1.2.2-1.fc38.x86_64", "Installed: qemu-user-static-x86-2:7.2.10-1.fc38.x86_64", "Installed: yajl-2.1.0-21.fc38.x86_64", "Installed: libbsd-0.12.2-1.fc38.x86_64", "Installed: catatonit-0.1.7-14.fc38.x86_64", "Installed: netavark-1.10.3-1.fc38.x86_64", "Installed: libmd-1.1.0-1.fc38.x86_64", "Installed: qemu-user-static-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-aarch64-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-alpha-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-arm-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-cris-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-hexagon-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-hppa-2:7.2.10-1.fc38.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 12 April 2024 02:03:54 +0000 (0:01:26.667) 0:01:30.080 ********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.040913", "end": "2024-04-12 02:03:54.469216", "rc": 0, "start": "2024-04-12 02:03:54.428303" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 12 April 2024 02:03:54 +0000 (0:00:00.467) 0:01:30.548 ********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 12 April 2024 02:03:54 +0000 (0:00:00.078) 0:01:30.626 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 12 April 2024 02:03:54 +0000 (0:00:00.122) 0:01:30.749 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 12 April 2024 02:03:54 +0000 (0:00:00.089) 0:01:30.838 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 12 April 2024 02:03:54 +0000 (0:00:00.040) 0:01:30.879 ********** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 12 April 2024 02:03:55 +0000 (0:00:00.291) 0:01:31.170 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 12 April 2024 02:03:55 +0000 (0:00:00.024) 0:01:31.194 ********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Friday 12 April 2024 02:03:55 +0000 (0:00:00.025) 0:01:31.219 ********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Friday 12 April 2024 02:03:55 +0000 (0:00:00.242) 0:01:31.462 ********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Friday 12 April 2024 02:03:55 +0000 (0:00:00.038) 0:01:31.501 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1678060800.0, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1712887388.3800817, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1318398690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Friday 12 April 2024 02:03:55 +0000 (0:00:00.242) 0:01:31.743 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Friday 12 April 2024 02:03:55 +0000 (0:00:00.055) 0:01:31.799 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Friday 12 April 2024 02:03:55 +0000 (0:00:00.039) 0:01:31.838 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Friday 12 April 2024 02:03:55 +0000 (0:00:00.024) 0:01:31.862 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Friday 12 April 2024 02:03:55 +0000 (0:00:00.040) 0:01:31.902 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Friday 12 April 2024 02:03:55 +0000 (0:00:00.024) 0:01:31.926 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 12 April 2024 02:03:55 +0000 (0:00:00.047) 0:01:31.974 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 12 April 2024 02:03:56 +0000 (0:00:00.044) 0:01:32.018 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 12 April 2024 02:03:56 +0000 (0:00:00.039) 0:01:32.057 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 12 April 2024 02:03:56 +0000 (0:00:00.023) 0:01:32.081 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 12 April 2024 02:03:56 +0000 (0:00:00.022) 0:01:32.104 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 12 April 2024 02:03:56 +0000 (0:00:00.046) 0:01:32.150 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 12 April 2024 02:03:56 +0000 (0:00:00.027) 0:01:32.178 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 12 April 2024 02:03:56 +0000 (0:00:00.021) 0:01:32.199 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 12 April 2024 02:03:56 +0000 (0:00:00.057) 0:01:32.256 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 12 April 2024 02:03:56 +0000 (0:00:00.021) 0:01:32.278 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 12 April 2024 02:03:56 +0000 (0:00:00.020) 0:01:32.298 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 12 April 2024 02:03:56 +0000 (0:00:00.041) 0:01:32.340 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 12 April 2024 02:03:56 +0000 (0:00:00.019) 0:01:32.359 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 12 April 2024 02:03:56 +0000 (0:00:00.052) 0:01:32.412 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 12 April 2024 02:03:56 +0000 (0:00:00.022) 0:01:32.435 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 12 April 2024 02:03:56 +0000 (0:00:00.022) 0:01:32.458 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 12 April 2024 02:03:56 +0000 (0:00:00.020) 0:01:32.478 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 12 April 2024 02:03:56 +0000 (0:00:00.020) 0:01:32.499 ********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 12 April 2024 02:03:56 +0000 (0:00:00.021) 0:01:32.520 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Friday 12 April 2024 02:03:56 +0000 (0:00:00.019) 0:01:32.540 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:128 Friday 12 April 2024 02:03:56 +0000 (0:00:00.020) 0:01:32.560 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:135 Friday 12 April 2024 02:03:56 +0000 (0:00:00.018) 0:01:32.579 ********** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:59 Friday 12 April 2024 02:03:56 +0000 (0:00:00.021) 0:01:32.600 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_bmkxxcth", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:65 Friday 12 April 2024 02:03:56 +0000 (0:00:00.335) 0:01:32.936 ********** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_bmkxxcth/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.090631", "end": "2024-04-12 02:03:57.244364", "rc": 0, "start": "2024-04-12 02:03:57.153733" } 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: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:72 Friday 12 April 2024 02:03:57 +0000 (0:00:00.326) 0:01:33.263 ********** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1001, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:76 Friday 12 April 2024 02:03:57 +0000 (0:00:00.513) 0:01:33.777 ********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 12 April 2024 02:03:57 +0000 (0:00:00.082) 0:01:33.859 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 12 April 2024 02:03:57 +0000 (0:00:00.036) 0:01:33.895 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 12 April 2024 02:03:57 +0000 (0:00:00.026) 0:01:33.922 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 12 April 2024 02:03:57 +0000 (0:00:00.021) 0:01:33.944 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 12 April 2024 02:03:57 +0000 (0:00:00.032) 0:01:33.976 ********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 12 April 2024 02:03:58 +0000 (0:00:00.053) 0:01:34.030 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 12 April 2024 02:03:59 +0000 (0:00:01.006) 0:01:35.037 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 12 April 2024 02:03:59 +0000 (0:00:00.021) 0:01:35.058 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 12 April 2024 02:03:59 +0000 (0:00:00.028) 0:01:35.087 ********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035002", "end": "2024-04-12 02:03:59.335792", "rc": 0, "start": "2024-04-12 02:03:59.300790" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 12 April 2024 02:03:59 +0000 (0:00:00.297) 0:01:35.384 ********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 12 April 2024 02:03:59 +0000 (0:00:00.032) 0:01:35.417 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 12 April 2024 02:03:59 +0000 (0:00:00.034) 0:01:35.451 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 12 April 2024 02:03:59 +0000 (0:00:00.039) 0:01:35.491 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 12 April 2024 02:03:59 +0000 (0:00:00.061) 0:01:35.552 ********** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1001", "1001", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 12 April 2024 02:03:59 +0000 (0:00:00.259) 0:01:35.812 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 12 April 2024 02:03:59 +0000 (0:00:00.056) 0:01:35.868 ********** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Friday 12 April 2024 02:03:59 +0000 (0:00:00.030) 0:01:35.899 ********** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Friday 12 April 2024 02:04:00 +0000 (0:00:00.306) 0:01:36.206 ********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Friday 12 April 2024 02:04:00 +0000 (0:00:00.038) 0:01:36.244 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887435.7130685, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1712887388.3800817, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1318398690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Friday 12 April 2024 02:04:00 +0000 (0:00:00.273) 0:01:36.518 ********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004643", "end": "2024-04-12 02:04:00.742085", "rc": 0, "start": "2024-04-12 02:04:00.737442" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Friday 12 April 2024 02:04:00 +0000 (0:00:00.252) 0:01:36.771 ********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004646", "end": "2024-04-12 02:04:00.998758", "rc": 0, "start": "2024-04-12 02:04:00.994112" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Friday 12 April 2024 02:04:01 +0000 (0:00:00.247) 0:01:37.019 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Friday 12 April 2024 02:04:01 +0000 (0:00:00.051) 0:01:37.070 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Friday 12 April 2024 02:04:01 +0000 (0:00:00.042) 0:01:37.113 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Friday 12 April 2024 02:04:01 +0000 (0:00:00.024) 0:01:37.137 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 12 April 2024 02:04:01 +0000 (0:00:00.041) 0:01:37.179 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 12 April 2024 02:04:01 +0000 (0:00:00.050) 0:01:37.229 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 12 April 2024 02:04:01 +0000 (0:00:00.059) 0:01:37.289 ********** changed: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 12 April 2024 02:04:01 +0000 (0:00:00.446) 0:01:37.736 ********** changed: [sut] => { "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-1712887441.8388531-4070-46612142835158/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 12 April 2024 02:04:02 +0000 (0:00:00.918) 0:01:38.655 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 12 April 2024 02:04:02 +0000 (0:00:00.046) 0:01:38.701 ********** changed: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 12 April 2024 02:04:02 +0000 (0:00:00.252) 0:01:38.954 ********** changed: [sut] => { "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-1712887443.0119863-4098-154795635365968/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 12 April 2024 02:04:03 +0000 (0:00:00.637) 0:01:39.591 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 12 April 2024 02:04:03 +0000 (0:00:00.042) 0:01:39.633 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 12 April 2024 02:04:03 +0000 (0:00:00.252) 0:01:39.886 ********** changed: [sut] => { "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-1712887443.9493046-4123-37368806688790/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 12 April 2024 02:04:04 +0000 (0:00:00.628) 0:01:40.514 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 12 April 2024 02:04:04 +0000 (0:00:00.042) 0:01:40.556 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 12 April 2024 02:04:04 +0000 (0:00:00.244) 0:01:40.801 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 12 April 2024 02:04:05 +0000 (0:00:00.229) 0:01:41.030 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 12 April 2024 02:04:05 +0000 (0:00:00.022) 0:01:41.053 ********** changed: [sut] => { "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-1712887445.1127033-4161-32394284394672/source", "state": "file", "uid": 1001 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 12 April 2024 02:04:05 +0000 (0:00:00.622) 0:01:41.676 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 12 April 2024 02:04:05 +0000 (0:00:00.022) 0:01:41.698 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 12 April 2024 02:04:05 +0000 (0:00:00.024) 0:01:41.723 ********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 12 April 2024 02:04:05 +0000 (0:00:00.020) 0:01:41.743 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Friday 12 April 2024 02:04:05 +0000 (0:00:00.021) 0:01:41.765 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:128 Friday 12 April 2024 02:04:05 +0000 (0:00:00.020) 0:01:41.786 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:135 Friday 12 April 2024 02:04:05 +0000 (0:00:00.021) 0:01:41.807 ********** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:83 Friday 12 April 2024 02:04:05 +0000 (0:00:00.021) 0:01:41.828 ********** ok: [sut] => (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": 1712887442.5820668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712887442.5860667, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887442.1960669, "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": 1001, "version": "1367676376", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887443.5360663, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712887443.5400665, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887443.3020666, "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": 1001, "version": "2004920927", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887444.4620662, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712887444.4660661, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262494, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887444.2350662, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1001, "version": "1765688998", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887445.6210659, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887445.6240659, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887445.3910658, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "1315878638", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:91 Friday 12 April 2024 02:04:06 +0000 (0:00:00.929) 0:01:42.758 ********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 12 April 2024 02:04:06 +0000 (0:00:00.047) 0:01:42.806 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 12 April 2024 02:04:06 +0000 (0:00:00.072) 0:01:42.878 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 12 April 2024 02:04:06 +0000 (0:00:00.030) 0:01:42.909 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 12 April 2024 02:04:06 +0000 (0:00:00.022) 0:01:42.931 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 12 April 2024 02:04:06 +0000 (0:00:00.027) 0:01:42.959 ********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 12 April 2024 02:04:07 +0000 (0:00:00.073) 0:01:43.033 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 12 April 2024 02:04:08 +0000 (0:00:01.020) 0:01:44.053 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 12 April 2024 02:04:08 +0000 (0:00:00.023) 0:01:44.077 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 12 April 2024 02:04:08 +0000 (0:00:00.052) 0:01:44.129 ********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034871", "end": "2024-04-12 02:04:08.372385", "rc": 0, "start": "2024-04-12 02:04:08.337514" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 12 April 2024 02:04:08 +0000 (0:00:00.268) 0:01:44.398 ********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 12 April 2024 02:04:08 +0000 (0:00:00.024) 0:01:44.422 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 12 April 2024 02:04:08 +0000 (0:00:00.059) 0:01:44.482 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 12 April 2024 02:04:08 +0000 (0:00:00.041) 0:01:44.523 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 12 April 2024 02:04:08 +0000 (0:00:00.040) 0:01:44.564 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 12 April 2024 02:04:08 +0000 (0:00:00.029) 0:01:44.594 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 12 April 2024 02:04:08 +0000 (0:00:00.026) 0:01:44.620 ********** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Friday 12 April 2024 02:04:08 +0000 (0:00:00.027) 0:01:44.648 ********** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Friday 12 April 2024 02:04:08 +0000 (0:00:00.243) 0:01:44.891 ********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Friday 12 April 2024 02:04:08 +0000 (0:00:00.026) 0:01:44.918 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887435.7130685, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1712887388.3800817, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1318398690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Friday 12 April 2024 02:04:09 +0000 (0:00:00.239) 0:01:45.157 ********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004672", "end": "2024-04-12 02:04:09.378210", "rc": 0, "start": "2024-04-12 02:04:09.373538" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Friday 12 April 2024 02:04:09 +0000 (0:00:00.248) 0:01:45.405 ********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004796", "end": "2024-04-12 02:04:09.638436", "rc": 0, "start": "2024-04-12 02:04:09.633640" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Friday 12 April 2024 02:04:09 +0000 (0:00:00.253) 0:01:45.659 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Friday 12 April 2024 02:04:09 +0000 (0:00:00.021) 0:01:45.681 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Friday 12 April 2024 02:04:09 +0000 (0:00:00.055) 0:01:45.736 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Friday 12 April 2024 02:04:09 +0000 (0:00:00.022) 0:01:45.759 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 12 April 2024 02:04:09 +0000 (0:00:00.027) 0:01:45.787 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 12 April 2024 02:04:09 +0000 (0:00:00.047) 0:01:45.835 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 12 April 2024 02:04:09 +0000 (0:00:00.040) 0:01:45.875 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 12 April 2024 02:04:10 +0000 (0:00:00.248) 0:01:46.123 ********** ok: [sut] => { "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": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 12 April 2024 02:04:10 +0000 (0:00:00.590) 0:01:46.713 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 12 April 2024 02:04:10 +0000 (0:00:00.041) 0:01:46.755 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 12 April 2024 02:04:11 +0000 (0:00:00.248) 0:01:47.003 ********** ok: [sut] => { "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": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 12 April 2024 02:04:11 +0000 (0:00:00.613) 0:01:47.616 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 12 April 2024 02:04:11 +0000 (0:00:00.041) 0:01:47.657 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 12 April 2024 02:04:11 +0000 (0:00:00.252) 0:01:47.910 ********** ok: [sut] => { "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": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 12 April 2024 02:04:12 +0000 (0:00:00.582) 0:01:48.492 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 12 April 2024 02:04:12 +0000 (0:00:00.041) 0:01:48.533 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 12 April 2024 02:04:12 +0000 (0:00:00.246) 0:01:48.779 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887446.7280655, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887445.6240659, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887445.3910658, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "1315878638", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 12 April 2024 02:04:13 +0000 (0:00:00.245) 0:01:49.025 ********** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 12 April 2024 02:04:13 +0000 (0:00:00.321) 0:01:49.346 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 12 April 2024 02:04:13 +0000 (0:00:00.024) 0:01:49.371 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 12 April 2024 02:04:13 +0000 (0:00:00.058) 0:01:49.430 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 12 April 2024 02:04:13 +0000 (0:00:00.031) 0:01:49.461 ********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 12 April 2024 02:04:13 +0000 (0:00:00.028) 0:01:49.489 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Friday 12 April 2024 02:04:13 +0000 (0:00:00.024) 0:01:49.513 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:128 Friday 12 April 2024 02:04:13 +0000 (0:00:00.044) 0:01:49.558 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:135 Friday 12 April 2024 02:04:13 +0000 (0:00:00.033) 0:01:49.591 ********** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:98 Friday 12 April 2024 02:04:13 +0000 (0:00:00.025) 0:01:49.617 ********** ok: [sut] => (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": 1712887446.0480657, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712887442.5860667, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887442.1960669, "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": 1001, "version": "1367676376", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887446.2760656, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712887443.5400665, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887443.3020666, "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": 1001, "version": "2004920927", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887446.5030656, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712887444.4660661, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262494, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887444.2350662, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1001, "version": "1765688998", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887446.7280655, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887445.6240659, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887445.3910658, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "1315878638", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:106 Friday 12 April 2024 02:04:14 +0000 (0:00:00.969) 0:01:50.586 ********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 12 April 2024 02:04:14 +0000 (0:00:00.063) 0:01:50.650 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 12 April 2024 02:04:14 +0000 (0:00:00.039) 0:01:50.690 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 12 April 2024 02:04:14 +0000 (0:00:00.034) 0:01:50.724 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 12 April 2024 02:04:14 +0000 (0:00:00.069) 0:01:50.794 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 12 April 2024 02:04:14 +0000 (0:00:00.022) 0:01:50.816 ********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 12 April 2024 02:04:14 +0000 (0:00:00.052) 0:01:50.869 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 12 April 2024 02:04:15 +0000 (0:00:01.038) 0:01:51.908 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 12 April 2024 02:04:15 +0000 (0:00:00.022) 0:01:51.931 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 12 April 2024 02:04:15 +0000 (0:00:00.031) 0:01:51.963 ********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035398", "end": "2024-04-12 02:04:16.217212", "rc": 0, "start": "2024-04-12 02:04:16.181814" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 12 April 2024 02:04:16 +0000 (0:00:00.275) 0:01:52.238 ********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 12 April 2024 02:04:16 +0000 (0:00:00.023) 0:01:52.261 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 12 April 2024 02:04:16 +0000 (0:00:00.023) 0:01:52.285 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 12 April 2024 02:04:16 +0000 (0:00:00.074) 0:01:52.359 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 12 April 2024 02:04:16 +0000 (0:00:00.041) 0:01:52.400 ********** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 12 April 2024 02:04:16 +0000 (0:00:00.253) 0:01:52.654 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 12 April 2024 02:04:16 +0000 (0:00:00.033) 0:01:52.688 ********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Friday 12 April 2024 02:04:16 +0000 (0:00:00.030) 0:01:52.718 ********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Friday 12 April 2024 02:04:16 +0000 (0:00:00.246) 0:01:52.965 ********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Friday 12 April 2024 02:04:17 +0000 (0:00:00.026) 0:01:52.991 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887435.7130685, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1712887388.3800817, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1318398690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Friday 12 April 2024 02:04:17 +0000 (0:00:00.246) 0:01:53.238 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Friday 12 April 2024 02:04:17 +0000 (0:00:00.022) 0:01:53.260 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Friday 12 April 2024 02:04:17 +0000 (0:00:00.023) 0:01:53.284 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Friday 12 April 2024 02:04:17 +0000 (0:00:00.021) 0:01:53.306 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Friday 12 April 2024 02:04:17 +0000 (0:00:00.023) 0:01:53.329 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Friday 12 April 2024 02:04:17 +0000 (0:00:00.023) 0:01:53.352 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 12 April 2024 02:04:17 +0000 (0:00:00.024) 0:01:53.377 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 12 April 2024 02:04:17 +0000 (0:00:00.116) 0:01:53.493 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 12 April 2024 02:04:17 +0000 (0:00:00.045) 0:01:53.538 ********** changed: [sut] => { "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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 12 April 2024 02:04:17 +0000 (0:00:00.254) 0:01:53.793 ********** changed: [sut] => { "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-1712887457.8514895-4531-44422012424332/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 12 April 2024 02:04:18 +0000 (0:00:00.652) 0:01:54.445 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 12 April 2024 02:04:18 +0000 (0:00:00.055) 0:01:54.501 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 12 April 2024 02:04:18 +0000 (0:00:00.261) 0:01:54.762 ********** changed: [sut] => { "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-1712887458.8216348-4552-20165917133351/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 12 April 2024 02:04:19 +0000 (0:00:00.648) 0:01:55.411 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 12 April 2024 02:04:19 +0000 (0:00:00.077) 0:01:55.488 ********** ok: [sut] => { "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 [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 12 April 2024 02:04:19 +0000 (0:00:00.249) 0:01:55.737 ********** changed: [sut] => { "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-1712887459.7995176-4580-229763690512038/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 12 April 2024 02:04:20 +0000 (0:00:00.646) 0:01:56.384 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 12 April 2024 02:04:20 +0000 (0:00:00.046) 0:01:56.430 ********** ok: [sut] => { "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 [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 12 April 2024 02:04:20 +0000 (0:00:00.248) 0:01:56.678 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887437.2430682, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2b9c515bda676f0ab6d58bcc6e44be4375b5922b", "ctime": 1712887388.2500818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1681257600.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 569, "uid": 0, "version": "3711511675", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 12 April 2024 02:04:20 +0000 (0:00:00.241) 0:01:56.920 ********** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0sCgkgICAgInJlZ2lzdHJ5LnJlZGhhdC5pbyI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0KCX0sCiAgICAgICAgImRvY2tlci1kYWVtb24iOiB7CgkgICAgIiI6IFsKCQl7CgkJICAgICJ0eXBlIjogImluc2VjdXJlQWNjZXB0QW55dGhpbmciCgkJfQoJICAgIF0KCX0KICAgIH0KfQo=", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 12 April 2024 02:04:21 +0000 (0:00:00.228) 0:01:57.148 ********** changed: [sut] => { "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-1712887461.208844-4601-189724853898633/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 12 April 2024 02:04:21 +0000 (0:00:00.639) 0:01:57.788 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 12 April 2024 02:04:21 +0000 (0:00:00.053) 0:01:57.841 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 12 April 2024 02:04:21 +0000 (0:00:00.021) 0:01:57.863 ********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 12 April 2024 02:04:21 +0000 (0:00:00.020) 0:01:57.883 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Friday 12 April 2024 02:04:21 +0000 (0:00:00.022) 0:01:57.906 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:128 Friday 12 April 2024 02:04:21 +0000 (0:00:00.022) 0:01:57.928 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:135 Friday 12 April 2024 02:04:21 +0000 (0:00:00.023) 0:01:57.952 ********** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:113 Friday 12 April 2024 02:04:22 +0000 (0:00:00.039) 0:01:57.992 ********** ok: [sut] => (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": 1712887458.3820612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712887458.3890612, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262497, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887458.1480615, "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": "2824130013", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887459.3530605, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712887459.3590605, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262498, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887459.1200607, "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": "4238612307", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1712887460.3240595, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712887460.3310595, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887460.0920599, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2872133314", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1712887461.7290583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887461.7300584, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887461.4980586, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3666991982", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:121 Friday 12 April 2024 02:04:22 +0000 (0:00:00.940) 0:01:58.933 ********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 12 April 2024 02:04:23 +0000 (0:00:00.056) 0:01:58.990 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 12 April 2024 02:04:23 +0000 (0:00:00.036) 0:01:59.026 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 12 April 2024 02:04:23 +0000 (0:00:00.026) 0:01:59.053 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 12 April 2024 02:04:23 +0000 (0:00:00.056) 0:01:59.110 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 12 April 2024 02:04:23 +0000 (0:00:00.021) 0:01:59.132 ********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 12 April 2024 02:04:23 +0000 (0:00:00.048) 0:01:59.180 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 12 April 2024 02:04:24 +0000 (0:00:01.000) 0:02:00.181 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 12 April 2024 02:04:24 +0000 (0:00:00.024) 0:02:00.206 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 12 April 2024 02:04:24 +0000 (0:00:00.026) 0:02:00.232 ********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033299", "end": "2024-04-12 02:04:24.475905", "rc": 0, "start": "2024-04-12 02:04:24.442606" } STDOUT: podman version 4.9.4 STDERR: time="2024-04-12T02:04:24Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 12 April 2024 02:04:24 +0000 (0:00:00.265) 0:02:00.498 ********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 12 April 2024 02:04:24 +0000 (0:00:00.026) 0:02:00.525 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 12 April 2024 02:04:24 +0000 (0:00:00.024) 0:02:00.550 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 12 April 2024 02:04:24 +0000 (0:00:00.072) 0:02:00.622 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 12 April 2024 02:04:24 +0000 (0:00:00.040) 0:02:00.662 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 12 April 2024 02:04:24 +0000 (0:00:00.026) 0:02:00.689 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 12 April 2024 02:04:24 +0000 (0:00:00.026) 0:02:00.716 ********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Friday 12 April 2024 02:04:24 +0000 (0:00:00.027) 0:02:00.743 ********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Friday 12 April 2024 02:04:25 +0000 (0:00:00.244) 0:02:00.988 ********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Friday 12 April 2024 02:04:25 +0000 (0:00:00.028) 0:02:01.017 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887435.7130685, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1712887388.3800817, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1318398690", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Friday 12 April 2024 02:04:25 +0000 (0:00:00.243) 0:02:01.260 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Friday 12 April 2024 02:04:25 +0000 (0:00:00.021) 0:02:01.281 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Friday 12 April 2024 02:04:25 +0000 (0:00:00.021) 0:02:01.303 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Friday 12 April 2024 02:04:25 +0000 (0:00:00.020) 0:02:01.324 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Friday 12 April 2024 02:04:25 +0000 (0:00:00.021) 0:02:01.346 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Friday 12 April 2024 02:04:25 +0000 (0:00:00.021) 0:02:01.367 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 12 April 2024 02:04:25 +0000 (0:00:00.021) 0:02:01.389 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 12 April 2024 02:04:25 +0000 (0:00:00.076) 0:02:01.465 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 12 April 2024 02:04:25 +0000 (0:00:00.041) 0:02:01.506 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 12 April 2024 02:04:25 +0000 (0:00:00.271) 0:02:01.777 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 12 April 2024 02:04:26 +0000 (0:00:00.585) 0:02:02.363 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 12 April 2024 02:04:26 +0000 (0:00:00.041) 0:02:02.404 ********** ok: [sut] => { "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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 12 April 2024 02:04:26 +0000 (0:00:00.248) 0:02:02.652 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 12 April 2024 02:04:27 +0000 (0:00:00.569) 0:02:03.222 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 12 April 2024 02:04:27 +0000 (0:00:00.040) 0:02:03.262 ********** ok: [sut] => { "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 [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 12 April 2024 02:04:27 +0000 (0:00:00.247) 0:02:03.510 ********** ok: [sut] => { "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 [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 12 April 2024 02:04:28 +0000 (0:00:00.580) 0:02:04.090 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 12 April 2024 02:04:28 +0000 (0:00:00.044) 0:02:04.135 ********** ok: [sut] => { "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 [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 12 April 2024 02:04:28 +0000 (0:00:00.247) 0:02:04.382 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1712887462.9020574, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887461.7300584, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887461.4980586, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3666991982", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 12 April 2024 02:04:28 +0000 (0:00:00.239) 0:02:04.622 ********** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 12 April 2024 02:04:28 +0000 (0:00:00.226) 0:02:04.848 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 12 April 2024 02:04:28 +0000 (0:00:00.024) 0:02:04.872 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 12 April 2024 02:04:28 +0000 (0:00:00.021) 0:02:04.894 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 12 April 2024 02:04:28 +0000 (0:00:00.020) 0:02:04.915 ********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 12 April 2024 02:04:28 +0000 (0:00:00.020) 0:02:04.935 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Friday 12 April 2024 02:04:28 +0000 (0:00:00.019) 0:02:04.955 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:128 Friday 12 April 2024 02:04:29 +0000 (0:00:00.053) 0:02:05.008 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:135 Friday 12 April 2024 02:04:29 +0000 (0:00:00.021) 0:02:05.029 ********** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:128 Friday 12 April 2024 02:04:29 +0000 (0:00:00.019) 0:02:05.049 ********** ok: [sut] => (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": 1712887462.213058, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712887458.3890612, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262497, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887458.1480615, "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": "2824130013", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1712887462.4420578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712887459.3590605, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262498, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887459.1200607, "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": "4238612307", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1712887462.6720576, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712887460.3310595, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712887460.0920599, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2872133314", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1712887462.9020574, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712887461.7300584, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712887461.4980586, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3666991982", "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: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:136 Friday 12 April 2024 02:04:29 +0000 (0:00:00.934) 0:02:05.983 ********** included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut included: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:30 +0000 (0:00:00.062) 0:02:06.046 ********** ok: [sut] => { "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: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:30 +0000 (0:00:00.235) 0:02:06.281 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:30 +0000 (0:00:00.065) 0:02:06.347 ********** ok: [sut] => { "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: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:30 +0000 (0:00:00.228) 0:02:06.575 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:30 +0000 (0:00:00.103) 0:02:06.678 ********** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:30 +0000 (0:00:00.271) 0:02:06.950 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:31 +0000 (0:00:00.089) 0:02:07.040 ********** ok: [sut] => { "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: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:31 +0000 (0:00:00.228) 0:02:07.269 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:31 +0000 (0:00:00.065) 0:02:07.335 ********** ok: [sut] => { "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: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:31 +0000 (0:00:00.232) 0:02:07.567 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:3 Friday 12 April 2024 02:04:31 +0000 (0:00:00.064) 0:02:07.631 ********** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tasks/check_header.yml:9 Friday 12 April 2024 02:04:31 +0000 (0:00:00.224) 0:02:07.856 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:157 Friday 12 April 2024 02:04:31 +0000 (0:00:00.071) 0:02:07.928 ********** changed: [sut] => (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: [sut] => (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: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:163 Friday 12 April 2024 02:04:33 +0000 (0:00:01.773) 0:02:09.702 ********** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_bmkxxcth/backup.tar" ], "delta": "0:00:00.004663", "end": "2024-04-12 02:04:33.932280", "rc": 0, "start": "2024-04-12 02:04:33.927617" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:168 Friday 12 April 2024 02:04:33 +0000 (0:00:00.251) 0:02:09.953 ********** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_bmkxxcth", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Friday 12 April 2024 02:04:34 +0000 (0:00:00.227) 0:02:10.181 ********** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 86.67s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.04s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.03s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.84s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:9 --------- Remove test config files ------------------------------------------------ 1.77s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:157 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.09s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.97s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:98 -------- Check that files exist and are non-null --------------------------------- 0.94s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:113 ------- Check that files still exist and are non-null --------------------------- 0.93s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:128 ------- Check that files exist and are non-null --------------------------------- 0.93s /WORKDIR/git-registry-passwordaswaizqo/tests/tests_config_files.yml:83 -------- linux-system-roles.podman : Update container config file ---------------- 0.92s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.65s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.65s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.65s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.64s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.64s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.63s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.62s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.61s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-registry-passwordaswaizqo/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---