# 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-mainr6lvx9sv/.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_settings.yml *************************************************** 1 plays in /WORKDIR/git-mainr6lvx9sv/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-mainr6lvx9sv/tests/tests_settings.yml:11 Wednesday 06 December 2023 13:14:50 +0000 (0:00:00.012) 0:00:00.012 **** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 06 December 2023 13:14:50 +0000 (0:00:00.019) 0:00:00.031 **** included: /WORKDIR/git-mainr6lvx9sv/.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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:14:50 +0000 (0:00:00.008) 0:00:00.039 **** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Wednesday 06 December 2023 13:14:50 +0000 (0:00:00.352) 0:00:00.392 **** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 06 December 2023 13:14:50 +0000 (0:00:00.016) 0:00:00.408 **** 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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Wednesday 06 December 2023 13:14:51 +0000 (0:00:00.614) 0:00:01.022 **** ok: [sut] => { "changed": false, "mod_boot_args_cmd": [], "rm_boot_args_cmd": [] } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Wednesday 06 December 2023 13:14:51 +0000 (0:00:00.174) 0:00:01.197 **** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Wednesday 06 December 2023 13:14:51 +0000 (0:00:00.183) 0:00:01.380 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.173) 0:00:01.554 **** 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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.020) 0:00:01.575 **** 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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.011) 0:00:01.586 **** 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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.008) 0:00:01.595 **** 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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.013) 0:00:01.608 **** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute 'group' fatal: [sut]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDERR: Traceback (most recent call last): File "", line 107, in File "", line 99, in _ansiballz_main File "", line 48, in invoke_module File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_fedora.linux_system_roles.bootloader_facts_payload_GpGD9X/ansible_fedora.linux_system_roles.bootloader_facts_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_facts.py", line 84, in File "/tmp/ansible_fedora.linux_system_roles.bootloader_facts_payload_GpGD9X/ansible_fedora.linux_system_roles.bootloader_facts_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_facts.py", line 80, in main File "/tmp/ansible_fedora.linux_system_roles.bootloader_facts_payload_GpGD9X/ansible_fedora.linux_system_roles.bootloader_facts_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_facts.py", line 71, in run_module File "/tmp/ansible_fedora.linux_system_roles.bootloader_facts_payload_GpGD9X/ansible_fedora.linux_system_roles.bootloader_facts_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_facts.py", line 43, in get_facts AttributeError: 'NoneType' object has no attribute 'group' to retry, use: --limit @/tmp/tests_settings.retry PLAY RECAP ********************************************************************* sut : ok=7 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Wednesday 06 December 2023 13:14:52 +0000 (0:00:00.525) 0:00:02.134 **** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.61s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.35s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.18s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.17s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.17s /WORKDIR/git-mainr6lvx9sv/.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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Get bootloader_facts ---------------------------------------------------- 0.02s /WORKDIR/git-mainr6lvx9sv/tests/tests_settings.yml:11 ------------------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-mainr6lvx9sv/.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-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-mainr6lvx9sv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---