system/ufw.py: Add security warning re. removing ufw application prof…

It's not particularly obvious that removing an application will remove it
from ufw's own state, potentially leaving ports open on your box if you
upload your configuration.

Whilst this applies to a lot of things in Ansible, firewall rules might
cross some sort of line that justifies such a warning in his instance.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
pull/18777/head
Chris Lamb 9 years ago committed by Matt Clay
parent b94a614b7e
commit c0787b12ce

@ -142,7 +142,9 @@ ufw: rule=reject port=auth log=yes
# for details. Typical usage is:
ufw: rule=limit port=ssh proto=tcp
# Allow OpenSSH
# Allow OpenSSH. (Note that as ufw manages its own state, simply removing
# a rule=allow task can leave those ports exposed. Either use delete=yes
# or a separate state=reset task)
ufw: rule=allow name=OpenSSH
# Delete OpenSSH rule

Loading…
Cancel
Save