Fix attribute name for Auto Scale servers
This commit is contained in:
parent
8ec2673431
commit
8db564dcf7
1 changed files with 2 additions and 2 deletions
|
@ -262,8 +262,8 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None,
|
|||
# Launch Configuration Updates
|
||||
lc = sg.get_launch_config()
|
||||
lc_args = {}
|
||||
if server_name != lc.get('name'):
|
||||
lc_args['name'] = server_name
|
||||
if server_name != lc.get('server_name'):
|
||||
lc_args['server_name'] = server_name
|
||||
|
||||
if image != lc.get('image'):
|
||||
lc_args['image'] = image
|
||||
|
|
Loading…
Reference in a new issue