summaryrefslogtreecommitdiffstats
path: root/lib/modules
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-06 19:55:58 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:32 +0200
commit1e68d980a0587bb1afea3685d0a46fce86135cb9 (patch)
tree64ef0d52ec5142058beab3ce5728d7cfbdd9f1a8 /lib/modules
parentf877db8c189fc0a0c43aa5df9303ad34cceb774e (diff)
Enable zero-copy updates to the LDAP directory.
Diffstat (limited to 'lib/modules')
-rw-r--r--lib/modules/openldap5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/modules/openldap b/lib/modules/openldap
index 7293b23..3f6ea39 100644
--- a/lib/modules/openldap
+++ b/lib/modules/openldap
@@ -351,6 +351,7 @@ def main():
suffix = dict( default=None ),
format = dict( default="ldif", choices=["ldif","slapd.conf"] ),
name = dict( default=None ),
+ local = dict( default="no", choices=["no","file","template"] ),
),
supports_check_mode=True
)
@@ -428,7 +429,7 @@ def main():
module.exit_json(changed=changed)
+# import module snippets
+from ansible.module_utils.basic import *
-# this is magic, see lib/ansible/module_common.py
-#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
main()