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