mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-29 11:21:49 -05:00
AC-1302 Update EC2 inventory script to create hierarchical groups.
Conflicts: awx/main/tests/inventory.py
This commit is contained in:
@@ -806,6 +806,7 @@ class RunInventoryUpdate(BaseTask):
|
||||
ec2_opts.setdefault('destination_variable', 'public_dns_name')
|
||||
ec2_opts.setdefault('vpc_destination_variable', 'ip_address')
|
||||
ec2_opts.setdefault('route53', 'False')
|
||||
ec2_opts.setdefault('nested_groups', 'True')
|
||||
ec2_opts['cache_path'] = tempfile.mkdtemp(prefix='awx_ec2_')
|
||||
ec2_opts['cache_max_age'] = '300'
|
||||
for k,v in ec2_opts.items():
|
||||
|
||||
Reference in New Issue
Block a user