Compare commits

..

No commits in common. "29435f6fc3200a2ccb0a4cc274485f8fd0906012" and "0a00f3ea9367386847162a10d7548b2d0433ce93" have entirely different histories.

View File

@ -5,18 +5,5 @@
/etc/apparmor.d/local/{{ profile }}:
file.managed:
- contents: {{ lines }}
- watch_in:
- module: apparmor_reload
{%- 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 %}