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

@@ -1886,6 +1886,8 @@ class PluginFileInjector(object):
else:
injector_env = self.get_script_env(inventory_update, private_data_dir, private_data_files)
env.update(injector_env)
# Preserves current behavior for Ansible change in default planned for 2.10
env['ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS'] = 'never'
return env
def _get_shared_env(self, inventory_update, private_data_dir, private_data_files):