Commit 363c00ff by Czémán Arnold Committed by cloud

fwdriver: disable os firewall

parent 45795a3a
......@@ -3,6 +3,16 @@ include:
- fwdriver.virtualenv
- fwdriver.configuration
disable_os_firewall:
cmd.run:
{% if grains['os_family'] == 'RedHat' %}
- name: >
systemctl disable firewalld ;
systemctl stop firewalld
{% else %}
- name: ufw disable
{% endif %}
firewall:
pkg.installed:
- pkgs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment