# 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-cis5ighwah/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cis5ighwah/tests/tests_include_vars_from_parent.yml:2 Saturday 02 March 2024 13:58:24 +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-cis5ighwah/tests/tests_include_vars_from_parent.yml:8 Saturday 02 March 2024 13:58:25 +0000 (0:00:00.742) 0:00:00.754 ******** changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.4195075-2738-67256533947752/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.7615836-2738-132913471327756/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.9695678-2738-234809096694277/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387906.1817293-2738-83637914601548/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/tasks/main.yml:4 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.986) 0:00:01.741 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.026) 0:00:01.768 ******** included: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.016) 0:00:01.785 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.009) 0:00:01.794 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.189) 0:00:01.984 ******** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.010) 0:00:01.995 ******** 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.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 02 March 2024 13:58:26 +0000 (0:00:00.020) 0:00:02.015 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 02 March 2024 13:58:28 +0000 (0:00:02.149) 0:00:04.164 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Saturday 02 March 2024 13:58:28 +0000 (0:00:00.188) 0:00:04.353 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.014) 0:00:04.368 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709063193.977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709063193.825, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4609846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709063193.825, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3041978297", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.205) 0:00:04.573 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709063194.592, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2755a25e033a41d486c3adf0406173e248dcef38", "ctime": 1709063194.593, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 495749, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1709063194.593, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "3604612940", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.205) 0:00:04.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.009) 0:00:04.788 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.252) 0:00:05.041 ******** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 Saturday 02 March 2024 13:58:29 +0000 (0:00:00.194) 0:00:05.235 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.256) 0:00:05.491 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:85 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.010) 0:00:05.502 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.008) 0:00:05.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:100 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.008) 0:00:05.519 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/tasks/main.yml:8 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.008) 0:00:05.528 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis5ighwah/tests/tests_include_vars_from_parent.yml:53 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.012) 0:00:05.540 ******** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.4195075-2738-67256533947752/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-cis5ighwah/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.4195075-2738-67256533947752/source', '_original_basename': 'tmpyr_ocuxw', '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-cis5ighwah/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpyr_ocuxw", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.4195075-2738-67256533947752/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.4195075-2738-67256533947752/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.7615836-2738-132913471327756/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-cis5ighwah/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.7615836-2738-132913471327756/source', '_original_basename': 'tmpzef9eij1', '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-cis5ighwah/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpzef9eij1", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.7615836-2738-132913471327756/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.7615836-2738-132913471327756/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.9695678-2738-234809096694277/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-cis5ighwah/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.9695678-2738-234809096694277/source', '_original_basename': 'tmp2mbya6m5', '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-cis5ighwah/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp2mbya6m5", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387905.9695678-2738-234809096694277/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1709387905.9695678-2738-234809096694277/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387906.1817293-2738-83637914601548/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-cis5ighwah/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1709387906.1817293-2738-83637914601548/source', '_original_basename': 'tmp9nz1v_ab', '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-cis5ighwah/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9nz1v_ab", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-cis5ighwah/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-1709387906.1817293-2738-83637914601548/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1709387906.1817293-2738-83637914601548/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=15 changed=3 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Saturday 02 March 2024 13:58:30 +0000 (0:00:00.467) 0:00:06.007 ******** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.15s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 0.99s /WORKDIR/git-weekly-cis5ighwah/tests/tests_include_vars_from_parent.yml:8 ----- Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-weekly-cis5ighwah/tests/tests_include_vars_from_parent.yml:2 ----- Cleanup ----------------------------------------------------------------- 0.47s /WORKDIR/git-weekly-cis5ighwah/tests/tests_include_vars_from_parent.yml:53 ---- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.26s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:63 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.25s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:46 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:29 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.21s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:34 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Check if system is ostree --------------- 0.19s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Determine platform type ----------------- 0.19s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Include role ------------------------------------------------------------ 0.03s /WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/tasks/main.yml:4 ------------ linux-system-roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 caller : Assert variable not overridden --------------------------------- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/caller/tasks/main.yml:8 ------------ linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Generate boot loader password ----------- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:73 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub --- 0.01s /WORKDIR/git-weekly-cis5ighwah/tests/roles/linux-system-roles.bootloader/tasks/main.yml:39 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---