I tried to apply the high_availability on a Ubuntu 20.04 and it fails as fence-agents-all doesn't exists.
It is probably due to the fact that fence-agents-all is a RHEL package name.
$ ansible-playbook -D playbook/smc.yaml -b -t high_availability
...
failed: [bb01] (item=fence-agents-all) => changed=false
ansible_loop_var: item
item: fence-agents-all
msg: No package matching 'fence-agents-all' is available
...
Steps to reproduce
Install Ubuntu 20.04
Add high_availability to you playbook
Run your playbook
Fix
In tasks/main.yml, task package █ Install packages, package names should not be hardcoded.
They should depend of the OS using the role.
Summary
I tried to apply the high_availability on a Ubuntu 20.04 and it fails as
fence-agents-all
doesn't exists. It is probably due to the fact thatfence-agents-all
is a RHEL package name.Steps to reproduce
high_availability
to you playbookFix
In
tasks/main.yml
, taskpackage █ Install packages
, package names should not be hardcoded. They should depend of the OS using the role.