Hi all, using this snipped creates the directories foo, bar and xyz with the correct owner.
- name: Create directories file: dest=/foo/bar/xyz owner=0 group=0 mode=0755 state=directory recurse=yes If a directory does exist prior to running the playbook, this directory is not touched and owner/group different from those state in the play are not changed. Is this intentional? Am I missing a parameter apart from recurse=yes? Thanks in advance, Johannes P.S.: I am running ansible 2.0.1.0 on OSX 10.10, target host was a linux machine. -- 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/5725C764.6040704%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
