Compare commits
No commits in common. "29435f6fc3200a2ccb0a4cc274485f8fd0906012" and "0a00f3ea9367386847162a10d7548b2d0433ce93" have entirely different histories.
29435f6fc3
...
0a00f3ea93
@ -5,18 +5,5 @@
|
|||||||
/etc/apparmor.d/local/{{ profile }}:
|
/etc/apparmor.d/local/{{ profile }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- contents: {{ lines }}
|
- contents: {{ lines }}
|
||||||
- watch_in:
|
|
||||||
- module: apparmor_reload
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{%- if aapillar['local'] | length %}
|
|
||||||
apparmor_reload:
|
|
||||||
module.run:
|
|
||||||
- name: service.reload
|
|
||||||
- m_name: apparmor
|
|
||||||
- onchanges:
|
|
||||||
{%- for profile in aapillar['local'] %}
|
|
||||||
- file: /etc/apparmor.d/local/{{ profile }}
|
|
||||||
{%- endfor %}
|
|
||||||
{%- endif %}
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user