Tag: performance
-
Optimizing Permission Rewriting in Ansible
I was recently working on speeding up an Ansible playbook and found this task that was running slowly. This task runs the find command for all files in a specific directory and recursively executes the chmod command on them. The issue is with a directory thousands of files we end up executing thousands of chmod…