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

fwdriver: disable os firewall

parent 45795a3a
...@@ -3,6 +3,16 @@ include: ...@@ -3,6 +3,16 @@ include:
- fwdriver.virtualenv - fwdriver.virtualenv
- fwdriver.configuration - 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: firewall:
pkg.installed: pkg.installed:
- pkgs: - 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