Compare commits
1 Commits
6e711f23c9
...
75f105a6aa
Author | SHA1 | Date | |
---|---|---|---|
75f105a6aa |
@ -5,5 +5,18 @@
|
||||
/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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user