|
|
@ -40,7 +40,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- password of login user
|
|
|
|
- password of login user
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: True
|
|
|
|
default: 'yes'
|
|
|
|
login_tenant_name:
|
|
|
|
login_tenant_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the tenant name of the login user
|
|
|
|
- the tenant name of the login user
|
|
|
@ -204,6 +204,7 @@ def main():
|
|
|
|
if state == 'attached':
|
|
|
|
if state == 'attached':
|
|
|
|
_update_floating_ip(quantum, module, None, floating_ip_id)
|
|
|
|
_update_floating_ip(quantum, module, None, floating_ip_id)
|
|
|
|
module.exit_json(changed = True, result = "detached")
|
|
|
|
module.exit_json(changed = True, result = "detached")
|
|
|
|
|
|
|
|
|
|
|
|
# this is magic, see lib/ansible/module.params['common.py
|
|
|
|
# this is magic, see lib/ansible/module.params['common.py
|
|
|
|
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
|
|
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|