Fixed Documentation issue concerning file mode when specified using numberical value

pull/18777/head
Rahul Mehrotra 10 years ago committed by Matt Clay
parent 63e9de3170
commit fe08f52d92

@ -88,6 +88,7 @@ options:
''' '''
EXAMPLES = ''' 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: 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=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link
- file: src=/tmp/{{ item.path }} dest={{ item.dest }} state=link - file: src=/tmp/{{ item.path }} dest={{ item.dest }} state=link

Loading…
Cancel
Save