On 21. sep. 2017 20:03, John Harmon wrote:
If I do the following it works (putting quotes around the mode).  Can
anybody explain to my why?

Yes, Ansible interprets number starting with 0 as octal number.
0644 = 6*8^2 + 4*8^1 + 4*8^0 = 420 decimal.

So to avoid this conversion you need to use the quotes.


--
Kai Stian Olstad

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f8876e14-ba5b-6eb1-f8ce-a27cd4eefc6e%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to