I want to change the permission of the file based on it's extension using 
ansible, for example I have directory test and within this directory I have 
a lot of shell script(.sh) and python(.py) files. I want to change the 
permission of shell script to 0700 and python files to 0644. Can you please 
help me that how I can achieve this. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/07141eef-de81-4633-89c3-5579baee927b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to