ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles [WARNING]: Skipping plugin (/tmp/collections- vJy/ansible_collections/ansible/posix/plugins/callback/cgroup_perf_recap.py) as it seems to be invalid: invalid syntax (cgroup_perf_recap.py, line 157) 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-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:5 Monday 21 September 2026 16:44:30 -0400 (0:00:00.028) 0:00:00.028 ****** 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-ER2/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-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 Monday 21 September 2026 16:44:30 -0400 (0:00:00.022) 0:00:00.050 ****** ok: [managed-node2] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 Monday 21 September 2026 16:44:31 -0400 (0:00:00.892) 0:00:00.942 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790023471.5237334, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1790023184.681, "dev": 5, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8313, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": true, "isuid": false, "mimetype": "inode/socket", "mode": "0666", "mtime": 1790023184.681, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:17 Monday 21 September 2026 16:44:31 -0400 (0:00:00.419) 0:00:01.362 ****** ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-09-21 16:44:31" }, "changed": false } TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:22 Monday 21 September 2026 16:44:31 -0400 (0:00:00.047) 0:00:01.410 ****** included: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 21 September 2026 16:44:31 -0400 (0:00:00.082) 0:00:01.492 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:25 Monday 21 September 2026 16:44:31 -0400 (0:00:00.057) 0:00:01.550 ****** included: /tmp/collections-vJy/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-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 21 September 2026 16:44:31 -0400 (0:00:00.022) 0:00:01.573 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 21 September 2026 16:44:31 -0400 (0:00:00.013) 0:00:01.587 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 21 September 2026 16:44:31 -0400 (0:00:00.080) 0:00:01.667 ****** included: /tmp/collections-vJy/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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 21 September 2026 16:44:31 -0400 (0:00:00.023) 0:00:01.691 ****** ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 21 September 2026 16:44:32 -0400 (0:00:00.416) 0:00:02.107 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T16:44:32+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-vJy/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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 21 September 2026 16:44:32 -0400 (0:00:00.357) 0:00:02.465 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 21 September 2026 16:44:33 -0400 (0:00:00.349) 0:00:02.814 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 21 September 2026 16:44:33 -0400 (0:00:00.020) 0:00:02.835 ****** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 21 September 2026 16:44:33 -0400 (0:00:00.051) 0:00:02.887 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 21 September 2026 16:44:33 -0400 (0:00:00.024) 0:00:02.911 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 21 September 2026 16:44:33 -0400 (0:00:00.034) 0:00:02.946 ****** included: /tmp/collections-vJy/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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 21 September 2026 16:44:33 -0400 (0:00:00.037) 0:00:02.983 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 21 September 2026 16:44:33 -0400 (0:00:00.024) 0:00:03.007 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 21 September 2026 16:44:33 -0400 (0:00:00.025) 0:00:03.033 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:37 Monday 21 September 2026 16:44:33 -0400 (0:00:00.023) 0:00:03.057 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:49 Monday 21 September 2026 16:44:33 -0400 (0:00:00.020) 0:00:03.077 ****** TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:64 Monday 21 September 2026 16:44:33 -0400 (0:00:00.012) 0:00:03.090 ****** TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 21 September 2026 16:44:33 -0400 (0:00:00.012) 0:00:03.103 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 21 September 2026 16:44:34 -0400 (0:00:01.024) 0:00:04.127 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 21 September 2026 16:44:34 -0400 (0:00:00.291) 0:00:04.418 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 21 September 2026 16:44:34 -0400 (0:00:00.022) 0:00:04.440 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 21 September 2026 16:44:34 -0400 (0:00:00.025) 0:00:04.466 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 21 September 2026 16:44:34 -0400 (0:00:00.246) 0:00:04.713 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 21 September 2026 16:44:34 -0400 (0:00:00.040) 0:00:04.753 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1790023474.5947642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 21 September 2026 16:44:35 -0400 (0:00:00.295) 0:00:05.048 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1718880548.6646502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 66305, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 21 September 2026 16:44:35 -0400 (0:00:00.297) 0:00:05.346 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003845", "end": "2026-09-21 16:44:35.932884", "rc": 0, "start": "2026-09-21 16:44:35.929039" } 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 21 September 2026 16:44:35 -0400 (0:00:00.392) 0:00:05.739 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:103 Monday 21 September 2026 16:44:35 -0400 (0:00:00.017) 0:00:05.756 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "system_u:object_r:boot_t:s0", "size": 5032, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:113 Monday 21 September 2026 16:44:36 -0400 (0:00:00.397) 0:00:06.154 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:120 Monday 21 September 2026 16:44:36 -0400 (0:00:00.015) 0:00:06.170 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 Monday 21 September 2026 16:44:36 -0400 (0:00:00.015) 0:00:06.186 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:137 Monday 21 September 2026 16:44:36 -0400 (0:00:00.375) 0:00:06.562 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:149 Monday 21 September 2026 16:44:36 -0400 (0:00:00.017) 0:00:06.579 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:157 Monday 21 September 2026 16:44:36 -0400 (0:00:00.014) 0:00:06.593 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:165 Monday 21 September 2026 16:44:36 -0400 (0:00:00.015) 0:00:06.609 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:172 Monday 21 September 2026 16:44:36 -0400 (0:00:00.014) 0:00:06.623 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:178 Monday 21 September 2026 16:44:36 -0400 (0:00:00.015) 0:00:06.639 ****** 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-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 Monday 21 September 2026 16:44:36 -0400 (0:00:00.014) 0:00:06.654 ****** ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-09-21T16:44:37+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 Monday 21 September 2026 16:44:37 -0400 (0:00:00.257) 0:00:06.911 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-09-21 16:44:31\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=bootloader\"", "delta": "0:00:00.007127", "end": "2026-09-21 16:44:37.366663", "rc": 0, "start": "2026-09-21 16:44:37.359536" } STDOUT: Sep 21 16:44:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[9837]: date=2026-09-21T16:44:32+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False Sep 21 16:44:37 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[10369]: date=2026-09-21T16:44:37+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 Monday 21 September 2026 16:44:37 -0400 (0:00:00.262) 0:00:07.173 ****** ok: [managed-node2] => { "changed": false, "content": "eyJzdGF0dXMiOiJiZWdpbiIsInBsYXlfaG9zdHNfbnVtYmVyIjoxLCJyb2xlX25hbWUiOiJib290bG9hZGVyIiwiYW5zaWJsZV9jaGVja19tb2RlIjpmYWxzZSwiZGF0ZSI6IjIwMjYtMDktMjFUMTY6NDQ6MzIrMDAwMCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtdkp5L2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9ib290bG9hZGVyIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy03LjkifQp7InN0YXR1cyI6InN1Y2Nlc3MiLCJwbGF5X2hvc3RzX251bWJlciI6MSwicm9sZV9uYW1lIjoiYm9vdGxvYWRlciIsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2UsImRhdGUiOiIyMDI2LTA5LTIxVDE2OjQ0OjM3KzAwMDAiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLXZKeS9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvYm9vdGxvYWRlciIsImFuc2libGVfdmVyc2lvbiI6IjIuOS4yNyIsIm1hbmFnZWRfbm9kZV9kaXN0cm8iOiJDZW50T1MtNy45In0K", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:58 Monday 21 September 2026 16:44:37 -0400 (0:00:00.389) 0:00:07.563 ****** ok: [managed-node2] => (item={"status":"begin","play_hosts_number":1,"role_name":"bootloader","ansible_check_mode":false,"date":"2026-09-21T16:44:32+0000","role_path":"/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} {"status":"success","play_hosts_number":1,"role_name":"bootloader","ansible_check_mode":false,"date":"2026-09-21T16:44:37+0000","role_path":"/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} ) => { "ansible_loop_var": "item", "item": "{\"status\":\"begin\",\"play_hosts_number\":1,\"role_name\":\"bootloader\",\"ansible_check_mode\":false,\"date\":\"2026-09-21T16:44:32+0000\",\"role_path\":\"/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n{\"status\":\"success\",\"play_hosts_number\":1,\"role_name\":\"bootloader\",\"ansible_check_mode\":false,\"date\":\"2026-09-21T16:44:37+0000\",\"role_path\":\"/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n" } ok: [managed-node2] => (item=[u'Sep 21 16:44:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[9837]: date=2026-09-21T16:44:32+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False', u'Sep 21 16:44:37 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[10369]: date=2026-09-21T16:44:37+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Sep 21 16:44:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[9837]: date=2026-09-21T16:44:32+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False", "Sep 21 16:44:37 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[10369]: date=2026-09-21T16:44:37+0000 role_name=bootloader role_path=/tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:65 Monday 21 September 2026 16:44:37 -0400 (0:00:00.037) 0:00:07.600 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=30 changed=1 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:44:37 -0400 (0:00:00.042) 0:00:07.642 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.02s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.89s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:9 See if /dev/log exists for the fingerprint check ------------------------ 0.42s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:12 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.42s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config --- 0.40s /tmp/collections-vJy/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.39s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Check that the log file was written ------------------------------------- 0.39s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:43 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.38s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:127 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.36s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.35s /tmp/collections-vJy/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.30s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.30s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.29s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Get fingerprint entries from journal ------------------------------------ 0.26s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:31 fedora.linux_system_roles.bootloader : Record role success fingerprint --- 0.26s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:183 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.25s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Skip on s390x architecture ---------------------------------------------- 0.08s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_default.yml:22 Run the role normally --------------------------------------------------- 0.08s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Gather architecture facts ----------------------------------------------- 0.06s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.05s /tmp/collections-vJy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30