mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 23:24:48 -03:30
Merge pull request #13644 from fosterseth/inv_source_scm_branch
Add scm_branch to inventory source and inventory update
This commit is contained in:
@@ -105,6 +105,11 @@ options:
|
||||
description:
|
||||
- Project to use as source with scm option
|
||||
type: str
|
||||
scm_branch:
|
||||
description:
|
||||
- Inventory source SCM branch.
|
||||
- Project must have branch override enabled.
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- Desired state of the resource.
|
||||
@@ -178,6 +183,7 @@ def main():
|
||||
update_on_launch=dict(type='bool'),
|
||||
update_cache_timeout=dict(type='int'),
|
||||
source_project=dict(),
|
||||
scm_branch=dict(type='str'),
|
||||
notification_templates_started=dict(type="list", elements='str'),
|
||||
notification_templates_success=dict(type="list", elements='str'),
|
||||
notification_templates_error=dict(type="list", elements='str'),
|
||||
@@ -272,6 +278,7 @@ def main():
|
||||
'enabled_var',
|
||||
'enabled_value',
|
||||
'host_filter',
|
||||
'scm_branch',
|
||||
)
|
||||
|
||||
# Layer in all remaining optional information
|
||||
|
||||
Reference in New Issue
Block a user