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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:5 Tuesday 22 September 2026 16:51: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-CVh/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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 Tuesday 22 September 2026 16:51: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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.840) 0:00:00.872 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790110308.0206718, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1790109996.571, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12527, "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": 1790109996.571, "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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:17 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.403) 0:00:01.276 ***** ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-09-22 16:51:49" }, "changed": false } TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:22 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.034) 0:00:01.310 ***** included: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.028) 0:00:01.339 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:25 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.053) 0:00:01.393 ***** included: /tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.031) 0:00:01.424 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.011) 0:00:01.436 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.041) 0:00:01.478 ***** included: /tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 22 September 2026 16:51:50 -0400 (0:00:00.018) 0:00:01.496 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 22 September 2026 16:51:51 -0400 (0:00:00.500) 0:00:01.997 ***** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-22T16:51:51-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Tuesday 22 September 2026 16:51:51 -0400 (0:00:00.376) 0:00:02.373 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Tuesday 22 September 2026 16:51:51 -0400 (0:00:00.374) 0:00:02.748 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Tuesday 22 September 2026 16:51:51 -0400 (0:00:00.016) 0:00:02.765 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.030) 0:00:02.795 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.012) 0:00:02.808 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.025) 0:00:02.833 ***** included: /tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.018) 0:00:02.852 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.016) 0:00:02.869 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.015) 0:00:02.884 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:37 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.015) 0:00:02.899 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:49 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.015) 0:00:02.915 ***** TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:64 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.011) 0:00:02.927 ***** TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Tuesday 22 September 2026 16:51:52 -0400 (0:00:00.011) 0:00:02.938 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 22 September 2026 16:52:05 -0400 (0:00:13.183) 0:00:16.122 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Tuesday 22 September 2026 16:52:05 -0400 (0:00:00.333) 0:00:16.455 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 22 September 2026 16:52:05 -0400 (0:00:00.017) 0:00:16.473 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Tuesday 22 September 2026 16:52:05 -0400 (0:00:00.014) 0:00:16.487 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 22 September 2026 16:52:06 -0400 (0:00:00.318) 0:00:16.806 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Tuesday 22 September 2026 16:52:06 -0400 (0:00:00.024) 0:00:16.831 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790110325.626853, "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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Tuesday 22 September 2026 16:52:06 -0400 (0:00:00.332) 0:00:17.164 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Tuesday 22 September 2026 16:52:06 -0400 (0:00:00.332) 0:00:17.497 ***** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003794", "end": "2026-09-22 16:52:07.095092", "rc": 0, "start": "2026-09-22 16:52:07.091298" } 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 22 September 2026 16:52:07 -0400 (0:00:00.416) 0:00:17.913 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:103 Tuesday 22 September 2026 16:52:07 -0400 (0:00:00.018) 0:00:17.932 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Tuesday 22 September 2026 16:52:07 -0400 (0:00:00.431) 0:00:18.363 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Tuesday 22 September 2026 16:52:07 -0400 (0:00:00.023) 0:00:18.386 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 Tuesday 22 September 2026 16:52:07 -0400 (0:00:00.019) 0:00:18.406 ***** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:137 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.429) 0:00:18.835 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:149 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.015) 0:00:18.850 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:157 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.017) 0:00:18.868 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:165 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.015) 0:00:18.883 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:172 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.014) 0:00:18.898 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:178 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.022) 0:00:18.920 ***** 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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.012) 0:00:18.933 ***** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-22T16:52:08-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.313) 0:00:19.246 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-09-22 16:51:49\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=bootloader\"", "delta": "0:00:00.008465", "end": "2026-09-22 16:52:08.768660", "rc": 0, "start": "2026-09-22 16:52:08.760195" } STDOUT: Sep 22 16:51:51 managed-node2 platform-python[9139]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:51:51-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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 22 16:52:08 managed-node2 platform-python[10492]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:52:08-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 Tuesday 22 September 2026 16:52:08 -0400 (0:00:00.337) 0:00:19.584 ***** ok: [managed-node2] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOS0yMlQxNjo1MTo1MS0wNDowMCIsInJvbGVfbmFtZSI6ImJvb3Rsb2FkZXIiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLW13UC9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvYm9vdGxvYWRlciIsInN0YXR1cyI6ImJlZ2luIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9CnsiZGF0ZSI6IjIwMjYtMDktMjJUMTY6NTI6MDgtMDQ6MDAiLCJyb2xlX25hbWUiOiJib290bG9hZGVyIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1td1AvYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL2Jvb3Rsb2FkZXIiLCJzdGF0dXMiOiJzdWNjZXNzIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9Cg==", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58 Tuesday 22 September 2026 16:52:09 -0400 (0:00:00.439) 0:00:20.023 ***** ok: [managed-node2] => (item={"date":"2026-09-22T16:51:51-04:00","role_name":"bootloader","role_path":"/tmp/collections-mwP/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-22T16:52:08-04:00","role_name":"bootloader","role_path":"/tmp/collections-mwP/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-22T16:51:51-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-mwP/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-22T16:52:08-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-mwP/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 22 16:51:51 managed-node2 platform-python[9139]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:51:51-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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 22 16:52:08 managed-node2 platform-python[10492]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:52:08-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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 22 16:51:51 managed-node2 platform-python[9139]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:51:51-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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 22 16:52:08 managed-node2 platform-python[10492]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-22T16:52:08-04:00 role_name=bootloader role_path=/tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65 Tuesday 22 September 2026 16:52:09 -0400 (0:00:00.035) 0:00:20.058 ***** 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 ******************************************************************** Tuesday 22 September 2026 16:52:09 -0400 (0:00:00.037) 0:00:20.096 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 13.18s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.84s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.50s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Check that the log file was written ------------------------------------- 0.44s /tmp/collections-mwP/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-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:103 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 fedora.linux_system_roles.bootloader : Verify if there is a stub config in /boot/grub2/grub.cfg --- 0.42s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 See if /dev/log exists for the fingerprint check ------------------------ 0.40s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.38s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.37s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Get fingerprint entries from journal ------------------------------------ 0.34s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.33s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.33s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.33s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.32s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 fedora.linux_system_roles.bootloader : Record role success fingerprint --- 0.31s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 Gather architecture facts ----------------------------------------------- 0.05s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Run the role normally --------------------------------------------------- 0.04s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Assert content is correct ----------------------------------------------- 0.04s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65 Print contents of logs -------------------------------------------------- 0.04s /tmp/collections-mwP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58