Merge pull request #1367 from Aclima/file-dir-example

Adding directory creation example to file module.
This commit is contained in:
Benno Joy 2015-05-20 08:47:07 +05:30
commit b0412c13fc

View file

@ -101,6 +101,9 @@ EXAMPLES = '''
# touch the same file, but add/remove some permissions
- file: path=/etc/foo.conf state=touch mode="u+rw,g-wx,o-rwx"
# create a directory if it doesn't exist
- file: path=/etc/some_directory state=directory mode=0755
'''