bluebanquise / community

Community made roles or tools around BlueBanquise
MIT License
7 stars 12 forks source link

[BUG] high_availability fails to install fence-agents-all on Ubuntu #67

Open wlln opened 2 years ago

wlln commented 2 years ago

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 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

Fix

In tasks/main.yml, task package █ Install packages, package names should not be hardcoded. They should depend of the OS using the role.

oxedions commented 2 years ago

Dear @wlln

Thanks a lot for this feedback. 😊 I will investigate asap.