Fixing digital_ocean documentation and a bug in os_subnet

This commit is contained in:
James Cammarata 2015-05-12 10:32:43 -05:00
parent 52626b4da9
commit 576ca33bdc
2 changed files with 3 additions and 2 deletions

View file

@ -99,7 +99,8 @@ options:
notes:
- Two environment variables can be used, DO_API_KEY and DO_API_TOKEN. They both refer to the v2 token.
- Version 2 of DigitalOcean API is used.
- As of Ansible 2.0, Version 2 of the DigitalOcean API is used.
- As of Ansible 2.0, the above parameters were changed significantly. If you are running 1.9.x or earlier, please use C(ansible-doc digital_ocean) to view the correct parameters for your version. Dedicated web docs will be available in the near future for the stable branch.
requirements:
- "python >= 2.6"
- dopy

View file

@ -253,5 +253,5 @@ def main():
# this is magic, see lib/ansible/module_common.py
from ansible.module_utils.basic import *
from ansible.module_utils.openstack import *
if __name__ '__main__':
if __name__ == '__main__':
main()