Skip to content

Instantly share code, notes, and snippets.

Created October 31, 2017 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b9cc3e272534516900db45b30af67235 to your computer and use it in GitHub Desktop.
Save anonymous/b9cc3e272534516900db45b30af67235 to your computer and use it in GitHub Desktop.
stop_firewall:
cmd.run:
- name: /bin/systemctl stop firewalld; exit 0
disable_firewall:
cmd.run:
- name: /bin/systemctl disable firewalld; exit 0
mask_firewall:
cmd.run:
- name: /bin/systemctl mask firewalld; exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment