ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles 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 'jsonl', 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_default.yml **************************************************** 2 plays in /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:5 Monday 21 September 2026 16:44:49 -0400 (0:00:00.016) 0:00:00.016 ****** ok: [managed-node2] => { "ansible_facts": { "__bootloader_test_hash": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n36393032626465646465663830343861656263366136386433633836643362653034343133323535\n3330663362346336346461386138346564353235306635660a363363613535643535306132613964\n31653465613164663234343536623737326561653732623237313334356162646133333263643561\n3630346265373535320a666562343564626463623262313732323337333431626465326138336462\n31393231313438376132393264366634643564636632643561333230373365306465623264633938\n32376538316663613765623762373062616134616631383866383730353634396366663038386235\n37326530373762626162376234353635333235313639663234353164616134623562646535323035\n35393662653966383265633363363461393030653839613763386333663865633634376562363332\n38373463336162393066306465326262383830663933393637356265383239356433613861326637\n39353633346566303564333139636663386663336432623063353034633738306236363630653335\n64643435316437303938353438383566373032646264373132616530653133373438333565653530\n61633031306565373065326161393135393633666462366637346232376564313733316137373435\n37616233633836346662336537356436393132616432623131366230363334626665386132663739\n35326564386238633737383832383865393737386662616565373036323865613234633234373330\n62353836383538633762646539353563333636646237633761343139323130366233663633663461\n36313839663264353062653534653636306362313031316434383866373063336539386532336638\n61623935653964353833666635313765346439386233396463366330643239663735666563313365\n6639316136343337346135326331653939323462386230313238\n" }, "__bootloader_test_new_hash": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n38343664623539623364396233306631313533396162333234616561396165636332663064346337\n3239333537636431393431653436336537636363646433620a356166336431303835343861356139\n65313264636238633566323339653538323862313364643835336664356263616262326138373831\n3232623063633833320a626436386131363934383639373362356435343633656536346230643233\n62313633306238343030666535323765656237333663383030663339333066386261363763393966\n36663666313633363365353965343065653939323539336564623234333338333931323332323862\n63363238393662373833323039323836303433663032333765393361646432383734366334613164\n65303937393363343031653437353263333861383134323537346563346237633166303530386336\n66316463313838376534303035616436313064353263393234383731656263323637396234643563\n36653039393233396631666535373837373564326236353436303831383738353237353635313430\n61643738386231666361616337306630373434393836373736383965316235383861323464303961\n39623837633130666465636634633033323766373933663731653433353830663133616435663362\n32316534356331333761663730316233653632353738353238366538373861393737326536633731\n63613866646465633536346133326335613365636265393336383037326638363931303264383934\n34353932613732373539613630636164636438343835326433366466303937626363613562633464\n37373965623737336239353262393932326434393433376638653936623936623031623437306564\n61336531353535666563623037306239323832613464663236363339303732336238653464646463\n3337356239396133643961306266666130613837656335353366\n" } }, "ansible_included_var_files": [ "/tmp/bootloader-O5N/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 Monday 21 September 2026 16:44:49 -0400 (0:00:00.015) 0:00:00.032 ****** ok: [managed-node2] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 Monday 21 September 2026 16:44:49 -0400 (0:00:00.827) 0:00:00.859 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790023487.7579308, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1790023178.568, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1790023178.568, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:17 Monday 21 September 2026 16:44:50 -0400 (0:00:00.397) 0:00:01.257 ****** ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-09-21 16:44:49" }, "changed": false } TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:22 Monday 21 September 2026 16:44:50 -0400 (0:00:00.033) 0:00:01.290 ****** included: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 21 September 2026 16:44:50 -0400 (0:00:00.028) 0:00:01.318 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Run with default parameters] ********************************************* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:25 Monday 21 September 2026 16:44:50 -0400 (0:00:00.048) 0:00:01.367 ****** included: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 21 September 2026 16:44:50 -0400 (0:00:00.031) 0:00:01.398 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 21 September 2026 16:44:50 -0400 (0:00:00.011) 0:00:01.410 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 21 September 2026 16:44:50 -0400 (0:00:00.039) 0:00:01.450 ****** included: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 21 September 2026 16:44:50 -0400 (0:00:00.017) 0:00:01.467 ****** ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 21 September 2026 16:44:50 -0400 (0:00:00.492) 0:00:01.960 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T16:44:51-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 21 September 2026 16:44:51 -0400 (0:00:00.393) 0:00:02.353 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 21 September 2026 16:44:51 -0400 (0:00:00.380) 0:00:02.733 ****** ok: [managed-node2] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 21 September 2026 16:44:51 -0400 (0:00:00.016) 0:00:02.750 ****** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 21 September 2026 16:44:51 -0400 (0:00:00.029) 0:00:02.780 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 21 September 2026 16:44:51 -0400 (0:00:00.012) 0:00:02.792 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 21 September 2026 16:44:51 -0400 (0:00:00.024) 0:00:02.816 ****** included: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 21 September 2026 16:44:51 -0400 (0:00:00.019) 0:00:02.835 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 21 September 2026 16:44:51 -0400 (0:00:00.015) 0:00:02.851 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password_hash is null or a GRUB PBKDF2 SHA512 hash] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 21 September 2026 16:44:51 -0400 (0:00:00.014) 0:00:02.866 ****** ok: [managed-node2] => { "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 : Assert bootloader_password_hash does not conflict with password settings] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:37 Monday 21 September 2026 16:44:51 -0400 (0:00:00.014) 0:00:02.880 ****** ok: [managed-node2] => { "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 : Assert kernel in bootloader_settings is defined and valid type] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:49 Monday 21 September 2026 16:44:51 -0400 (0:00:00.013) 0:00:02.894 ****** TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:64 Monday 21 September 2026 16:44:51 -0400 (0:00:00.011) 0:00:02.906 ****** TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 21 September 2026 16:44:51 -0400 (0:00:00.010) 0:00:02.917 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 21 September 2026 16:45:05 -0400 (0:00:13.211) 0:00:16.129 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 21 September 2026 16:45:05 -0400 (0:00:00.320) 0:00:16.449 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 21 September 2026 16:45:05 -0400 (0:00:00.017) 0:00:16.467 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 21 September 2026 16:45:05 -0400 (0:00:00.014) 0:00:16.482 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 21 September 2026 16:45:05 -0400 (0:00:00.302) 0:00:16.784 ****** ok: [managed-node2] => { "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: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 21 September 2026 16:45:05 -0400 (0:00:00.031) 0:00:16.816 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790023505.4002912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 21 September 2026 16:45:06 -0400 (0:00:00.312) 0:00:17.129 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 21 September 2026 16:45:06 -0400 (0:00:00.323) 0:00:17.452 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003584", "end": "2026-09-21 16:45:06.816419", "rc": 0, "start": "2026-09-21 16:45:06.812835" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 21 September 2026 16:45:06 -0400 (0:00:00.404) 0:00:17.856 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:103 Monday 21 September 2026 16:45:06 -0400 (0:00:00.014) 0:00:17.871 ****** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "system_u:object_r:boot_t:s0", "size": 6406, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 21 September 2026 16:45:07 -0400 (0:00:00.429) 0:00:18.300 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 21 September 2026 16:45:07 -0400 (0:00:00.015) 0:00:18.316 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 Monday 21 September 2026 16:45:07 -0400 (0:00:00.013) 0:00:18.329 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:137 Monday 21 September 2026 16:45:07 -0400 (0:00:00.398) 0:00:18.727 ****** skipping: [managed-node2] => { "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: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:149 Monday 21 September 2026 16:45:07 -0400 (0:00:00.015) 0:00:18.742 ****** skipping: [managed-node2] => { "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 : Install precomputed boot loader password hash] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:157 Monday 21 September 2026 16:45:07 -0400 (0:00:00.012) 0:00:18.755 ****** skipping: [managed-node2] => { "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: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:165 Monday 21 September 2026 16:45:07 -0400 (0:00:00.011) 0:00:18.766 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:172 Monday 21 September 2026 16:45:07 -0400 (0:00:00.011) 0:00:18.778 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:178 Monday 21 September 2026 16:45:07 -0400 (0:00:00.011) 0:00:18.790 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 Monday 21 September 2026 16:45:07 -0400 (0:00:00.011) 0:00:18.801 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T16:45:08-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 Monday 21 September 2026 16:45:08 -0400 (0:00:00.305) 0:00:19.107 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-09-21 16:44:49\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=bootloader\"", "delta": "0:00:00.008712", "end": "2026-09-21 16:45:08.382987", "rc": 0, "start": "2026-09-21 16:45:08.374275" } STDOUT: Sep 21 16:44:51 managed-node2 platform-python[9149]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:44:51-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False Sep 21 16:45:08 managed-node2 platform-python[10503]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:45:08-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 Monday 21 September 2026 16:45:08 -0400 (0:00:00.317) 0:00:19.425 ****** ok: [managed-node2] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOS0yMVQxNjo0NDo1MS0wNDowMCIsInJvbGVfbmFtZSI6ImJvb3Rsb2FkZXIiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLVZGcy9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvYm9vdGxvYWRlciIsInN0YXR1cyI6ImJlZ2luIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9CnsiZGF0ZSI6IjIwMjYtMDktMjFUMTY6NDU6MDgtMDQ6MDAiLCJyb2xlX25hbWUiOiJib290bG9hZGVyIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1WRnMvYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL2Jvb3Rsb2FkZXIiLCJzdGF0dXMiOiJzdWNjZXNzIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9Cg==", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58 Monday 21 September 2026 16:45:08 -0400 (0:00:00.432) 0:00:19.857 ****** ok: [managed-node2] => (item={"date":"2026-09-21T16:44:51-04:00","role_name":"bootloader","role_path":"/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader","status":"begin","ansible_version":"2.9.27","managed_node_distro":"CentOS-8","play_hosts_number":1,"ansible_check_mode":false} {"date":"2026-09-21T16:45:08-04:00","role_name":"bootloader","role_path":"/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader","status":"success","ansible_version":"2.9.27","managed_node_distro":"CentOS-8","play_hosts_number":1,"ansible_check_mode":false} ) => { "ansible_loop_var": "item", "item": "{\"date\":\"2026-09-21T16:44:51-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader\",\"status\":\"begin\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-8\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n{\"date\":\"2026-09-21T16:45:08-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader\",\"status\":\"success\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-8\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n" } ok: [managed-node2] => (item=['Sep 21 16:44:51 managed-node2 platform-python[9149]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:44:51-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False', 'Sep 21 16:45:08 managed-node2 platform-python[10503]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:45:08-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Sep 21 16:44:51 managed-node2 platform-python[9149]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:44:51-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False", "Sep 21 16:45:08 managed-node2 platform-python[10503]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T16:45:08-04:00 role_name=bootloader role_path=/tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65 Monday 21 September 2026 16:45:08 -0400 (0:00:00.034) 0:00:19.891 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=30 changed=0 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 21 September 2026 16:45:08 -0400 (0:00:00.033) 0:00:19.925 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 13.21s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.83s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.49s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Check that the log file was written ------------------------------------- 0.43s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config --- 0.43s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:103 fedora.linux_system_roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg --- 0.40s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.40s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 See if /dev/log exists for the fingerprint check ------------------------ 0.40s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.39s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.38s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.32s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.32s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Get fingerprint entries from journal ------------------------------------ 0.32s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.31s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 fedora.linux_system_roles.bootloader : Record role success fingerprint --- 0.31s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.30s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Gather architecture facts ----------------------------------------------- 0.05s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Run the role normally --------------------------------------------------- 0.04s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Print contents of logs -------------------------------------------------- 0.03s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58 Assert content is correct ----------------------------------------------- 0.03s /tmp/collections-VFs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65