From fe08f52d929820b67349486c1d8f4bc123ef9539 Mon Sep 17 00:00:00 2001 From: Rahul Mehrotra Date: Sat, 14 Feb 2015 23:56:16 -0800 Subject: [PATCH] Fixed Documentation issue concerning file mode when specified using numberical value --- lib/ansible/modules/files/file.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index 35bb52ab1e3..9b17ae40d2c 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/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