Browse Source

Fix Jenkins vars inclusion

Change-Id: I70aa53e07273688461809b771fa8442bddb64ea2
changes/00/727100/1
Federico Ressi 1 year ago
parent
commit
7bdb82d81b
  1. 7
      infrared_plugin/main.yaml

7
infrared_plugin/main.yaml

@ -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…
Cancel
Save