From 0e3d92ee4b40d9021b6567a44be1633832bf50cf Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Mon, 26 Feb 2024 18:25:37 +0100 Subject: [PATCH] Add a note about supported architectuers in README --- README.md | 7 +++++++ tasks/main.yml | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f0152e..886fc37 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ An Ansible role for bootloader and kernel command line management. +## Supported architectures + +This role currently supports configuring `grub2` boot loader which runs on the following architectures: + +- AMD and Intel 64-bit architectures (x86-64) +- The 64-bit ARM architecture (ARMv8.0) + ## Requirements See below diff --git a/tasks/main.yml b/tasks/main.yml index f8d476d..3bba063 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -51,7 +51,8 @@ - name: Regenerate grub config in {{ __bootloader_grub_conf }} command: grub2-mkconfig -o {{ __bootloader_grub_conf }} when: __bootloader_timeout_conf is changed - changed_when: true + # It's more reliable to run this right after updating timeout + changed_when: true # noqa no-handler # There is a bug in RHEL 7 because of which regenerating config puts an old # timeout value to the config