Fixed Documentation issue concerning file mode when specified using numberical value

This commit is contained in:
Rahul Mehrotra 2015-02-14 23:56:16 -08:00 committed by Matt Clay
parent 63e9de3170
commit fe08f52d92

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