# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:11 Tuesday 09 January 2024 10:20:45 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:20:45 +0000 (0:00:00.019) 0:00:00.032 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:20:45 +0000 (0:00:00.008) 0:00:00.040 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:20:45 +0000 (0:00:00.469) 0:00:00.510 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:20:45 +0000 (0:00:00.016) 0:00:00.527 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:20:48 +0000 (0:00:03.239) 0:00:03.766 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.240) 0:00:04.007 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.246) 0:00:04.253 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.237) 0:00:04.491 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.019) 0:00:04.511 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.011) 0:00:04.522 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.008) 0:00:04.530 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:20:49 +0000 (0:00:00.012) 0:00:04.543 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" } ] }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:20 Tuesday 09 January 2024 10:20:50 +0000 (0:00:00.395) 0:00:04.938 ******* META: triggered running handlers for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:23 Tuesday 09 January 2024 10:20:50 +0000 (0:00:00.000) 0:00:04.939 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:27 Tuesday 09 January 2024 10:20:50 +0000 (0:00:00.020) 0:00:04.960 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-527.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8991e9ee4b52227f9db230b5998f82ca92aae238", "dest": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-527.el8.x86_64" }, "md5sum": "b41cafb9358779f0d1ecf04771125994", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11044576, "src": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-527.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-527.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b6790de10ac5d1187bdaa2dc73c42cce0bdb3cfa", "dest": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-527.el8.x86_64.img" }, "md5sum": "e2c8908cb769fb33c08014fc662c0508", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31341133, "src": "/boot/initramfs-4.18.0-527.el8.x86_64.img", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/vmlinuz-4.18.0-527.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8991e9ee4b52227f9db230b5998f82ca92aae238", "dest": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-527.el8.x86_64" }, "md5sum": "b41cafb9358779f0d1ecf04771125994", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 11044576, "src": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-4.18.0-527.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-527.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b6790de10ac5d1187bdaa2dc73c42cce0bdb3cfa", "dest": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-527.el8.x86_64.img" }, "md5sum": "e2c8908cb769fb33c08014fc662c0508", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31341133, "src": "/boot/initramfs-4.18.0-527.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create Clone1 kernel with copy_defaults=true] **************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:43 Tuesday 09 January 2024 10:20:51 +0000 (0:00:01.503) 0:00:06.463 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:20:51 +0000 (0:00:00.020) 0:00:06.484 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:20:51 +0000 (0:00:00.008) 0:00:06.492 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:20:51 +0000 (0:00:00.015) 0:00:06.508 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:20:51 +0000 (0:00:00.015) 0:00:06.524 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:20:54 +0000 (0:00:03.145) 0:00:09.669 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1 --initrd=/boot/initramfs-4.18.0-527.el8.x86_64.img_clone1 --title=Clone1 --args=test=setting --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.464) 0:00:10.134 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.190) 0:00:10.325 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.184) 0:00:10.509 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.020) 0:00:10.529 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.011) 0:00:10.541 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.010) 0:00:10.551 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.014) 0:00:10.565 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:58 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.016) 0:00:10.582 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 09 January 2024 10:20:55 +0000 (0:00:00.001) 0:00:10.583 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.185531", "end": "2024-01-09 10:20:56.130436", "rc": 0, "start": "2024-01-09 10:20:55.944905" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:19 Tuesday 09 January 2024 10:20:56 +0000 (0:00:00.431) 0:00:11.014 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 09 January 2024 10:20:56 +0000 (0:00:00.008) 0:00:11.023 ******* changed: [sut] => { "changed": true, "elapsed": 50, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 09 January 2024 10:21:47 +0000 (0:00:51.025) 0:01:02.048 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.006) 0:01:02.055 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:61 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.008) 0:01:02.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:65 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.008) 0:01:02.072 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.023) 0:01:02.095 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.008) 0:01:02.104 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.015) 0:01:02.120 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:21:47 +0000 (0:00:00.016) 0:01:02.136 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:21:52 +0000 (0:00:05.630) 0:01:07.766 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.187) 0:01:07.954 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.193) 0:01:08.148 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.184) 0:01:08.332 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.018) 0:01:08.351 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.009) 0:01:08.361 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.008) 0:01:08.370 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.012) 0:01:08.382 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=setting", "default": false, "id": "bef9aa8e9b7540e9b07c9cbf2a337027-4.18.0-527.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:71 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.396) 0:01:08.779 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:80 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.020) 0:01:08.799 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.027) 0:01:08.827 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.008) 0:01:08.835 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:21:53 +0000 (0:00:00.016) 0:01:08.852 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:21:54 +0000 (0:00:00.017) 0:01:08.870 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:21:57 +0000 (0:00:03.155) 0:01:12.025 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-527.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:21:57 +0000 (0:00:00.492) 0:01:12.518 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:21:57 +0000 (0:00:00.189) 0:01:12.708 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.182) 0:01:12.890 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.018) 0:01:12.909 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.009) 0:01:12.919 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.008) 0:01:12.927 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.012) 0:01:12.940 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:97 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.332) 0:01:13.273 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create clone2 kernel without copy_defaults=true] ************************* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:101 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.020) 0:01:13.293 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.030) 0:01:13.324 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.008) 0:01:13.333 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.016) 0:01:13.349 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:21:58 +0000 (0:00:00.018) 0:01:13.368 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:22:01 +0000 (0:00:03.140) 0:01:16.508 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2 --initrd=/boot/initramfs-4.18.0-527.el8.x86_64.img_clone2 --title=Clone2 --args=console=tty0" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.460) 0:01:16.969 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.195) 0:01:17.165 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.185) 0:01:17.350 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.019) 0:01:17.369 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.011) 0:01:17.380 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.009) 0:01:17.390 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.014) 0:01:17.404 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:115 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.013) 0:01:17.417 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.001) 0:01:17.419 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.178886", "end": "2024-01-09 10:22:02.909251", "rc": 0, "start": "2024-01-09 10:22:02.730365" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:19 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.374) 0:01:17.793 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 09 January 2024 10:22:02 +0000 (0:00:00.007) 0:01:17.801 ******* changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 09 January 2024 10:22:40 +0000 (0:00:37.462) 0:01:55.263 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.006) 0:01:55.270 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:118 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.010) 0:01:55.281 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:122 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.009) 0:01:55.290 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.034) 0:01:55.324 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.008) 0:01:55.333 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.015) 0:01:55.349 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:22:40 +0000 (0:00:00.016) 0:01:55.365 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:22:46 +0000 (0:00:06.009) 0:02:01.374 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:22:46 +0000 (0:00:00.190) 0:02:01.565 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:22:46 +0000 (0:00:00.198) 0:02:01.764 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.185) 0:02:01.949 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.020) 0:02:01.970 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.012) 0:02:01.982 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.010) 0:02:01.993 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.014) 0:02:02.007 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" }, { "args": "console=tty0", "default": false, "id": "bef9aa8e9b7540e9b07c9cbf2a337027-4.18.0-527.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:128 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.387) 0:02:02.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:135 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.020) 0:02:02.416 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.037) 0:02:02.453 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.008) 0:02:02.462 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.016) 0:02:02.478 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 09 January 2024 10:22:47 +0000 (0:00:00.016) 0:02:02.495 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 09 January 2024 10:22:50 +0000 (0:00:03.126) 0:02:05.622 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-527.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.482) 0:02:06.104 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.191) 0:02:06.296 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.183) 0:02:06.479 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.019) 0:02:06.499 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.010) 0:02:06.509 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.010) 0:02:06.519 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 09 January 2024 10:22:51 +0000 (0:00:00.014) 0:02:06.533 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:147 Tuesday 09 January 2024 10:22:52 +0000 (0:00:00.336) 0:02:06.869 ******* ok: [sut] => { "changed": false } MSG: All assertions passed NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 09 January 2024 10:22:52 +0000 (0:00:00.024) 0:02:06.894 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.157901", "end": "2024-01-09 10:22:52.131058", "rc": 0, "start": "2024-01-09 10:22:51.973157" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:19 Tuesday 09 January 2024 10:22:52 +0000 (0:00:00.334) 0:02:07.229 ******* included: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 09 January 2024 10:22:52 +0000 (0:00:00.008) 0:02:07.238 ******* changed: [sut] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 09 January 2024 10:23:34 +0000 (0:00:41.827) 0:02:49.065 ******* skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 09 January 2024 10:23:34 +0000 (0:00:00.007) 0:02:49.072 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=68 changed=11 unreachable=0 failed=0 skipped=39 rescued=0 ignored=0 Tuesday 09 January 2024 10:23:34 +0000 (0:00:00.009) 0:02:49.082 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 51.03s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.83s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.46s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.01s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.63s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.24s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.16s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.15s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.14s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.13s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.50s /WORKDIR/git-add-remove-kernelsdjeinxa5/tests/tests_add_rm.yml:27 ------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.49s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.48s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.47s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.43s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.40s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.40s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.39s /WORKDIR/git-add-remove-kernelsdjeinxa5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---