Commit b3ff88d0 by James Tanner

Fix version_added and snippet imports on new digital ocean modules

parent 748588b5
......@@ -21,7 +21,7 @@ module: digital_ocean_domain
short_description: Create/delete a DNS record in DigitalOcean
description:
- Create/delete a DNS record in DigitalOcean.
version_added: "1.4"
version_added: "1.6"
options:
state:
description:
......@@ -236,7 +236,7 @@ def main():
except (DoError, Exception) as e:
module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()
......@@ -21,7 +21,7 @@ module: digital_ocean_droplet
short_description: Create/delete a droplet in DigitalOcean
description:
- Create/delete a droplet in DigitalOcean and optionally waits for it to be 'running'.
version_added: "1.4"
version_added: "1.6"
options:
state:
description:
......@@ -314,7 +314,7 @@ def main():
except (DoError, Exception) as e:
module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()
......@@ -21,7 +21,7 @@ module: digital_ocean_sshkey
short_description: Create/delete an SSH key in DigitalOcean
description:
- Create/delete an SSH key.
version_added: "1.4"
version_added: "1.6"
options:
state:
description:
......@@ -172,7 +172,7 @@ def main():
except (DoError, Exception) as e:
module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment