# 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-more3qnosev7/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:2 Thursday 30 May 2024 19:50:11 +0000 (0:00:00.015) 0:00:00.015 ********** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:8 Thursday 30 May 2024 19:50:12 +0000 (0:00:00.850) 0:00:00.865 ********** changed: [sut -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS-8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.3767803-2523-128682394236349/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS_8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.91592-2523-128759329312303/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/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-1717098613.2134593-2523-59653648857089/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/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-1717098613.5394645-2523-13233630680119/source", "state": "file", "uid": 1000090000 } TASK [Test setup] ************************************************************** task path: /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:46 Thursday 30 May 2024 19:50:13 +0000 (0:00:01.431) 0:00:02.296 ********** included: /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml for sut TASK [Create temp test directory] ********************************************** task path: /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml:3 Thursday 30 May 2024 19:50:13 +0000 (0:00:00.010) 0:00:02.307 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/tmp/sudo_pe4psn06", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup sudoers] ********************************************************** task path: /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml:10 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.270) 0:00:02.577 ********** changed: [sut] => { "changed": true, "checksum": "e683ad5e5d8d7112d14924c11c98be7bf2ef4918", "dest": "/var/tmp/sudo_pe4psn06/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-more3qnosev7/tests/tasks/setup.yml:19 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.403) 0:00:02.981 ********** changed: [sut] => { "changed": true, "checksum": null, "dest": "/var/tmp/sudo_pe4psn06/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-more3qnosev7/tests/roles/caller/tasks/main.yml:4 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.302) 0:00:03.283 ********** TASK [linux-system-roles.sudo : Set version specific variables] **************** task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:2 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.028) 0:00:03.311 ********** included: /WORKDIR/git-more3qnosev7/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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:2 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.026) 0:00:03.337 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Check if system is ostree] ********************* task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 Thursday 30 May 2024 19:50:14 +0000 (0:00:00.018) 0:00:03.356 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.sudo : Set flag to indicate system is ostree] ********* task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:16 Thursday 30 May 2024 19:50:15 +0000 (0:00:00.197) 0:00:03.554 ********** ok: [sut] => { "ansible_facts": { "__sudo_is_ostree": false }, "changed": false } TASK [linux-system-roles.sudo : Set platform/version specific variables] ******* task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:20 Thursday 30 May 2024 19:50:15 +0000 (0:00:00.020) 0:00:03.574 ********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Ensure sudo is installed] ********************** task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Thursday 30 May 2024 19:50:15 +0000 (0:00:00.086) 0:00:03.661 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.sudo : Set include directories variable] ************** task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:12 Thursday 30 May 2024 19:50:17 +0000 (0:00:02.699) 0:00:06.360 ********** 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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:18 Thursday 30 May 2024 19:50:17 +0000 (0:00:00.012) 0:00:06.372 ********** 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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:24 Thursday 30 May 2024 19:50:17 +0000 (0:00:00.012) 0:00:06.385 ********** 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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:34 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.276) 0:00:06.661 ********** 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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:47 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.013) 0:00:06.675 ********** 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-1717098618.191607-2731-74614571535732/source", "state": "file", "uid": 0 } TASK [linux-system-roles.sudo : Search for sudoers files in included directories] *** task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:67 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.697) 0:00:07.373 ********** 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-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:75 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.045) 0:00:07.419 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Remove unauthorized included sudoers files] **** task path: /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:81 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.046) 0:00:07.465 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-more3qnosev7/tests/roles/caller/tasks/main.yml:8 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.042) 0:00:07.508 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test cleanup] ************************************************************ task path: /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:56 Thursday 30 May 2024 19:50:18 +0000 (0:00:00.013) 0:00:07.522 ********** included: /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml for sut TASK [Restore sudoers] ********************************************************* task path: /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:3 Thursday 30 May 2024 19:50:19 +0000 (0:00:00.032) 0:00:07.554 ********** 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_pe4psn06/sudoers", "state": "file", "uid": 0 } TASK [Restore sudoers.d] ******************************************************* task path: /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:12 Thursday 30 May 2024 19:50:19 +0000 (0:00:00.271) 0:00:07.826 ********** 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_pe4psn06/sudoers.d", "state": "directory", "uid": 0 } TASK [Clean up temp directory] ************************************************* task path: /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:21 Thursday 30 May 2024 19:50:19 +0000 (0:00:00.269) 0:00:08.095 ********** changed: [sut] => { "changed": true, "path": "/var/tmp/sudo_pe4psn06", "state": "absent" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:59 Thursday 30 May 2024 19:50:19 +0000 (0:00:00.190) 0:00:08.285 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS-8.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.3767803-2523-128682394236349/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-more3qnosev7/tests/roles/caller/vars/CentOS-8.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.3767803-2523-128682394236349/source', '_original_basename': 'tmpoicbekyn', '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-8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS-8.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpoicbekyn", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS-8.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-1717098612.3767803-2523-128682394236349/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.3767803-2523-128682394236349/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS-8.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS_8.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.91592-2523-128759329312303/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-more3qnosev7/tests/roles/caller/vars/CentOS_8.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.91592-2523-128759329312303/source', '_original_basename': 'tmp38_b5wj7', '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_8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS_8.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp38_b5wj7", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS_8.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-1717098612.91592-2523-128759329312303/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098612.91592-2523-128759329312303/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS_8.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.2134593-2523-59653648857089/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-more3qnosev7/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.2134593-2523-59653648857089/source', '_original_basename': 'tmp2cx9x84o', '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-more3qnosev7/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp2cx9x84o", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-more3qnosev7/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-1717098613.2134593-2523-59653648857089/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.2134593-2523-59653648857089/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.5394645-2523-13233630680119/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-more3qnosev7/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.5394645-2523-13233630680119/source', '_original_basename': 'tmpq9_wygjk', '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-more3qnosev7/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpq9_wygjk", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-more3qnosev7/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-1717098613.5394645-2523-13233630680119/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717098613.5394645-2523-13233630680119/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-more3qnosev7/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=20 changed=9 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 30 May 2024 19:50:20 +0000 (0:00:00.424) 0:00:08.710 ********** =============================================================================== linux-system-roles.sudo : Ensure sudo is installed ---------------------- 2.70s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Create var file in caller that can override the one in called role ------ 1.43s /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:8 ---------- Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:2 ---------- linux-system-roles.sudo : Ensure /etc/sudoers is configured ------------- 0.70s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:47 Cleanup ----------------------------------------------------------------- 0.42s /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:59 --------- Backup sudoers ---------------------------------------------------------- 0.40s /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml:10 ---------------------------- Backup sudoers.d -------------------------------------------------------- 0.30s /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml:19 ---------------------------- linux-system-roles.sudo : Ensure include directories are created -------- 0.28s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:24 Restore sudoers --------------------------------------------------------- 0.27s /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:3 --------------------------- Create temp test directory ---------------------------------------------- 0.27s /WORKDIR/git-more3qnosev7/tests/tasks/setup.yml:3 ----------------------------- Restore sudoers.d ------------------------------------------------------- 0.27s /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:12 -------------------------- linux-system-roles.sudo : Check if system is ostree --------------------- 0.20s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 Clean up temp directory ------------------------------------------------- 0.19s /WORKDIR/git-more3qnosev7/tests/tasks/cleanup.yml:21 -------------------------- linux-system-roles.sudo : Set platform/version specific variables ------- 0.09s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:20 linux-system-roles.sudo : Set unauthorized included sudoers files variable --- 0.05s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:75 linux-system-roles.sudo : Search for sudoers files in included directories --- 0.05s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:67 linux-system-roles.sudo : Remove unauthorized included sudoers files ---- 0.04s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:81 Test cleanup ------------------------------------------------------------ 0.03s /WORKDIR/git-more3qnosev7/tests/tests_include_vars_from_parent.yml:56 --------- Include role ------------------------------------------------------------ 0.03s /WORKDIR/git-more3qnosev7/tests/roles/caller/tasks/main.yml:4 ----------------- linux-system-roles.sudo : Set version specific variables ---------------- 0.03s /WORKDIR/git-more3qnosev7/tests/roles/linux-system-roles.sudo/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---