mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
add custom_venv for backward compatibility
This commit is contained in:
@@ -113,6 +113,12 @@ options:
|
||||
description:
|
||||
- Default Execution Environment to use for jobs relating to the project.
|
||||
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
|
||||
organization:
|
||||
description:
|
||||
- Name of organization for project.
|
||||
@@ -262,6 +268,7 @@ def main():
|
||||
allow_override=dict(type='bool', aliases=['scm_allow_override']),
|
||||
timeout=dict(type='int', default=0, aliases=['job_timeout']),
|
||||
default_environment=dict(),
|
||||
custom_virtualenv=dict(),
|
||||
organization=dict(),
|
||||
notification_templates_started=dict(type="list", elements='str'),
|
||||
notification_templates_success=dict(type="list", elements='str'),
|
||||
@@ -286,6 +293,7 @@ def main():
|
||||
scm_update_on_launch = module.params.get('scm_update_on_launch')
|
||||
scm_update_cache_timeout = module.params.get('scm_update_cache_timeout')
|
||||
default_ee = module.params.get('default_environment')
|
||||
custom_virtualenv = module.params.get('custom_virtualenv')
|
||||
organization = module.params.get('organization')
|
||||
state = module.params.get('state')
|
||||
wait = module.params.get('wait')
|
||||
|
||||
Reference in New Issue
Block a user