Sort the mounts so they are idempotent

This commit is contained in:
Jason Rothstein 2021-07-20 00:37:04 +00:00
parent a171d60c44
commit d8213d2c36

View File

@ -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