Install fail2ban: "Could not find aptitude. Using apt-get instead"
joelstein opened this issue · comments
Joel Stein commented
Hi Jeff! :)
I'm getting an annoying ansible warning with this role when it tries to install fail2ban:
[WARNING]: Could not find aptitude. Using apt-get instead
There's an easy workaround I use in my playbooks to avoid this by setting force_apt_get: yes
.
Would you be open to adding a setting to this ansible role which lets us configure this? I'm honestly not sure what the best solution is.
Jeff Geerling commented
This was fixed in ansible/ansible#56832 — should've never been a warning :)
Joel Stein commented
Thanks friend!