Merge pull request #790 from rhlmhrtr/file_documentation

Fixed Documentation issue concerning file mode
This commit is contained in:
Toshio Kuratomi 2015-02-16 13:21:13 -08:00
commit 32e8595abf

View file

@ -88,6 +88,7 @@ options:
'''
EXAMPLES = '''
# change file ownership, group and mode. When specifying mode using octal numbers, first digit should always be 0.
- file: path=/etc/foo.conf owner=foo group=foo mode=0644
- file: src=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link
- file: src=/tmp/{{ item.path }} dest={{ item.dest }} state=link