add custom_venv for backward compatibility

This commit is contained in:
sean-m-ssullivan
2021-05-03 21:35:21 -05:00
parent ddb1d12a79
commit 715aead961
4 changed files with 34 additions and 0 deletions

View File

@@ -86,6 +86,12 @@ options:
description:
- Execution Environment to use for the JT.
type: str
custom_virtualenv:
description:
- Local absolute file path containing a custom Python virtualenv to use.
- Only compatible with older versions of AWX/Tower
- Deprecated, will be removed in the future
type: str
instance_groups:
description:
- list of Instance Groups for this Organization to run on.
@@ -371,6 +377,7 @@ def main():
vault_credential=dict(),
credentials=dict(type='list', elements='str'),
execution_environment=dict(),
custom_virtualenv=dict(),
instance_groups=dict(type="list", elements='str'),
forks=dict(type='int'),
limit=dict(),
@@ -495,6 +502,7 @@ def main():
'become_enabled',
'diff_mode',
'allow_simultaneous',
'custom_virtualenv',
'job_slice_count',
'webhook_service',
):