diff --git a/infrared_plugin/main.yaml b/infrared_plugin/main.yaml index 988115448..e49c51cc2 100644 --- a/infrared_plugin/main.yaml +++ b/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