diff --git a/lib/ansible/modules/cloud/rackspace/rax_scaling_group.py b/lib/ansible/modules/cloud/rackspace/rax_scaling_group.py index 1826bec4de2..b949d2e772b 100644 --- a/lib/ansible/modules/cloud/rackspace/rax_scaling_group.py +++ b/lib/ansible/modules/cloud/rackspace/rax_scaling_group.py @@ -262,7 +262,7 @@ 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('server_name'): + if server_name != lc.get('name'): lc_args['server_name'] = server_name if image != lc.get('image'):