diff options
author | James Tanner <tanner.jc@gmail.com> | 2013-12-02 15:11:23 -0500 |
---|---|---|
committer | James Tanner <tanner.jc@gmail.com> | 2013-12-02 15:11:23 -0500 |
commit | 38edad70acafbc18a0088470babdf94eff55a567 (patch) | |
tree | dcef3746a08d67f18e69327de36f3fd9e65270bf /web_infrastructure | |
parent | 33f9fd31e98db2090265af9434c0bf718f7b051c (diff) | |
download | ansible-modules-extras-38edad70acafbc18a0088470babdf94eff55a567.tar.gz |
Fixes #5023 Convert all modules to use new snippet import pattern
Diffstat (limited to 'web_infrastructure')
-rw-r--r-- | web_infrastructure/django_manage | 2 | ||||
-rw-r--r-- | web_infrastructure/ejabberd_user | 4 | ||||
-rw-r--r-- | web_infrastructure/htpasswd | 2 | ||||
-rw-r--r-- | web_infrastructure/jboss | 2 | ||||
-rw-r--r-- | web_infrastructure/supervisorctl | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/web_infrastructure/django_manage b/web_infrastructure/django_manage index d707ece8..ed31d33e 100644 --- a/web_infrastructure/django_manage +++ b/web_infrastructure/django_manage @@ -274,6 +274,6 @@ def main(): settings=module.params['settings'], pythonpath=module.params['pythonpath']) # this is magic, see lib/ansible/module_common.py -#<<INCLUDE_ANSIBLE_MODULE_COMMON>> +from ansible.module_utils.basic import * main() diff --git a/web_infrastructure/ejabberd_user b/web_infrastructure/ejabberd_user index 1fe15c7a..99b9859f 100644 --- a/web_infrastructure/ejabberd_user +++ b/web_infrastructure/ejabberd_user @@ -208,6 +208,6 @@ def main(): module.exit_json(**result) -# include magic from lib/ansible/module_common.py -#<<INCLUDE_ANSIBLE_MODULE_COMMON>> +# import module snippets +from ansible.module_utils.basic import * main() diff --git a/web_infrastructure/htpasswd b/web_infrastructure/htpasswd index 0080c49f..6d130209 100644 --- a/web_infrastructure/htpasswd +++ b/web_infrastructure/htpasswd @@ -212,7 +212,7 @@ def main(): # this is magic, see lib/ansible/module_common.py -#<<INCLUDE_ANSIBLE_MODULE_COMMON>> +from ansible.module_utils.basic import * if __name__ == '__main__': main() diff --git a/web_infrastructure/jboss b/web_infrastructure/jboss index c3d4becf..b936294b 100644 --- a/web_infrastructure/jboss +++ b/web_infrastructure/jboss @@ -136,5 +136,5 @@ def main(): module.exit_json(changed=changed) # this is magic, see lib/ansible/module_common.py -#<<INCLUDE_ANSIBLE_MODULE_COMMON>> +from ansible.module_utils.basic import * main() diff --git a/web_infrastructure/supervisorctl b/web_infrastructure/supervisorctl index b40e0d4a..b8586d23 100644 --- a/web_infrastructure/supervisorctl +++ b/web_infrastructure/supervisorctl @@ -190,6 +190,6 @@ def main(): module.exit_json(changed=False, name=name, state=state) # this is magic, see lib/ansible/module_common.py -#<<INCLUDE_ANSIBLE_MODULE_COMMON>> +from ansible.module_utils.basic import * main() |