Fix Jenkins vars inclusion
Change-Id: I70aa53e07273688461809b771fa8442bddb64ea2
This commit is contained in:
parent
32c91c7264
commit
7bdb82d81b
@ -43,13 +43,12 @@
|
||||
dest: '{{ playbook_dir }}/roles'
|
||||
state: link
|
||||
|
||||
- name: "include Jenkins settings"
|
||||
include_vars: jenkins.yaml
|
||||
when: "(lookup('env','JENKINS_URL') | length) > 0"
|
||||
|
||||
|
||||
- hosts:
|
||||
'{{ test_host | default(hostvars.localhost.test_host) | default("localhost") }}'
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- name: "include Jenkins settings"
|
||||
include_vars: jenkins.yaml
|
||||
when: "(lookup('env','JENKINS_URL') | length) > 0"
|
||||
- include_role: name=tobiko-all
|
||||
|
Loading…
Reference in New Issue
Block a user