summaryrefslogtreecommitdiff
path: root/system/group.py
diff options
context:
space:
mode:
authorSam Doran <sdoran@ansible.com>2016-11-15 15:21:47 -0500
committerJohn R Barker <john@johnrbarker.com>2016-11-15 20:21:47 +0000
commit05e866e4d01e3b9c2893e0a3dbb053cb7311dcd1 (patch)
tree48c62747e974e56135ad404a9ae0344eabf4baef /system/group.py
parent109c68980424146121d79e4bc91cec475894645a (diff)
downloadansible-modules-core-05e866e4d01e3b9c2893e0a3dbb053cb7311dcd1.tar.gz
Examples syntax batch4 (#5620)
* Change example syntax on authorized_key module * Change example syntax on cron module * Change example syntax on group module * Change example syntax on hostname module * Change example syntax on seboolean module * Change example syntax on selinux module * Change example syntax on service module * Change example syntax on sysctl module * Change example syntax on systemd module * Change example syntax on user module * Change example syntax on debug module * Change example syntax on fail module * Change example syntax on include module * Change example syntax on include_role module * Change example syntax on include_vars module * Change example syntax on pause module * Change example syntax on wait_for module * Change example syntax on apache2_module module * > Change example syntax on django_manage module * Change example syntax on htpasswd module
Diffstat (limited to 'system/group.py')
-rw-r--r--system/group.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/group.py b/system/group.py
index efff0f2e..ceffd753 100644
--- a/system/group.py
+++ b/system/group.py
@@ -53,7 +53,9 @@ options:
EXAMPLES = '''
# Example group command from Ansible Playbooks
-- group: name=somegroup state=present
+- group:
+ name: somegroup
+ state: present
'''
import grp
@@ -144,7 +146,7 @@ class SunOS(Group):
This overrides the following methods from the generic class:-
- group_add()
- """
+ """
platform = 'SunOS'
distribution = None