# 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_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:2 Saturday 10 August 2024 23:34:19 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:8 Saturday 10 August 2024 23:34:20 +0000 (0:00:00.734) 0:00:00.746 ******* changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.278039-2867-246168448645290/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.6578448-2867-195889320566186/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml", "gid": 1001, "group": "jenkins", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.9004261-2867-219882361471779/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/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-1723332861.1567616-2867-94680363099695/source", "state": "file", "uid": 1000090000 } TASK [Test setup] ************************************************************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:46 Saturday 10 August 2024 23:34:21 +0000 (0:00:01.133) 0:00:01.879 ******* included: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml for sut TASK [Create temp test directory] ********************************************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:3 Saturday 10 August 2024 23:34:21 +0000 (0:00:00.011) 0:00:01.891 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/tmp/sudo_6__62q73", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup sudoers] ********************************************************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:10 Saturday 10 August 2024 23:34:21 +0000 (0:00:00.220) 0:00:02.111 ******* changed: [sut] => { "changed": true, "checksum": "e683ad5e5d8d7112d14924c11c98be7bf2ef4918", "dest": "/var/tmp/sudo_6__62q73/sudoers", "gid": 0, "group": "root", "md5sum": "1b134d95a4618029ff962a63b021e1ca", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4328, "src": "/etc/sudoers", "state": "file", "uid": 0 } TASK [Backup sudoers.d] ******************************************************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:19 Saturday 10 August 2024 23:34:21 +0000 (0:00:00.267) 0:00:02.379 ******* changed: [sut] => { "changed": true, "checksum": null, "dest": "/var/tmp/sudo_6__62q73/sudoers.d", "gid": 0, "group": "root", "md5sum": null, "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/etc/sudoers.d", "state": "directory", "uid": 0 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/tasks/main.yml:4 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.264) 0:00:02.644 ******* TASK [linux-system-roles.sudo : Set version specific variables] **************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:2 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.021) 0:00:02.666 ******* included: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml for sut TASK [linux-system-roles.sudo : Ensure ansible_facts used by role] ************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:2 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.016) 0:00:02.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Check if system is ostree] ********************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.011) 0:00:02.694 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.sudo : Set flag to indicate system is ostree] ********* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:16 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.172) 0:00:02.867 ******* ok: [sut] => { "ansible_facts": { "__sudo_is_ostree": false }, "changed": false } TASK [linux-system-roles.sudo : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:23 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.012) 0:00:02.879 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.sudo : Set flag if transactional-update exists] ******* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:28 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.170) 0:00:03.050 ******* ok: [sut] => { "ansible_facts": { "__sudo_is_transactional": false }, "changed": false } TASK [linux-system-roles.sudo : Set platform/version specific variables] ******* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:32 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.012) 0:00:03.063 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Ensure sudo is installed] ********************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Saturday 10 August 2024 23:34:22 +0000 (0:00:00.022) 0:00:03.085 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: sudo TASK [linux-system-roles.sudo : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:18 Saturday 10 August 2024 23:34:24 +0000 (0:00:02.016) 0:00:05.102 ******* skipping: [sut] => {} TASK [linux-system-roles.sudo : Reboot transactional update systems] *********** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:23 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.013) 0:00:05.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Fail if reboot is needed and not set] ********** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:28 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.009) 0:00:05.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Set include directories variable] ************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:36 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.008) 0:00:05.133 ******* ok: [sut] => { "ansible_facts": { "sudo_include_dirs": [ "/etc/sudoers.d" ] }, "changed": false } TASK [linux-system-roles.sudo : Set sudoer file paths variable] **************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:42 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.010) 0:00:05.144 ******* ok: [sut] => { "ansible_facts": { "sudo_file_paths": [ "/etc/sudoers" ] }, "changed": false } TASK [linux-system-roles.sudo : Ensure include directories are created] ******** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:48 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.010) 0:00:05.154 ******* 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": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.sudo : Ensure sudoers include files are configured] *** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:58 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.257) 0:00:05.412 ******* skipping: [sut] => (item=/etc/sudoers) => { "ansible_loop_var": "item", "changed": false, "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" } TASK [linux-system-roles.sudo : Ensure /etc/sudoers is configured] ************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:71 Saturday 10 August 2024 23:34:24 +0000 (0:00:00.018) 0:00:05.430 ******* 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-1723332864.9867444-2998-132128276934431/source", "state": "file", "uid": 0 } TASK [linux-system-roles.sudo : Search for sudoers files in included directories] *** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:91 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.620) 0:00:06.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Set unauthorized included sudoers files variable] *** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:99 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.015) 0:00:06.066 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Remove unauthorized included sudoers files] **** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:105 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.033) 0:00:06.100 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/tasks/main.yml:8 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.021) 0:00:06.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test cleanup] ************************************************************ task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:56 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.031) 0:00:06.153 ******* included: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml for sut TASK [Restore sudoers] ********************************************************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:3 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.018) 0:00:06.172 ******* changed: [sut] => { "changed": true, "checksum": "e683ad5e5d8d7112d14924c11c98be7bf2ef4918", "dest": "/etc/sudoers", "gid": 0, "group": "root", "md5sum": "1b134d95a4618029ff962a63b021e1ca", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4328, "src": "/var/tmp/sudo_6__62q73/sudoers", "state": "file", "uid": 0 } TASK [Restore sudoers.d] ******************************************************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:12 Saturday 10 August 2024 23:34:25 +0000 (0:00:00.306) 0:00:06.478 ******* 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": 23, "src": "/var/tmp/sudo_6__62q73/sudoers.d", "state": "directory", "uid": 0 } TASK [Clean up temp directory] ************************************************* task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:21 Saturday 10 August 2024 23:34:26 +0000 (0:00:00.267) 0:00:06.746 ******* changed: [sut] => { "changed": true, "path": "/var/tmp/sudo_6__62q73", "state": "absent" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:59 Saturday 10 August 2024 23:34:26 +0000 (0:00:00.182) 0:00:06.929 ******* changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.278039-2867-246168448645290/source', '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-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.278039-2867-246168448645290/source', '_original_basename': 'tmpxzs22jpr', '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, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS-9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpxzs22jpr", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.278039-2867-246168448645290/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.278039-2867-246168448645290/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.6578448-2867-195889320566186/source', '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-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.6578448-2867-195889320566186/source', '_original_basename': 'tmpk9otv75_', '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, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS_9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpk9otv75_", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.6578448-2867-195889320566186/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.6578448-2867-195889320566186/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.9004261-2867-219882361471779/source', '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-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.9004261-2867-219882361471779/source', '_original_basename': 'tmpq9sud21o', '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, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpq9sud21o", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.9004261-2867-219882361471779/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332860.9004261-2867-219882361471779/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332861.1567616-2867-94680363099695/source', '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-weekly-cioh_fm2ei/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1723332861.1567616-2867-94680363099695/source', '_original_basename': 'tmp1oikwr3_', '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, 'regexp': None, 'delimiter': 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-weekly-cioh_fm2ei/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp1oikwr3_", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332861.1567616-2867-94680363099695/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1723332861.1567616-2867-94680363099695/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=22 changed=9 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Saturday 10 August 2024 23:34:26 +0000 (0:00:00.435) 0:00:07.364 ******* =============================================================================== linux-system-roles.sudo : Ensure sudo is installed ---------------------- 2.02s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Create var file in caller that can override the one in called role ------ 1.13s /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:8 ----- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:2 ----- linux-system-roles.sudo : Ensure /etc/sudoers is configured ------------- 0.62s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:71 Cleanup ----------------------------------------------------------------- 0.44s /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:59 ---- Restore sudoers --------------------------------------------------------- 0.31s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:3 ---------------------- Restore sudoers.d ------------------------------------------------------- 0.27s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:12 --------------------- Backup sudoers ---------------------------------------------------------- 0.27s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:10 ----------------------- Backup sudoers.d -------------------------------------------------------- 0.26s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:19 ----------------------- linux-system-roles.sudo : Ensure include directories are created -------- 0.26s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:48 Create temp test directory ---------------------------------------------- 0.22s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/setup.yml:3 ------------------------ Clean up temp directory ------------------------------------------------- 0.18s /WORKDIR/git-weekly-cioh_fm2ei/tests/tasks/cleanup.yml:21 --------------------- linux-system-roles.sudo : Check if system is ostree --------------------- 0.17s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 linux-system-roles.sudo : Check if transactional-update exists in /sbin --- 0.17s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:23 linux-system-roles.sudo : Set unauthorized included sudoers files variable --- 0.03s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:99 caller : Assert variable not overridden --------------------------------- 0.03s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/tasks/main.yml:8 ------------ linux-system-roles.sudo : Set platform/version specific variables ------- 0.02s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:32 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/caller/tasks/main.yml:4 ------------ linux-system-roles.sudo : Remove unauthorized included sudoers files ---- 0.02s /WORKDIR/git-weekly-cioh_fm2ei/tests/roles/linux-system-roles.sudo/tasks/main.yml:105 Test cleanup ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-cioh_fm2ei/tests/tests_include_vars_from_parent.yml:56 ---- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---