mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
#2073 - Support setting to prevent Tower from pulling from requirements.yml files for an SCM project
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
# scm_accept_hostkey: true/false (only for git, set automatically)
|
||||
# scm_revision: current revision in tower
|
||||
# scm_revision_output: where to store gathered revision (temporary file)
|
||||
# roles_enabled: Allow us to pull roles from a requirements.yml file
|
||||
|
||||
- hosts: all
|
||||
connection: local
|
||||
@@ -152,4 +153,4 @@
|
||||
chdir: "{{project_path|quote}}/roles"
|
||||
when: doesRequirementsExist.stat.exists and scm_result is defined
|
||||
|
||||
when: scm_full_checkout|bool
|
||||
when: scm_full_checkout|bool and roles_enabled|bool
|
||||
|
||||
Reference in New Issue
Block a user