# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-maingph97wju/.collection executable location = /opt/ansible-2.16/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.16/bin/python) jinja version = 3.1.2 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-maingph97wju/tests/tests_include_vars_from_parent.yml PLAY [Test roles variables override] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-maingph97wju/tests/tests_include_vars_from_parent.yml:2 Thursday 07 December 2023 13:33:25 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-maingph97wju/tests/tests_include_vars_from_parent.yml:6 Thursday 07 December 2023 13:33:26 +0000 (0:00:00.692) 0:00:00.704 ***** changed: [sut -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-maingph97wju/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701956006.3020086-2338-185885611391985/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-maingph97wju/tests/roles/caller/vars/RedHat-7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701956006.6633854-2338-165294453742091/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-maingph97wju/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701956006.8897276-2338-29122961523402/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-maingph97wju/tests/roles/caller/vars/RedHat_7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701956007.1166217-2338-231539451396118/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-maingph97wju/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-1701956007.3419292-2338-68741554612113/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-maingph97wju/tests/roles/caller/tasks/main.yml:4 Thursday 07 December 2023 13:33:27 +0000 (0:00:01.303) 0:00:02.007 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 December 2023 13:33:27 +0000 (0:00:00.020) 0:00:02.028 ***** included: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 December 2023 13:33:27 +0000 (0:00:00.011) 0:00:02.040 ***** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Thursday 07 December 2023 13:33:27 +0000 (0:00:00.017) 0:00:02.057 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 December 2023 13:33:27 +0000 (0:00:00.018) 0:00:02.076 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.451) 0:00:02.527 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.186) 0:00:02.714 ***** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.191) 0:00:02.905 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.129) 0:00:03.035 ***** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.022) 0:00:03.057 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.011) 0:00:03.069 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.010) 0:00:03.079 ***** skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.014) 0:00:03.093 ***** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-maingph97wju/tests/roles/caller/tasks/main.yml:8 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.016) 0:00:03.109 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=9 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 07 December 2023 13:33:28 +0000 (0:00:00.015) 0:00:03.124 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 1.30s /WORKDIR/git-maingph97wju/tests/tests_include_vars_from_parent.yml:6 ---------- Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-maingph97wju/tests/tests_include_vars_from_parent.yml:2 ---------- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.45s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.19s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.19s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.13s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-maingph97wju/tests/roles/caller/tasks/main.yml:4 ----------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.02s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-maingph97wju/tests/roles/caller/tasks/main.yml:8 ----------------- fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.01s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-maingph97wju/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---