# 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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:4 Saturday 20 January 2024 02:36:12 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:9 Saturday 20 January 2024 02:36:12 +0000 (0:00:00.010) 0:00:00.022 ****** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:48 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.584) 0:00:00.606 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.068) 0:00:00.675 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.013) 0:00:00.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.018) 0:00:00.707 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.253) 0:00:00.960 ****** ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.019) 0:00:00.980 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Saturday 20 January 2024 02:36:13 +0000 (0:00:00.033) 0:00:01.013 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Saturday 20 January 2024 02:36:15 +0000 (0:00:01.660) 0:00:02.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Saturday 20 January 2024 02:36:15 +0000 (0:00:00.027) 0:00:02.701 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: containernetworking-plugins-1:1.3.0-5.module_el8+712+4cd1bd69.x86_64", "Installed: criu-3.18-4.module_el8+712+4cd1bd69.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: fuse3-libs-3.3.0-17.el8.x86_64", "Installed: containers-common-2:1-57.module_el8+712+4cd1bd69.x86_64", "Installed: libslirp-4.4.0-1.module_el8+712+4cd1bd69.x86_64", "Installed: podman-catatonit-3:4.6.1-5.module_el8+712+4cd1bd69.x86_64", "Installed: runc-1:1.1.9-1.module_el8+712+4cd1bd69.x86_64", "Installed: criu-libs-3.18-4.module_el8+712+4cd1bd69.x86_64", "Installed: crun-1.9.2-1.module_el8+712+4cd1bd69.x86_64", "Installed: slirp4netns-1.2.2-1.module_el8+712+4cd1bd69.x86_64", "Installed: podman-gvproxy-3:4.6.1-5.module_el8+712+4cd1bd69.x86_64", "Installed: conmon-3:2.1.8-1.module_el8+712+4cd1bd69.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+712+4cd1bd69.x86_64", "Installed: dnsmasq-2.79-31.el8.x86_64", "Installed: fuse-common-3.3.0-17.el8.x86_64", "Installed: podman-plugins-3:4.6.1-5.module_el8+712+4cd1bd69.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: container-selinux-2:2.224.0-1.module_el8+712+4cd1bd69.noarch", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: policycoreutils-python-utils-2.9-24.el8.noarch", "Installed: podman-3:4.6.1-5.module_el8+712+4cd1bd69.x86_64", "Installed: fuse3-3.3.0-17.el8.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Saturday 20 January 2024 02:37:25 +0000 (0:01:10.335) 0:01:13.036 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031686", "end": "2024-01-20 02:37:25.838672", "rc": 0, "start": "2024-01-20 02:37:25.806986" } STDOUT: podman version 4.6.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Saturday 20 January 2024 02:37:25 +0000 (0:00:00.327) 0:01:13.364 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.6.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Saturday 20 January 2024 02:37:25 +0000 (0:00:00.029) 0:01:13.393 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Saturday 20 January 2024 02:37:25 +0000 (0:00:00.032) 0:01:13.425 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.080) 0:01:13.506 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.036) 0:01:13.542 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.424) 0:01:13.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.024) 0:01:13.991 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.026) 0:01:14.018 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.205) 0:01:14.224 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.031) 0:01:14.256 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1705718182.7992022, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6982619, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "3309633966", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Saturday 20 January 2024 02:37:26 +0000 (0:00:00.212) 0:01:14.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.026) 0:01:14.494 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.018) 0:01:14.513 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.020) 0:01:14.533 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.018) 0:01:14.551 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.018) 0:01:14.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.017) 0:01:14.587 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.077) 0:01:14.665 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.034) 0:01:14.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.019) 0:01:14.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.030) 0:01:14.749 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.054) 0:01:14.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.019) 0:01:14.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.019) 0:01:14.841 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.034) 0:01:14.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.018) 0:01:14.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.017) 0:01:14.912 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.035) 0:01:14.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.017) 0:01:14.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.018) 0:01:14.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.019) 0:01:15.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.019) 0:01:15.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.056) 0:01:15.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.020) 0:01:15.100 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:116 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.031) 0:01:15.132 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:122 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.020) 0:01:15.152 ****** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:59 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.031) 0:01:15.183 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_pv4svb77", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:65 Saturday 20 January 2024 02:37:27 +0000 (0:00:00.250) 0:01:15.434 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_pv4svb77/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.078051", "end": "2024-01-20 02:37:28.201910", "rc": 0, "start": "2024-01-20 02:37:28.123859" } STDOUT: /etc/containers/storage.conf /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 TASK [Create user] ************************************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:72 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.281) 0:01:15.716 ****** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1000, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:76 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.447) 0:01:16.164 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.046) 0:01:16.210 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.033) 0:01:16.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.027) 0:01:16.271 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.028) 0:01:16.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.018) 0:01:16.319 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Saturday 20 January 2024 02:37:28 +0000 (0:00:00.088) 0:01:16.408 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Saturday 20 January 2024 02:37:30 +0000 (0:00:01.575) 0:01:17.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.020) 0:01:18.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.032) 0:01:18.037 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028922", "end": "2024-01-20 02:37:30.755347", "rc": 0, "start": "2024-01-20 02:37:30.726425" } STDOUT: podman version 4.6.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.235) 0:01:18.272 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.6.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.052) 0:01:18.324 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.020) 0:01:18.345 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Saturday 20 January 2024 02:37:30 +0000 (0:00:00.079) 0:01:18.424 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.090) 0:01:18.514 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1000", "1000", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.211) 0:01:18.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.024) 0:01:18.750 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.028) 0:01:18.778 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.216) 0:01:18.995 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.025) 0:01:19.020 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718246.9476058, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1705718182.7992022, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6982619, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "3309633966", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.198) 0:01:19.218 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003755", "end": "2024-01-20 02:37:31.903836", "rc": 0, "start": "2024-01-20 02:37:31.900081" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Saturday 20 January 2024 02:37:31 +0000 (0:00:00.199) 0:01:19.418 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003829", "end": "2024-01-20 02:37:32.100424", "rc": 0, "start": "2024-01-20 02:37:32.096595" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.196) 0:01:19.614 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.019) 0:01:19.634 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.017) 0:01:19.651 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.019) 0:01:19.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.019) 0:01:19.691 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.039) 0:01:19.731 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.036) 0:01:19.768 ****** 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": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Saturday 20 January 2024 02:37:32 +0000 (0:00:00.290) 0:01:20.059 ****** 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-1705718252.6119246-3130-206921052624006/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Saturday 20 January 2024 02:37:33 +0000 (0:00:00.641) 0:01:20.700 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Saturday 20 January 2024 02:37:33 +0000 (0:00:00.044) 0:01:20.745 ****** 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": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Saturday 20 January 2024 02:37:33 +0000 (0:00:00.246) 0:01:20.991 ****** 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-1705718253.555277-3145-259961162559471/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Saturday 20 January 2024 02:37:34 +0000 (0:00:00.580) 0:01:21.571 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Saturday 20 January 2024 02:37:34 +0000 (0:00:00.035) 0:01:21.607 ****** 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": 56, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Saturday 20 January 2024 02:37:34 +0000 (0:00:00.200) 0:01:21.808 ****** 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-1705718254.3608463-3160-260080283814395/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Saturday 20 January 2024 02:37:34 +0000 (0:00:00.564) 0:01:22.373 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Saturday 20 January 2024 02:37:34 +0000 (0:00:00.040) 0:01:22.413 ****** 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": 76, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.203) 0:01:22.617 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.216) 0:01:22.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.026) 0:01:22.860 ****** 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-1705718255.4174592-3201-9699949060288/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.541) 0:01:23.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.028) 0:01:23.430 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Saturday 20 January 2024 02:37:35 +0000 (0:00:00.032) 0:01:23.463 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:116 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.046) 0:01:23.509 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:122 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.022) 0:01:23.532 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:83 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.040) 0:01:23.572 ****** 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": 1705718253.1164522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1705718253.124452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718252.8584588, "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": 1000, "version": "2689912551", "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": 1705718254.0194297, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1705718254.0264297, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025286, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718253.815435, "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": 1000, "version": "3313304903", "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": 1705718254.7944105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1705718254.8014102, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 505413953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718254.6024153, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "3903612154", "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": 1705718255.8453844, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718255.852384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718255.652389, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "371910894", "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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:91 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.805) 0:01:24.378 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.066) 0:01:24.444 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Saturday 20 January 2024 02:37:36 +0000 (0:00:00.033) 0:01:24.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Saturday 20 January 2024 02:37:37 +0000 (0:00:00.029) 0:01:24.507 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Saturday 20 January 2024 02:37:37 +0000 (0:00:00.034) 0:01:24.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Saturday 20 January 2024 02:37:37 +0000 (0:00:00.030) 0:01:24.572 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Saturday 20 January 2024 02:37:37 +0000 (0:00:00.059) 0:01:24.631 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Saturday 20 January 2024 02:37:38 +0000 (0:00:01.527) 0:01:26.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Saturday 20 January 2024 02:37:38 +0000 (0:00:00.047) 0:01:26.207 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Saturday 20 January 2024 02:37:38 +0000 (0:00:00.024) 0:01:26.231 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.029324", "end": "2024-01-20 02:37:38.937707", "rc": 0, "start": "2024-01-20 02:37:38.908383" } STDOUT: podman version 4.6.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Saturday 20 January 2024 02:37:38 +0000 (0:00:00.221) 0:01:26.453 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.6.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Saturday 20 January 2024 02:37:38 +0000 (0:00:00.021) 0:01:26.474 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.018) 0:01:26.492 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.030) 0:01:26.523 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.034) 0:01:26.557 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.022) 0:01:26.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.023) 0:01:26.604 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.025) 0:01:26.629 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.198) 0:01:26.828 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.023) 0:01:26.852 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718246.9476058, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1705718182.7992022, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6982619, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "3309633966", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.195) 0:01:27.047 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003863", "end": "2024-01-20 02:37:39.730514", "rc": 0, "start": "2024-01-20 02:37:39.726651" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.197) 0:01:27.245 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003821", "end": "2024-01-20 02:37:39.932669", "rc": 0, "start": "2024-01-20 02:37:39.928848" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.200) 0:01:27.446 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.019) 0:01:27.465 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Saturday 20 January 2024 02:37:39 +0000 (0:00:00.017) 0:01:27.483 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.017) 0:01:27.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.018) 0:01:27.519 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.038) 0:01:27.558 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.038) 0:01:27.596 ****** 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": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.204) 0:01:27.800 ****** 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": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.481) 0:01:28.282 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Saturday 20 January 2024 02:37:40 +0000 (0:00:00.035) 0:01:28.317 ****** 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": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Saturday 20 January 2024 02:37:41 +0000 (0:00:00.204) 0:01:28.522 ****** 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": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Saturday 20 January 2024 02:37:41 +0000 (0:00:00.498) 0:01:29.020 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Saturday 20 January 2024 02:37:41 +0000 (0:00:00.037) 0:01:29.058 ****** 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": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Saturday 20 January 2024 02:37:41 +0000 (0:00:00.205) 0:01:29.264 ****** 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": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Saturday 20 January 2024 02:37:42 +0000 (0:00:00.493) 0:01:29.757 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Saturday 20 January 2024 02:37:42 +0000 (0:00:00.064) 0:01:29.821 ****** 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": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Saturday 20 January 2024 02:37:42 +0000 (0:00:00.223) 0:01:30.045 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718256.8503592, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718255.852384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718255.652389, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "371910894", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Saturday 20 January 2024 02:37:42 +0000 (0:00:00.206) 0:01:30.251 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.267) 0:01:30.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.021) 0:01:30.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.019) 0:01:30.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.040) 0:01:30.600 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:116 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.018) 0:01:30.618 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:122 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.017) 0:01:30.636 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:98 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.016) 0:01:30.652 ****** 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": 1705718256.2873733, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1705718253.124452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718252.8584588, "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": 1000, "version": "2689912551", "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": 1705718256.4823685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1705718254.0264297, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025286, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718253.815435, "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": 1000, "version": "3313304903", "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": 1705718256.666364, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1705718254.8014102, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 505413953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718254.6024153, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "3903612154", "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": 1705718256.8503592, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718255.852384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718255.652389, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "371910894", "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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:106 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.771) 0:01:31.423 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Saturday 20 January 2024 02:37:43 +0000 (0:00:00.052) 0:01:31.476 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Saturday 20 January 2024 02:37:44 +0000 (0:00:00.033) 0:01:31.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Saturday 20 January 2024 02:37:44 +0000 (0:00:00.031) 0:01:31.541 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Saturday 20 January 2024 02:37:44 +0000 (0:00:00.042) 0:01:31.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Saturday 20 January 2024 02:37:44 +0000 (0:00:00.032) 0:01:31.616 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Saturday 20 January 2024 02:37:44 +0000 (0:00:00.064) 0:01:31.681 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Saturday 20 January 2024 02:37:45 +0000 (0:00:01.560) 0:01:33.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Saturday 20 January 2024 02:37:45 +0000 (0:00:00.027) 0:01:33.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Saturday 20 January 2024 02:37:45 +0000 (0:00:00.065) 0:01:33.334 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028651", "end": "2024-01-20 02:37:46.040312", "rc": 0, "start": "2024-01-20 02:37:46.011661" } STDOUT: podman version 4.6.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.239) 0:01:33.573 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.6.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.041) 0:01:33.615 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.041) 0:01:33.657 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.045) 0:01:33.702 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.036) 0:01:33.738 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.223) 0:01:33.962 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.024) 0:01:33.986 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.025) 0:01:34.012 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.200) 0:01:34.212 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.024) 0:01:34.236 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718246.9476058, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1705718182.7992022, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6982619, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "3309633966", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.195) 0:01:34.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.020) 0:01:34.452 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Saturday 20 January 2024 02:37:46 +0000 (0:00:00.020) 0:01:34.472 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.019) 0:01:34.492 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.020) 0:01:34.513 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.019) 0:01:34.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.020) 0:01:34.553 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.052) 0:01:34.606 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.041) 0:01:34.647 ****** 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": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Saturday 20 January 2024 02:37:47 +0000 (0:00:00.240) 0:01:34.888 ****** 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-1705718267.4524465-3498-186227940823987/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Saturday 20 January 2024 02:37:48 +0000 (0:00:00.643) 0:01:35.531 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Saturday 20 January 2024 02:37:48 +0000 (0:00:00.043) 0:01:35.575 ****** 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": 107, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Saturday 20 January 2024 02:37:48 +0000 (0:00:00.206) 0:01:35.782 ****** 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-1705718268.3359542-3537-34155428705516/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Saturday 20 January 2024 02:37:48 +0000 (0:00:00.573) 0:01:36.355 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Saturday 20 January 2024 02:37:48 +0000 (0:00:00.073) 0:01:36.429 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Saturday 20 January 2024 02:37:49 +0000 (0:00:00.235) 0:01:36.665 ****** 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-1705718269.2210567-3584-87037875800804/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Saturday 20 January 2024 02:37:49 +0000 (0:00:00.570) 0:01:37.236 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Saturday 20 January 2024 02:37:49 +0000 (0:00:00.036) 0:01:37.272 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Saturday 20 January 2024 02:37:50 +0000 (0:00:00.234) 0:01:37.507 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718248.2005746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1705718208.970551, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1697441506.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "2635045112", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Saturday 20 January 2024 02:37:50 +0000 (0:00:00.217) 0:01:37.724 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Saturday 20 January 2024 02:37:50 +0000 (0:00:00.191) 0:01:37.916 ****** 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-1705718270.4724877-3611-205593912881217/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Saturday 20 January 2024 02:37:50 +0000 (0:00:00.550) 0:01:38.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Saturday 20 January 2024 02:37:50 +0000 (0:00:00.018) 0:01:38.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.018) 0:01:38.503 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:116 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.016) 0:01:38.520 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:122 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.017) 0:01:38.537 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:113 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.017) 0:01:38.554 ****** 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": 1705718267.9760823, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1705718267.9800823, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 71303489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718267.7480881, "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": "1293729262", "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": 1705718268.792062, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1705718268.796062, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79692097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718268.5970669, "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": "1775461107", "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": 1705718269.6800401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1705718269.68104, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 88080705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718269.4880447, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1993194599", "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": 1705718270.9130094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718270.9140093, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 100663617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718270.7190142, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1544753243", "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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:121 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.789) 0:01:39.344 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.060) 0:01:39.405 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Saturday 20 January 2024 02:37:51 +0000 (0:00:00.079) 0:01:39.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Saturday 20 January 2024 02:37:52 +0000 (0:00:00.027) 0:01:39.512 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Saturday 20 January 2024 02:37:52 +0000 (0:00:00.027) 0:01:39.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Saturday 20 January 2024 02:37:52 +0000 (0:00:00.024) 0:01:39.564 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Saturday 20 January 2024 02:37:52 +0000 (0:00:00.051) 0:01:39.616 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Saturday 20 January 2024 02:37:53 +0000 (0:00:01.536) 0:01:41.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Saturday 20 January 2024 02:37:53 +0000 (0:00:00.020) 0:01:41.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Saturday 20 January 2024 02:37:53 +0000 (0:00:00.023) 0:01:41.195 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.028505", "end": "2024-01-20 02:37:53.900745", "rc": 0, "start": "2024-01-20 02:37:53.872240" } STDOUT: podman version 4.6.1 STDERR: time="2024-01-20T02:37:53Z" 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Saturday 20 January 2024 02:37:53 +0000 (0:00:00.220) 0:01:41.416 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.6.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Saturday 20 January 2024 02:37:53 +0000 (0:00:00.048) 0:01:41.464 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.062) 0:01:41.527 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.070) 0:01:41.597 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.064) 0:01:41.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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.025) 0:01:41.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.030) 0:01:41.718 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.026) 0:01:41.744 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.199) 0:01:41.944 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.025) 0:01:41.969 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718246.9476058, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1705718182.7992022, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6982619, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "3309633966", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.195) 0:01:42.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.019) 0:01:42.184 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.019) 0:01:42.203 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.017) 0:01:42.221 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.044) 0:01:42.266 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.018) 0:01:42.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.020) 0:01:42.304 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.049) 0:01:42.354 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Saturday 20 January 2024 02:37:54 +0000 (0:00:00.035) 0:01:42.390 ****** 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": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Saturday 20 January 2024 02:37:55 +0000 (0:00:00.207) 0:01:42.597 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Saturday 20 January 2024 02:37:55 +0000 (0:00:00.485) 0:01:43.083 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Saturday 20 January 2024 02:37:55 +0000 (0:00:00.036) 0:01:43.119 ****** 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": 134, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Saturday 20 January 2024 02:37:55 +0000 (0:00:00.203) 0:01:43.322 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Saturday 20 January 2024 02:37:56 +0000 (0:00:00.484) 0:01:43.807 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Saturday 20 January 2024 02:37:56 +0000 (0:00:00.060) 0:01:43.867 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Saturday 20 January 2024 02:37:56 +0000 (0:00:00.208) 0:01:44.075 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.512) 0:01:44.588 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.038) 0:01:44.627 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.208) 0:01:44.835 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705718271.8169868, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718270.9140093, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 100663617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718270.7190142, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1544753243", "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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.206) 0:01:45.042 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.209) 0:01:45.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.046) 0:01:45.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.041) 0:01:45.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.023) 0:01:45.363 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:116 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.019) 0:01:45.382 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:122 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.019) 0:01:45.401 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:128 Saturday 20 January 2024 02:37:57 +0000 (0:00:00.024) 0:01:45.425 ****** 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": 1705718271.2360013, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1705718267.9800823, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 71303489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718267.7480881, "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": "1293729262", "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": 1705718271.4219966, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1705718268.796062, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79692097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718268.5970669, "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": "1775461107", "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": 1705718271.6189919, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1705718269.68104, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 88080705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718269.4880447, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1993194599", "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": 1705718271.8169868, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1705718270.9140093, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 100663617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1705718270.7190142, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1544753243", "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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:136 Saturday 20 January 2024 02:37:58 +0000 (0:00:00.767) 0:01:46.193 ****** included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut included: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:37:58 +0000 (0:00:00.056) 0:01:46.249 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:37:58 +0000 (0:00:00.197) 0:01:46.447 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.060) 0:01:46.507 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.188) 0:01:46.696 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.059) 0:01:46.756 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.191) 0:01:46.947 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.056) 0:01:47.004 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.192) 0:01:47.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:37:59 +0000 (0:00:00.091) 0:01:47.288 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:38:00 +0000 (0:00:00.252) 0:01:47.540 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:3 Saturday 20 January 2024 02:38:00 +0000 (0:00:00.073) 0:01:47.614 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tasks/check_header.yml:9 Saturday 20 January 2024 02:38:00 +0000 (0:00:00.205) 0:01:47.819 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:150 Saturday 20 January 2024 02:38:00 +0000 (0:00:00.069) 0:01:47.889 ****** 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-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:156 Saturday 20 January 2024 02:38:01 +0000 (0:00:01.488) 0:01:49.377 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_pv4svb77/backup.tar" ], "delta": "0:00:00.003939", "end": "2024-01-20 02:38:02.066531", "rc": 0, "start": "2024-01-20 02:38:02.062592" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:161 Saturday 20 January 2024 02:38:02 +0000 (0:00:00.219) 0:01:49.597 ****** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_pv4svb77", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=152 changed=16 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Saturday 20 January 2024 02:38:02 +0000 (0:00:00.239) 0:01:49.836 ****** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 70.34s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 3.10s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 3.10s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.66s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.49s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:150 Check that files exist and are non-null --------------------------------- 0.81s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:83 Check that files exist and are non-null --------------------------------- 0.79s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:113 Check that files still exist and are non-null --------------------------- 0.77s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:98 Check that files still exist and are non-null --------------------------- 0.77s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:128 linux-system-roles.podman : Update container config file ---------------- 0.64s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.64s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/tests_config_files.yml:9 linux-system-roles.podman : Update registries config file --------------- 0.58s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.57s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.57s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.55s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Write new policy.json file ------------------ 0.54s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.51s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.50s /WORKDIR/git-cast-secret-data-to-stringcfwjw86o/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---