Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
enable ufw:
- name: ufw enable
- require:
- pkg: ufw
enable ssh:
- name: ufw allow ssh
- require:
- pkg: ufw
{% if 'saltmaster' in grains['roles'] %}
allow salt:
- name: ufw allow salt
- require:
- pkg: ufw
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.