Merge pull request #3543 from AlanCoding/do_not_transform

Set Ansible name transform setting for built-in sources

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-03-28 23:47:56 +00:00
committed by GitHub
17 changed files with 34 additions and 15 deletions

View File

@@ -2010,8 +2010,6 @@ class RunInventoryUpdate(BaseTask):
else:
env['ANSIBLE_INVENTORY_ENABLED'] = 'script'
# TODO: option for Automatic transformation of group names, ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS
if inventory_update.source in ['scm', 'custom']:
for env_k in inventory_update.source_vars_dict:
if str(env_k) not in env and str(env_k) not in settings.INV_ENV_VARIABLE_BLACKLIST: