summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2015-02-16 13:21:13 -0800
committerToshio Kuratomi <a.badger@gmail.com>2015-02-16 13:21:13 -0800
commit32e8595abf705d539c28e8e6fcc223be612924bd (patch)
tree7ece5b5454ce16d0c43f1f7c4816f2a9f4dc8a35
parented8154bdc78f58543582ae36ee2ae8621d3a89c1 (diff)
parent98f869f34522c738f7351c3cc46d8fa75ddec33d (diff)
downloadansible-modules-core-32e8595abf705d539c28e8e6fcc223be612924bd.tar.gz
Merge pull request #790 from rhlmhrtr/file_documentation
Fixed Documentation issue concerning file mode
-rw-r--r--files/file.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/file.py b/files/file.py
index 11c2cf2a..fd06d2d4 100644
--- a/files/file.py
+++ b/files/file.py
@@ -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