mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
don't auto-coerce boolean-like extra_vars for credential injection
ansible itself already does this for you (albeit, with its own set of quirks): https://github.com/ansible/ansible/issues/11905 see: #6900
This commit is contained in:
@@ -915,7 +915,7 @@ class TestJobCredentials(TestJobExecution):
|
||||
assert self.run_pexpect.call_count == 1
|
||||
call_args, _ = self.run_pexpect.call_args_list[0]
|
||||
args, cwd, env, stdout = call_args
|
||||
assert '-e {"turbo_button": true}' in ' '.join(args)
|
||||
assert '-e {"turbo_button": "True"}' in ' '.join(args)
|
||||
|
||||
def test_custom_environment_injectors_with_complicated_boolean_template(self):
|
||||
some_cloud = CredentialType(
|
||||
|
||||
Reference in New Issue
Block a user