How to apply ACL only if folder has really changed

11 views
Skip to first unread message

Florent Loenix

unread,
Jul 12, 2021, 10:40:11 AM7/12/21
to Ansible Project
Hello,

I have numerous folders containing a huge bunch of subfolders and files.
For each folder, I am using ACL to configure the permission of my own user and the apache2 user (named web user).
The web user can read recursively the entire folder, whereas it can only write on some specified folders.
So I configured 2 tasks to do that separatly, but for each folder Ansible is applying both each time and this is taking a long.

How to configure Ansible to really do that only if necessary ?

Thank you in advance.
Reply all
Reply to author
Forward
0 new messages