Addresses #5023 Fix import comments

This commit is contained in:
James Tanner
2013-12-02 15:13:49 -05:00
parent 6000d636b3
commit ad837709bd
94 changed files with 94 additions and 94 deletions

View File

@@ -434,7 +434,7 @@ def main():
except apt.cache.LockFailedException:
module.fail_json(msg="Failed to lock apt for exclusive operation")
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -381,7 +381,7 @@ def main():
module.exit_json(changed=changed, repo=repo, state=state)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -179,7 +179,7 @@ def main():
module.exit_json(changed=changed, binary=easy_install,
name=name, virtualenv=env)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -170,7 +170,7 @@ def main():
elif p["state"] in ["absent", "removed"]:
remove_packages(module, brew_path, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -209,7 +209,7 @@ def main():
elif p["state"] == "inactive":
deactivate_packages(module, port_path, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -223,6 +223,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()

View File

@@ -276,6 +276,6 @@ def main():
module.exit_json(**result)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -143,7 +143,7 @@ def main():
elif p["state"] in ["absent", "removed"]:
remove_packages(module, opkg_path, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -212,7 +212,7 @@ def main():
elif p["state"] == "absent":
remove_packages(module, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -346,7 +346,7 @@ def main():
module.exit_json(changed=changed, cmd=cmd, name=name, version=version,
state=state, requirements=requirements, virtualenv=env, stdout=out, stderr=err)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -162,7 +162,7 @@ def main():
elif p["state"] == "absent":
remove_packages(module, pkgin_path, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -155,7 +155,7 @@ def main():
elif p["state"] == "absent":
remove_packages(module, pkgin_path, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -202,7 +202,7 @@ def main():
elif p["state"] == "absent":
remove_packages(module, pkgs)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -188,7 +188,7 @@ def main():
module.exit_json(changed=changed, name=name, state=state, msg=msg)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -202,7 +202,7 @@ def main():
elif p['state'] in [ 'removed', 'absent' ]:
remove_packages(module, packages)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -737,7 +737,7 @@ def main():
disablerepo, disable_gpg_check)
module.fail_json(msg="we should never get here unless this all failed", **res)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -224,6 +224,6 @@ def main():
module.exit_json(**result)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()

View File

@@ -151,7 +151,7 @@ def main():
module.exit_json(changed=changed, repo=repo, state=state)
# this is magic, see lib/ansible/module_common.py
# import module snippets
from ansible.module_utils.basic import *
main()