# 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-mainb0ea34gz/.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-mainb0ea34gz/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-mainb0ea34gz/tests/tests_settings.yml:11 Wednesday 06 December 2023 13:01:45 +0000 (0:00:00.013) 0:00:00.013 **** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 06 December 2023 13:01:45 +0000 (0:00:00.022) 0:00:00.036 **** included: /WORKDIR/git-mainb0ea34gz/.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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 06 December 2023 13:01:45 +0000 (0:00:00.009) 0:00:00.045 **** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Wednesday 06 December 2023 13:01:45 +0000 (0:00:00.388) 0:00:00.434 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 06 December 2023 13:01:45 +0000 (0:00:00.020) 0:00:00.455 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.687) 0:00:01.142 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.177) 0:00:01.320 **** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.190) 0:00:01.510 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.178) 0:00:01.689 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.020) 0:00:01.709 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.011) 0:00:01.720 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.010) 0:00:01.730 **** 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-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Wednesday 06 December 2023 13:01:46 +0000 (0:00:00.014) 0:00:01.744 **** 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_nbOs88/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_nbOs88/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_nbOs88/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_nbOs88/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:01:47 +0000 (0:00:00.249) 0:00:01.994 **** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.39s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.25s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.19s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.18s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.18s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Get bootloader_facts ---------------------------------------------------- 0.02s /WORKDIR/git-mainb0ea34gz/tests/tests_settings.yml:11 ------------------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-mainb0ea34gz/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-mainb0ea34gz/.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-mainb0ea34gz/.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-mainb0ea34gz/.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-mainb0ea34gz/.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. ---^---^---^---^---^---