You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
This role is supposedly to be run on AmazonLinux 2 machines only. The prelim.yml task which sets up bootloader path is configured according to CentOS, so on UEFI based EC2, this role failed to set bootloader path correctly, and so handler to generate grub config is failing
Expected Behavior
Bootloader path must be configured as per ansible_distribution == 'Amazon' and not CentOS
Actual Behavior
Bootloader path set_fact is checking for ansible_distribution == 'CentOS', this must be cheking against ansible_distribution == 'Amazon'
Describe the Issue
This role is supposedly to be run on AmazonLinux 2 machines only. The prelim.yml task which sets up bootloader path is configured according to CentOS, so on UEFI based EC2, this role failed to set bootloader path correctly, and so handler to generate grub config is failing
Expected Behavior
Bootloader path must be configured as per ansible_distribution == 'Amazon' and not CentOS
Actual Behavior
Bootloader path set_fact is checking for ansible_distribution == 'CentOS', this must be cheking against ansible_distribution == 'Amazon'
Control(s) Affected
HANDLER [AMAZON2-CIS : grub2cfg]
Environment (please complete the following information):
ansible [core 2.14.2]
config file = None
configured module search path = ['/Users/navneet/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /opt/homebrew/Cellar/ansible/7.2.0/libexec/lib/python3.11/site-packages/ansible
ansible collection location = /Users/navneet/.ansible/collections:/usr/share/ansible/collections
executable location = /opt/homebrew/bin/ansible
python version = 3.11.1 (main, Dec 23 2022, 09:25:23) [Clang 14.0.0 (clang-1400.0.29.202)] (/opt/homebrew/Cellar/ansible/7.2.0/libexec/bin/python3.11)
jinja version = 3.1.2
libyaml = True
Additional Notes
Anything additional goes here
Possible Solution
Fix bootloader path on EFI images #11
The text was updated successfully, but these errors were encountered: