print("failed=True msg='novaclient is required for this module'")
...
...
@@ -92,6 +94,11 @@ options:
- A list of network id's to which the VM's interface should be attached
required: false
default: None
floating_ip:
description:
- list of key value pairs that determine how to assign, if specified, floating IPs. Either use an explicite list of valid floating IPs, list of floating IP pools to choose from, or auto-assign
required: false
default: None
meta:
description:
- A list of key value pairs that should be provided as a metadata to the new VM
...
...
@@ -133,8 +140,38 @@ EXAMPLES = '''
meta:
hostname: test1
group: uge_master
# Creates a new VM in HP Cloud AE1 region and automatically assigns a floating IP