|
123456789101112131415161718192021222324252627282930 |
-
-
- {% from "firewalld/map.jinja" import firewalld with context %}
-
-
-
-
-
-
-
- {%- if firewalld.get('direct', False) %}
- /etc/firewalld/direct.xml:
- file:
- - managed
- - name: /etc/firewalld/direct.xml
- - user: root
- - group: root
- - mode: "0644"
- - source: salt://firewalld/files/direct.xml
- - template: jinja
- - require:
- - pkg: package_firewalld
- - file: directory_firewalld
- - require_in:
- - service: service_firewalld
- - watch_in:
- - cmd: reload_firewalld
- - context:
- direct: {{ firewalld.direct|json }}
- {%- endif %}
|