ansible-role-firewall icon indicating copy to clipboard operation
ansible-role-firewall copied to clipboard

iptables fails to install if apt cache is outdated

Open maroskukan opened this issue 2 years ago • 0 comments

When applying this role on fresh instance, it may happen that the package will not be found since apt cache was not updated and the playbook will fail at this point.

TASK [geerlingguy.firewall : Ensure iptables is present.] *******************************************************
fatal: [test-host]: FAILED! => {"changed": false, "msg": "No package matching 'iptables' is available"}

maroskukan avatar Aug 01 '22 14:08 maroskukan