# 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-ostree-add-default-grub4ob6runv/.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_default.yml **************************************************** 1 plays in /WORKDIR/git-ostree-add-default-grub4ob6runv/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 March 2024 11:56:11 +0000 (0:00:00.015) 0:00:00.015 ********** included: /WORKDIR/git-ostree-add-default-grub4ob6runv/.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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 11:56:11 +0000 (0:00:00.016) 0:00:00.032 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 March 2024 11:56:11 +0000 (0:00:00.618) 0:00:00.650 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 March 2024 11:56:11 +0000 (0:00:00.205) 0:00:00.856 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 March 2024 11:56:11 +0000 (0:00:00.016) 0:00:00.873 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 March 2024 11:56:11 +0000 (0:00:00.019) 0:00:00.892 ********** 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 : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 11 March 2024 11:56:12 +0000 (0:00:00.959) 0:00:01.852 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709722262.4224408, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:20 Monday 11 March 2024 11:56:13 +0000 (0:00:00.161) 0:00:02.013 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 March 2024 11:56:13 +0000 (0:00:00.007) 0:00:02.020 ********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 Monday 11 March 2024 11:56:13 +0000 (0:00:00.007) 0:00:02.028 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 Monday 11 March 2024 11:56:13 +0000 (0:00:00.134) 0:00:02.163 ********** 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 : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 11 March 2024 11:56:13 +0000 (0:00:00.020) 0:00:02.183 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710158173.0283117, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1709722262.4234407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722262.4234407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "1567518337", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Monday 11 March 2024 11:56:13 +0000 (0:00:00.153) 0:00:02.337 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1709722330.1614408, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "84449a6fe7bc582f1779b0c30a0abe2fd54a4e66", "ctime": 1709722761.3824408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709722330.1664407, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4942, "uid": 0, "version": "1567530635", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Monday 11 March 2024 11:56:13 +0000 (0:00:00.160) 0:00:02.498 ********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 11 March 2024 11:56:13 +0000 (0:00:00.008) 0:00:02.506 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 Monday 11 March 2024 11:56:13 +0000 (0:00:00.210) 0:00:02.716 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 Monday 11 March 2024 11:56:13 +0000 (0:00:00.149) 0:00:02.866 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 Monday 11 March 2024 11:56:14 +0000 (0:00:00.195) 0:00:03.061 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 Monday 11 March 2024 11:56:14 +0000 (0:00:00.011) 0:00:03.072 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 11 March 2024 11:56:14 +0000 (0:00:00.008) 0:00:03.081 ********** 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-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 11 March 2024 11:56:14 +0000 (0:00:00.014) 0:00:03.096 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=13 changed=0 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Monday 11 March 2024 11:56:14 +0000 (0:00:00.014) 0:00:03.111 ********** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.96s /WORKDIR/git-ostree-add-default-grub4ob6runv/.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.62s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.21s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.21s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.20s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:83 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.16s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.16s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.15s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.15s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:76 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.13s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:35 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:40 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:93 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:105 fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub --- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 fedora.linux_system_roles.bootloader : Generate /etc/default/grub ------- 0.01s /WORKDIR/git-ostree-add-default-grub4ob6runv/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---