File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919 repo : " {{ jenkins_repo_url }}"
2020 state : present
2121 update_cache : true
22- when : jenkins_repo_url | default(false)
22+ when : jenkins_repo_url is defined and jenkins_repo_url != ""
2323 tags : ['skip_ansible_lint']
2424
2525- name : Download specific Jenkins version.
Original file line number Diff line number Diff line change 1212 get_url :
1313 url : " {{ jenkins_repo_url }}"
1414 dest : /etc/yum.repos.d/jenkins.repo
15- when : jenkins_repo_url | default(false)
15+ when : jenkins_repo_url is defined and jenkins_repo_url != ""
1616
1717- name : Add Jenkins repo GPG key.
1818 rpm_key :
1919 state : present
2020 key : " {{ jenkins_repo_key_url }}"
21- when : jenkins_repo_url | default(false)
21+ when : jenkins_repo_url is defined and jenkins_repo_url != ""
2222
2323- name : Download specific Jenkins version.
2424 get_url :
You can’t perform that action at this time.
0 commit comments