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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:5 Monday 21 September 2026 14:23:12 -0400 (0:00:00.017) 0:00:00.017 ****** 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-qfB/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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 Monday 21 September 2026 14:23:12 -0400 (0:00:00.015) 0:00:00.033 ****** ok: [managed-node2] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 Monday 21 September 2026 14:23:13 -0400 (0:00:00.872) 0:00:00.906 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790014991.9256938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1790014683.564, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1591, "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": 1790014683.564, "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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:17 Monday 21 September 2026 14:23:14 -0400 (0:00:00.421) 0:00:01.328 ****** ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-09-21 14:23:13" }, "changed": false } TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:22 Monday 21 September 2026 14:23:14 -0400 (0:00:00.035) 0:00:01.363 ****** included: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 21 September 2026 14:23:14 -0400 (0:00:00.031) 0:00:01.395 ****** 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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:25 Monday 21 September 2026 14:23:14 -0400 (0:00:00.070) 0:00:01.465 ****** included: /tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 21 September 2026 14:23:14 -0400 (0:00:00.017) 0:00:01.482 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 21 September 2026 14:23:14 -0400 (0:00:00.013) 0:00:01.495 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 21 September 2026 14:23:14 -0400 (0:00:00.043) 0:00:01.539 ****** included: /tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 21 September 2026 14:23:14 -0400 (0:00:00.026) 0:00:01.566 ****** ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 21 September 2026 14:23:14 -0400 (0:00:00.523) 0:00:02.089 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T14:23:15-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 21 September 2026 14:23:15 -0400 (0:00:00.399) 0:00:02.488 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 21 September 2026 14:23:15 -0400 (0:00:00.409) 0:00:02.898 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 21 September 2026 14:23:15 -0400 (0:00:00.017) 0:00:02.915 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 21 September 2026 14:23:15 -0400 (0:00:00.032) 0:00:02.948 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 21 September 2026 14:23:15 -0400 (0:00:00.014) 0:00:02.963 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 21 September 2026 14:23:15 -0400 (0:00:00.029) 0:00:02.992 ****** included: /tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 21 September 2026 14:23:15 -0400 (0:00:00.022) 0:00:03.015 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 21 September 2026 14:23:15 -0400 (0:00:00.020) 0:00:03.035 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 21 September 2026 14:23:15 -0400 (0:00:00.019) 0:00:03.055 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:37 Monday 21 September 2026 14:23:15 -0400 (0:00:00.018) 0:00:03.073 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:49 Monday 21 September 2026 14:23:15 -0400 (0:00:00.018) 0:00:03.091 ****** TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:64 Monday 21 September 2026 14:23:15 -0400 (0:00:00.013) 0:00:03.105 ****** TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 21 September 2026 14:23:15 -0400 (0:00:00.014) 0:00:03.119 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 21 September 2026 14:23:30 -0400 (0:00:14.669) 0:00:17.788 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 21 September 2026 14:23:31 -0400 (0:00:00.346) 0:00:18.135 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 21 September 2026 14:23:31 -0400 (0:00:00.016) 0:00:18.152 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 21 September 2026 14:23:31 -0400 (0:00:00.013) 0:00:18.166 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 21 September 2026 14:23:31 -0400 (0:00:00.328) 0:00:18.494 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 21 September 2026 14:23:31 -0400 (0:00:00.026) 0:00:18.521 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790015010.9588158, "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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 21 September 2026 14:23:31 -0400 (0:00:00.347) 0:00:18.868 ****** 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 stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 21 September 2026 14:23:32 -0400 (0:00:00.355) 0:00:19.224 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003962", "end": "2026-09-21 14:23:32.524953", "rc": 0, "start": "2026-09-21 14:23:32.520991" } 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 21 September 2026 14:23:32 -0400 (0:00:00.465) 0:00:19.689 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 21 September 2026 14:23:32 -0400 (0:00:00.015) 0:00:19.705 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 21 September 2026 14:23:33 -0400 (0:00:00.451) 0:00:20.156 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 21 September 2026 14:23:33 -0400 (0:00:00.018) 0:00:20.174 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 21 September 2026 14:23:33 -0400 (0:00:00.012) 0:00:20.187 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 21 September 2026 14:23:33 -0400 (0:00:00.425) 0:00:20.613 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 21 September 2026 14:23:33 -0400 (0:00:00.015) 0:00:20.629 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 21 September 2026 14:23:33 -0400 (0:00:00.013) 0:00:20.642 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Monday 21 September 2026 14:23:33 -0400 (0:00:00.012) 0:00:20.654 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Monday 21 September 2026 14:23:33 -0400 (0:00:00.012) 0:00:20.667 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:177 Monday 21 September 2026 14:23:33 -0400 (0:00:00.012) 0:00:20.679 ****** 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-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:182 Monday 21 September 2026 14:23:33 -0400 (0:00:00.011) 0:00:20.691 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T14:23:33-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 Monday 21 September 2026 14:23:33 -0400 (0:00:00.321) 0:00:21.012 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-09-21 14:23:13\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=bootloader\"", "delta": "0:00:00.008921", "end": "2026-09-21 14:23:34.178551", "rc": 0, "start": "2026-09-21 14:23:34.169630" } STDOUT: Sep 21 14:23:15 managed-node2 platform-python[9137]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:15-04:00 role_name=bootloader role_path=/tmp/collections-anh/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 14:23:33 managed-node2 platform-python[10491]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:33-04:00 role_name=bootloader role_path=/tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 Monday 21 September 2026 14:23:34 -0400 (0:00:00.341) 0:00:21.354 ****** ok: [managed-node2] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOS0yMVQxNDoyMzoxNS0wNDowMCIsInJvbGVfbmFtZSI6ImJvb3Rsb2FkZXIiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLWFuaC9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvYm9vdGxvYWRlciIsInN0YXR1cyI6ImJlZ2luIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9CnsiZGF0ZSI6IjIwMjYtMDktMjFUMTQ6MjM6MzMtMDQ6MDAiLCJyb2xlX25hbWUiOiJib290bG9hZGVyIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1hbmgvYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL2Jvb3Rsb2FkZXIiLCJzdGF0dXMiOiJzdWNjZXNzIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy04IiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9Cg==", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58 Monday 21 September 2026 14:23:34 -0400 (0:00:00.431) 0:00:21.786 ****** ok: [managed-node2] => (item={"date":"2026-09-21T14:23:15-04:00","role_name":"bootloader","role_path":"/tmp/collections-anh/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-21T14:23:33-04:00","role_name":"bootloader","role_path":"/tmp/collections-anh/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-21T14:23:15-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-anh/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-21T14:23:33-04:00\",\"role_name\":\"bootloader\",\"role_path\":\"/tmp/collections-anh/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 14:23:15 managed-node2 platform-python[9137]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:15-04:00 role_name=bootloader role_path=/tmp/collections-anh/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 14:23:33 managed-node2 platform-python[10491]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:33-04:00 role_name=bootloader role_path=/tmp/collections-anh/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 14:23:15 managed-node2 platform-python[9137]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:15-04:00 role_name=bootloader role_path=/tmp/collections-anh/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 14:23:33 managed-node2 platform-python[10491]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-09-21T14:23:33-04:00 role_name=bootloader role_path=/tmp/collections-anh/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-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65 Monday 21 September 2026 14:23:34 -0400 (0:00:00.029) 0:00:21.816 ****** 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 14:23:34 -0400 (0:00:00.035) 0:00:21.851 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 14.67s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.52s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.47s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config --- 0.45s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Check that the log file was written ------------------------------------- 0.43s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 See if /dev/log exists for the fingerprint check ------------------------ 0.42s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.41s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.40s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.36s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.35s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.35s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Get fingerprint entries from journal ------------------------------------ 0.34s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.33s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 fedora.linux_system_roles.bootloader : Record role success fingerprint --- 0.32s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:182 Gather architecture facts ----------------------------------------------- 0.07s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Run the role normally --------------------------------------------------- 0.04s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Set the start time for the journal search ------------------------------- 0.04s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:17 Assert content is correct ----------------------------------------------- 0.04s /tmp/collections-anh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65