# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] 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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-support_transactional_updatez99mgeh7/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:2 Tuesday 30 July 2024 19:19:57 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:8 Tuesday 30 July 2024 19:19:58 +0000 (0:00:01.042) 0:00:01.055 ********** changed: [sut -> localhost] => (item=Fedora-39) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.599378-2495-105378830123820/.source.yml", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_39) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.9739666-2495-118348767801329/.source.yml", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml", "gid": 1001, "group": "jenkins", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.2147152-2495-180521782767476/.source.yml", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.4471948-2495-70948472453553/.source.yml", "state": "file", "uid": 1000090000 } TASK [Test setup] ************************************************************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:44 Tuesday 30 July 2024 19:19:59 +0000 (0:00:01.114) 0:00:02.169 ********** included: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml for sut TASK [Create temp test directory] ********************************************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:3 Tuesday 30 July 2024 19:19:59 +0000 (0:00:00.010) 0:00:02.180 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/tmp/sudo_y2g5deyh", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Backup sudoers] ********************************************************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:10 Tuesday 30 July 2024 19:19:59 +0000 (0:00:00.279) 0:00:02.459 ********** changed: [sut] => { "changed": true, "checksum": "ab0033aa8d46a209d71bfd49f8a2548c86b30be8", "dest": "/var/tmp/sudo_y2g5deyh/sudoers", "gid": 0, "group": "root", "md5sum": "a5290df67c7ed217bff527e10cd87040", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4375, "src": "/etc/sudoers", "state": "file", "uid": 0 } TASK [Backup sudoers.d] ******************************************************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:19 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.335) 0:00:02.795 ********** changed: [sut] => { "changed": true, "checksum": null, "dest": "/var/tmp/sudo_y2g5deyh/sudoers.d", "gid": 0, "group": "root", "md5sum": null, "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "src": "/etc/sudoers.d", "state": "directory", "uid": 0 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/tasks/main.yml:4 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.331) 0:00:03.127 ********** included: fedora.linux_system_roles.sudo for sut TASK [fedora.linux_system_roles.sudo : Set version specific variables] ********* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:2 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.024) 0:00:03.152 ********** included: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.sudo : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:2 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.014) 0:00:03.167 ********** skipping: [sut] => { "changed": false, "false_condition": "__sudo_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.sudo : Check if system is ostree] ************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:10 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.013) 0:00:03.180 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.sudo : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:15 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.232) 0:00:03.413 ********** ok: [sut] => { "ansible_facts": { "__sudo_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.sudo : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:22 Tuesday 30 July 2024 19:20:00 +0000 (0:00:00.014) 0:00:03.427 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.sudo : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:27 Tuesday 30 July 2024 19:20:01 +0000 (0:00:00.233) 0:00:03.661 ********** ok: [sut] => { "ansible_facts": { "__sudo_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.sudo : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:31 Tuesday 30 July 2024 19:20:01 +0000 (0:00:00.016) 0:00:03.678 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.sudo : Ensure sudo is installed] *************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:5 Tuesday 30 July 2024 19:20:01 +0000 (0:00:00.022) 0:00:03.700 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.sudo : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:17 Tuesday 30 July 2024 19:20:04 +0000 (0:00:03.132) 0:00:06.833 ********** skipping: [sut] => { "false_condition": "__sudo_is_transactional | d(false)" } TASK [fedora.linux_system_roles.sudo : Reboot transactional update systems] **** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:22 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.013) 0:00:06.846 ********** skipping: [sut] => { "changed": false, "false_condition": "__sudo_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.sudo : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:27 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.012) 0:00:06.858 ********** skipping: [sut] => { "changed": false, "false_condition": "__sudo_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.sudo : Set include directories variable] ******* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:35 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.012) 0:00:06.871 ********** ok: [sut] => { "ansible_facts": { "sudo_include_dirs": [ "/etc/sudoers.d" ] }, "changed": false } TASK [fedora.linux_system_roles.sudo : Set sudoer file paths variable] ********* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:39 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.018) 0:00:06.889 ********** ok: [sut] => { "ansible_facts": { "sudo_file_paths": [ "/etc/sudoers" ] }, "changed": false } TASK [fedora.linux_system_roles.sudo : Ensure include directories are created] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:43 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.019) 0:00:06.909 ********** ok: [sut] => (item=/etc/sudoers.d) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/sudoers.d", "mode": "0750", "owner": "root", "path": "/etc/sudoers.d", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.sudo : Ensure sudoers include files are configured] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:53 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.312) 0:00:07.221 ********** skipping: [sut] => (item=/etc/sudoers) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path != \"/etc/sudoers\"", "item": { "defaults": [ "!visiblepw", "always_set_home", "match_group_by_gid", "always_query_group_plugin", "env_reset", { "secure_path": [ "/sbin", "/bin", "/usr/sbin", "/usr/bin" ] }, { "env_keep": [ "COLORS", "DISPLAY", "HOSTNAME", "HISTSIZE", "KDEDIR", "LS_COLORS", "MAIL", "PS1", "PS2", "QTDIR", "USERNAME", "LANG", "LC_ADDRESS", "LC_CTYPE", "LC_COLLATE", "LC_IDENTIFICATION", "LC_MEASUREMENT", "LC_MESSAGES", "LC_MONETARY", "LC_NAME", "LC_NUMERIC", "LC_PAPER", "LC_TELEPHONE", "LC_TIME", "LC_ALL", "LANGUAGE", "LINGUAS", "_XKB_CHARSET", "XAUTHORITY" ] } ], "include_directories": [ "/etc/sudoers.d" ], "path": "/etc/sudoers", "user_specifications": [ { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "root" ] }, { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "%wheel" ] } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.sudo : Ensure /etc/sudoers is configured] ****** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:66 Tuesday 30 July 2024 19:20:04 +0000 (0:00:00.016) 0:00:07.238 ********** changed: [sut] => (item=/etc/sudoers) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc5c161eed42bf4d12f49c476bfc46e8e56097d2", "dest": "/etc/sudoers", "gid": 0, "group": "root", "item": { "defaults": [ "!visiblepw", "always_set_home", "match_group_by_gid", "always_query_group_plugin", "env_reset", { "secure_path": [ "/sbin", "/bin", "/usr/sbin", "/usr/bin" ] }, { "env_keep": [ "COLORS", "DISPLAY", "HOSTNAME", "HISTSIZE", "KDEDIR", "LS_COLORS", "MAIL", "PS1", "PS2", "QTDIR", "USERNAME", "LANG", "LC_ADDRESS", "LC_CTYPE", "LC_COLLATE", "LC_IDENTIFICATION", "LC_MEASUREMENT", "LC_MESSAGES", "LC_MONETARY", "LC_NAME", "LC_NUMERIC", "LC_PAPER", "LC_TELEPHONE", "LC_TIME", "LC_ALL", "LANGUAGE", "LINGUAS", "_XKB_CHARSET", "XAUTHORITY" ] } ], "include_directories": [ "/etc/sudoers.d" ], "path": "/etc/sudoers", "user_specifications": [ { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "root" ] }, { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "%wheel" ] } ] }, "md5sum": "10930d4d72a2804fdbc804a21a30f856", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 813, "src": "/root/.ansible/tmp/ansible-tmp-1722367204.790964-2639-50527402329849/.source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.sudo : Search for sudoers files in included directories] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:86 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.756) 0:00:07.994 ********** skipping: [sut] => { "changed": false, "false_condition": "sudo_remove_unauthorized_included_files | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.sudo : Set unauthorized included sudoers files variable] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:94 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.011) 0:00:08.005 ********** skipping: [sut] => { "changed": false, "false_condition": "sudo_remove_unauthorized_included_files | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.sudo : Remove unauthorized included sudoers files] *** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:98 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.011) 0:00:08.017 ********** skipping: [sut] => { "changed": false, "false_condition": "sudo_remove_unauthorized_included_files | bool", "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/tasks/main.yml:8 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.014) 0:00:08.031 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test cleanup] ************************************************************ task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:54 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.011) 0:00:08.043 ********** included: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml for sut TASK [Restore sudoers] ********************************************************* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:3 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.010) 0:00:08.054 ********** changed: [sut] => { "changed": true, "checksum": "ab0033aa8d46a209d71bfd49f8a2548c86b30be8", "dest": "/etc/sudoers", "gid": 0, "group": "root", "md5sum": "a5290df67c7ed217bff527e10cd87040", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4375, "src": "/var/tmp/sudo_y2g5deyh/sudoers", "state": "file", "uid": 0 } TASK [Restore sudoers.d] ******************************************************* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:12 Tuesday 30 July 2024 19:20:05 +0000 (0:00:00.323) 0:00:08.378 ********** changed: [sut] => { "changed": true, "checksum": null, "dest": "/etc/sudoers.d/sudoers.d", "gid": 0, "group": "root", "md5sum": null, "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "src": "/var/tmp/sudo_y2g5deyh/sudoers.d", "state": "directory", "uid": 0 } TASK [Clean up temp directory] ************************************************* task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:21 Tuesday 30 July 2024 19:20:06 +0000 (0:00:00.324) 0:00:08.703 ********** changed: [sut] => { "changed": true, "path": "/var/tmp/sudo_y2g5deyh", "state": "absent" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:57 Tuesday 30 July 2024 19:20:06 +0000 (0:00:00.238) 0:00:08.941 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.599378-2495-105378830123820/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.599378-2495-105378830123820/.source.yml', '_original_basename': '.zh_z2mw_', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'Fedora-39', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": ".zh_z2mw_", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.599378-2495-105378830123820/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora-39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.599378-2495-105378830123820/.source.yml", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora-39.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.9739666-2495-118348767801329/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.9739666-2495-118348767801329/.source.yml', '_original_basename': '.70w973_9', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'Fedora_39', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": ".70w973_9", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.9739666-2495-118348767801329/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora_39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367198.9739666-2495-118348767801329/.source.yml", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora_39.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.2147152-2495-180521782767476/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.2147152-2495-180521782767476/.source.yml', '_original_basename': '.lg64ido2', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'Fedora', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": ".lg64ido2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.2147152-2495-180521782767476/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.2147152-2495-180521782767476/.source.yml", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/Fedora.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.4471948-2495-70948472453553/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.4471948-2495-70948472453553/.source.yml', '_original_basename': '.csxw6nwz', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": ".csxw6nwz", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.4471948-2495-70948472453553/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722367199.4471948-2495-70948472453553/.source.yml", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/vars/RedHat.yml", "state": "absent" } PLAY RECAP ********************************************************************* sut : ok=23 changed=9 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Tuesday 30 July 2024 19:20:06 +0000 (0:00:00.486) 0:00:09.427 ********** =============================================================================== fedora.linux_system_roles.sudo : Ensure sudo is installed --------------- 3.13s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:5 Create var file in caller that can override the one in called role ------ 1.11s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:8 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.sudo : Ensure /etc/sudoers is configured ------ 0.76s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:66 Cleanup ----------------------------------------------------------------- 0.49s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tests_include_vars_from_parent.yml:57 Backup sudoers ---------------------------------------------------------- 0.34s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:10 ---- Backup sudoers.d -------------------------------------------------------- 0.33s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:19 ---- Restore sudoers.d ------------------------------------------------------- 0.32s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:12 -- Restore sudoers --------------------------------------------------------- 0.32s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:3 --- fedora.linux_system_roles.sudo : Ensure include directories are created --- 0.31s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:43 Create temp test directory ---------------------------------------------- 0.28s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/setup.yml:3 ----- Clean up temp directory ------------------------------------------------- 0.24s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/tasks/cleanup.yml:21 -- fedora.linux_system_roles.sudo : Check if transactional-update exists in /sbin --- 0.23s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:22 fedora.linux_system_roles.sudo : Check if system is ostree -------------- 0.23s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:10 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/tests/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.sudo : Set platform/version specific variables --- 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:31 fedora.linux_system_roles.sudo : Set sudoer file paths variable --------- 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:39 fedora.linux_system_roles.sudo : Set include directories variable ------- 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:35 fedora.linux_system_roles.sudo : Ensure sudoers include files are configured --- 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/main.yml:53 fedora.linux_system_roles.sudo : Set flag if transactional-update exists --- 0.02s /WORKDIR/git-support_transactional_updatez99mgeh7/.collection/ansible_collections/fedora/linux_system_roles/roles/sudo/tasks/set_vars.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---