How to apply ACL only if folder has really changed

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.