1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix version_added and snippet imports on new digital ocean modules

This commit is contained in:
James Tanner 2014-03-11 15:43:59 -04:00
parent 748588b516
commit b3ff88d06a
3 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@ module: digital_ocean_domain
short_description: Create/delete a DNS record in DigitalOcean short_description: Create/delete a DNS record in DigitalOcean
description: description:
- Create/delete a DNS record in DigitalOcean. - Create/delete a DNS record in DigitalOcean.
version_added: "1.4" version_added: "1.6"
options: options:
state: state:
description: description:
@ -236,7 +236,7 @@ def main():
except (DoError, Exception) as e: except (DoError, Exception) as e:
module.fail_json(msg=str(e)) module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py # import module snippets
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
main() main()

View file

@ -21,7 +21,7 @@ module: digital_ocean_droplet
short_description: Create/delete a droplet in DigitalOcean short_description: Create/delete a droplet in DigitalOcean
description: description:
- Create/delete a droplet in DigitalOcean and optionally waits for it to be 'running'. - Create/delete a droplet in DigitalOcean and optionally waits for it to be 'running'.
version_added: "1.4" version_added: "1.6"
options: options:
state: state:
description: description:
@ -314,7 +314,7 @@ def main():
except (DoError, Exception) as e: except (DoError, Exception) as e:
module.fail_json(msg=str(e)) module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py # import module snippets
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
main() main()

View file

@ -21,7 +21,7 @@ module: digital_ocean_sshkey
short_description: Create/delete an SSH key in DigitalOcean short_description: Create/delete an SSH key in DigitalOcean
description: description:
- Create/delete an SSH key. - Create/delete an SSH key.
version_added: "1.4" version_added: "1.6"
options: options:
state: state:
description: description:
@ -172,7 +172,7 @@ def main():
except (DoError, Exception) as e: except (DoError, Exception) as e:
module.fail_json(msg=str(e)) module.fail_json(msg=str(e))
# this is magic, see lib/ansible/module_common.py # import module snippets
#<<INCLUDE_ANSIBLE_MODULE_COMMON>> from ansible.module_utils.basic import *
main() main()