|
|
|
@ -26,7 +26,7 @@ except ImportError:
|
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
|
---
|
|
|
|
|
module: nova_fip
|
|
|
|
|
version_added: "1.5"
|
|
|
|
|
version_added: "1.6"
|
|
|
|
|
short_description: Associate an OpenStack floating IP with a server.
|
|
|
|
|
description:
|
|
|
|
|
- Manage nova floating IPs using the python-novaclient library.
|
|
|
|
@ -228,6 +228,7 @@ def main():
|
|
|
|
|
changed = _disassociate_floating_ip(nova, floating_ip, server)
|
|
|
|
|
module.exit_json(changed=changed)
|
|
|
|
|
|
|
|
|
|
# this is magic, see lib/ansible/module_common.py
|
|
|
|
|
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
|
|
|
main()
|
|
|
|
|
# import module snippets
|
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
|
|
|
|
|
|
main()
|