|
|
@ -225,7 +225,7 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None,
|
|
|
|
launch_config_type='launch_server',
|
|
|
|
launch_config_type='launch_server',
|
|
|
|
server_name=server_name, image=image,
|
|
|
|
server_name=server_name, image=image,
|
|
|
|
flavor=flavor, disk_config=disk_config,
|
|
|
|
flavor=flavor, disk_config=disk_config,
|
|
|
|
metadata=meta, personality=files,
|
|
|
|
metadata=meta, personality=personality,
|
|
|
|
networks=nics, load_balancers=lbs,
|
|
|
|
networks=nics, load_balancers=lbs,
|
|
|
|
key_name=key_name, config_drive=config_drive,
|
|
|
|
key_name=key_name, config_drive=config_drive,
|
|
|
|
user_data=user_data)
|
|
|
|
user_data=user_data)
|
|
|
@ -317,7 +317,7 @@ def main():
|
|
|
|
config_drive=dict(default=False, type='bool'),
|
|
|
|
config_drive=dict(default=False, type='bool'),
|
|
|
|
cooldown=dict(type='int', default=300),
|
|
|
|
cooldown=dict(type='int', default=300),
|
|
|
|
disk_config=dict(choices=['auto', 'manual']),
|
|
|
|
disk_config=dict(choices=['auto', 'manual']),
|
|
|
|
files=dict(type='list', default=[]),
|
|
|
|
files=dict(type='dict', default={}),
|
|
|
|
flavor=dict(required=True),
|
|
|
|
flavor=dict(required=True),
|
|
|
|
image=dict(required=True),
|
|
|
|
image=dict(required=True),
|
|
|
|
key_name=dict(),
|
|
|
|
key_name=dict(),
|
|
|
|