Sort the mounts so they are idempotent
This commit is contained in:
parent
a171d60c44
commit
d8213d2c36
@ -720,8 +720,8 @@ OnAccessPrevention yes
|
|||||||
# Default: disabled
|
# Default: disabled
|
||||||
#OnAccessMountPath /
|
#OnAccessMountPath /
|
||||||
#OnAccessMountPath /home/user
|
#OnAccessMountPath /home/user
|
||||||
{% for item in ansible_mounts %}
|
{% for item in ansible_mounts|map('mount')|sort %}
|
||||||
OnAccessMountPath {{ item.mount }}
|
OnAccessMountPath {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# With this option you can whitelist the root UID (0). Processes run under
|
# With this option you can whitelist the root UID (0). Processes run under
|
||||||
|
Loading…
x
Reference in New Issue
Block a user