Unverified Commit 305eca00 by Stu Young Committed by GitHub

Merge pull request #4214 from edx/estute/fix-jenkins-ssh-url-conditional

fix conditional check for jenkins ssh key
parents 169242a8 a9d20e28
......@@ -15,5 +15,3 @@ jenkins_debian_pkgs:
# packer direct download URL
packer_url: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
jenkins_worker_key_url: null
......@@ -21,7 +21,7 @@
user: "{{ jenkins_user }}"
state: present
key: "{{ jenkins_worker_key_url }}"
when: jenkins_worker_key_url
when: jenkins_worker_key_url is defined
ignore_errors: yes
- name: Set key permissions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment