summaryrefslogtreecommitdiff
path: root/system/sefcontext.py
diff options
context:
space:
mode:
authorFabio Alessandro Locati <me@fale.io>2016-12-02 15:48:22 +0000
committerJohn R Barker <john@johnrbarker.com>2016-12-02 15:48:22 +0000
commit58a0ffa553023ff212d69e815ba68ef50c69a8f1 (patch)
treeb4102d45a18e3e0ab9b9e56e2b10bc7076950c1e /system/sefcontext.py
parent2fdc5e09308897776f097d0b29b43770f522c665 (diff)
downloadansible-modules-extras-58a0ffa553023ff212d69e815ba68ef50c69a8f1.tar.gz
Native YAML - system (#3625)
* Native YAML - system * Remove comment that is not applicable to the code
Diffstat (limited to 'system/sefcontext.py')
-rw-r--r--system/sefcontext.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/sefcontext.py b/system/sefcontext.py
index 96f576c0..120481ca 100644
--- a/system/sefcontext.py
+++ b/system/sefcontext.py
@@ -72,7 +72,10 @@ author: Dag Wieers
EXAMPLES = '''
# Allow apache to modify files in /srv/git_repos
-- sefcontext: target='/srv/git_repos(/.*)?' setype=httpd_git_rw_content_t state=present
+- sefcontext:
+ target: '/srv/git_repos(/.*)?'
+ setype: httpd_git_rw_content_t
+ state: present
'''
RETURN = '''
@@ -255,4 +258,4 @@ def main():
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()