print("failed=True msg='novaclient is required for this module'")
print("failed=True msg='novaclient is required for this module'")
...
@@ -92,6 +94,11 @@ options:
...
@@ -92,6 +94,11 @@ options:
- A list of network id's to which the VM's interface should be attached
- A list of network id's to which the VM's interface should be attached
required: false
required: false
default: None
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:
meta:
description:
description:
- A list of key value pairs that should be provided as a metadata to the new VM
- A list of key value pairs that should be provided as a metadata to the new VM
...
@@ -133,8 +140,38 @@ EXAMPLES = '''
...
@@ -133,8 +140,38 @@ EXAMPLES = '''
meta:
meta:
hostname: test1
hostname: test1
group: uge_master
group: uge_master
# Creates a new VM in HP Cloud AE1 region and automatically assigns a floating IP