Commit ed187940 by Czémán Arnold

fwdriver: fix systemd-sysctl restart

parent 5f3e99b1
...@@ -79,10 +79,14 @@ include: ...@@ -79,10 +79,14 @@ include:
{% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian' %} {% if grains['os_family'] == 'RedHat' or grains['os'] == 'Debian' %}
systemd-sysctl: systemd-sysctl:
cmd.run:
- name: /bin/systemctl restart systemd-sysctl
service.running: service.running:
- reload: True - reload: True
- watch: - watch:
- file: /etc/sysctl.d/60-circle-firewall.conf - file: /etc/sysctl.d/60-circle-firewall.conf
- require:
- cmd: systemd-sysctl
{% endif %} {% endif %}
{% if grains['os_family'] == 'RedHat' %} {% if grains['os_family'] == 'RedHat' %}
......
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