Fix some issues syncing playbooks

* Build a list of playbooks and store it in the database at sync time
* Fix an issue running playbook sync on jobs for scan jobs
* Remove a TODO that was unneeded
This commit is contained in:
Matthew Jones
2016-10-24 11:31:39 -04:00
parent 0f0d9953b3
commit 7c7d2e37ed
5 changed files with 42 additions and 13 deletions

View File

@@ -29,8 +29,8 @@
version: "{{scm_branch|quote}}"
force: "{{scm_clean}}"
accept_hostkey: "{{scm_accept_hostkey}}"
clone: "{{ scm_full_checkout }}"
update: "{{ scm_full_checkout }}"
#clone: "{{ scm_full_checkout }}"
#update: "{{ scm_full_checkout }}"
when: scm_type == 'git' and scm_accept_hostkey is defined
register: scm_result
@@ -45,8 +45,8 @@
repo: "{{scm_url|quote}}"
version: "{{scm_branch|quote}}"
force: "{{scm_clean}}"
clone: "{{ scm_full_checkout }}"
update: "{{ scm_full_checkout }}"
#clone: "{{ scm_full_checkout }}"
#update: "{{ scm_full_checkout }}"
when: scm_type == 'git' and scm_accept_hostkey is not defined
register: scm_result