ansible-role-firewall
ansible-role-firewall copied to clipboard
iptables fails to install if apt cache is outdated
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"}