Fix version_added and snippet imports on new digital ocean modules

reviewable/pr18780/r1
James Tanner 11 years ago
parent 3f6e23028f
commit bcabef32e9

@ -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()

Loading…
Cancel
Save