mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix attribute name for Auto Scale servers
This commit is contained in:
committed by
Matt Clay
parent
d67ba5e25b
commit
6b9310ecfb
@@ -262,8 +262,8 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None,
|
|||||||
# Launch Configuration Updates
|
# Launch Configuration Updates
|
||||||
lc = sg.get_launch_config()
|
lc = sg.get_launch_config()
|
||||||
lc_args = {}
|
lc_args = {}
|
||||||
if server_name != lc.get('name'):
|
if server_name != lc.get('server_name'):
|
||||||
lc_args['name'] = server_name
|
lc_args['server_name'] = server_name
|
||||||
|
|
||||||
if image != lc.get('image'):
|
if image != lc.get('image'):
|
||||||
lc_args['image'] = image
|
lc_args['image'] = image
|
||||||
|
|||||||
Reference in New Issue
Block a user