Adding directory creation example to file module.

This commit is contained in:
Greg Taylor 2015-05-19 11:45:00 -07:00 committed by Matt Clay
parent b4775234c9
commit 79dd0466b5

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
'''