mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -03:30
Respect the ec2 script nested groups option
This commit is contained in:
@@ -2038,6 +2038,10 @@ class ec2(PluginFileInjector):
|
|||||||
# Using the plugin, but still want dashes whitelisted
|
# Using the plugin, but still want dashes whitelisted
|
||||||
ret['use_contrib_script_compatible_sanitization'] = True
|
ret['use_contrib_script_compatible_sanitization'] = True
|
||||||
|
|
||||||
|
if source_vars.get('nested_groups') is False:
|
||||||
|
for this_keyed_group in keyed_groups:
|
||||||
|
this_keyed_group.pop('parent_group', None)
|
||||||
|
|
||||||
if keyed_groups:
|
if keyed_groups:
|
||||||
ret['keyed_groups'] = keyed_groups
|
ret['keyed_groups'] = keyed_groups
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user