[ansible-project] Re: Ansible creates a directory with full permissions even though umask is set to "022" on the managed node

2019-07-24 Thread Minal Deshmukh
Using Ansible for node \perry which is managed node: root@ubuntu:~# ansible perry -a umask perry.in.rdlabs.hpecorp.net | SUCCESS | rc=0 >> 00 Manually on \perry: Wheras on the \perry it is as below /home/super: umask 0022 My concern here is before going to even a playbook, Ansible sets umask w

[ansible-project] Re: Ansible creates a directory with full permissions even though umask is set to "022" on the managed node

2019-07-25 Thread Minal Deshmukh
Hi Phil, Thank you for your response. I wrote my custom ansible modules and in that we create a directory using a python os module. Snippet: os.mkdir(path) Regards, Minal On Wednesday, July 24, 2019 at 8:28:06 PM UTC+5:30, Minal Deshmukh wrote: > > Hello Ansible experts, > > I am struck w