On Monday, March 31, 2014 4:32:36 PM UTC-4, Adam Morris wrote:
>
> What you want to do here is....
> ....
> 2) Add the .ssh directory
>
What module should I use for that?
Tried calling mkdir from the shell command, which fails when the folder
already exists.
Tried looking at the Files Modules, but did not see a command to make
directories.
This is how I was trying to create the folder
action: shell mkdir /home/{{item['uname']}}/.ssh
stderr: mkdir: cannot create directory `/home/user1/.ssh': File exists
Thanks for any additional pointers.
--
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/8e043cba-997d-43f5-abee-7b6b3d6bbb35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.