From 4f9aadcc07df430ed994feab33170cff0f00f3a7 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 2 Dec 2013 15:13:49 -0500 Subject: Addresses #5023 Fix import comments --- web_infrastructure/django_manage | 2 +- web_infrastructure/htpasswd | 2 +- web_infrastructure/jboss | 2 +- web_infrastructure/supervisorctl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'web_infrastructure') diff --git a/web_infrastructure/django_manage b/web_infrastructure/django_manage index ed31d33e..f6ea9c49 100644 --- a/web_infrastructure/django_manage +++ b/web_infrastructure/django_manage @@ -273,7 +273,7 @@ def main(): module.exit_json(changed=changed, out=out, cmd=cmd, app_path=app_path, virtualenv=virtualenv, settings=module.params['settings'], pythonpath=module.params['pythonpath']) -# this is magic, see lib/ansible/module_common.py +# import module snippets from ansible.module_utils.basic import * main() diff --git a/web_infrastructure/htpasswd b/web_infrastructure/htpasswd index 6d130209..95d43bcd 100644 --- a/web_infrastructure/htpasswd +++ b/web_infrastructure/htpasswd @@ -211,7 +211,7 @@ def main(): module.fail_json(msg=str(e)) -# this is magic, see lib/ansible/module_common.py +# import module snippets from ansible.module_utils.basic import * if __name__ == '__main__': diff --git a/web_infrastructure/jboss b/web_infrastructure/jboss index b936294b..94782356 100644 --- a/web_infrastructure/jboss +++ b/web_infrastructure/jboss @@ -135,6 +135,6 @@ def main(): module.exit_json(changed=changed) -# this is magic, see lib/ansible/module_common.py +# import module snippets from ansible.module_utils.basic import * main() diff --git a/web_infrastructure/supervisorctl b/web_infrastructure/supervisorctl index b8586d23..564368af 100644 --- a/web_infrastructure/supervisorctl +++ b/web_infrastructure/supervisorctl @@ -189,7 +189,7 @@ def main(): module.exit_json(changed=False, name=name, state=state) -# this is magic, see lib/ansible/module_common.py +# import module snippets from ansible.module_utils.basic import * main() -- cgit v1.2.1