Skip to content

Commit

Permalink
Make nexus_username/password optional
Browse files Browse the repository at this point in the history
  • Loading branch information
interatom committed Dec 13, 2017
1 parent 2b52707 commit 91c414b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/download/nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
repository_url: "{{ item.repository_url }}"
dest: "{{ dispatcher_download_path }}/{{ dispatcher_tarball_name }}"
extension: tar.gz
username: "{{ nexus_username }}"
password: "{{ nexus_password }}"
username: "{{ nexus_username | default(omit) }}"
password: "{{ nexus_password | default(omit) }}"
version: "{{ item.version | default(dispatcher_version) }}"
classifier: "{{ item.classifier | default(dispatcher_tarball_name | regex_replace('dispatcher-(.*)-([\\d\\.]*)\\.tar\\.gz', '\\1')) }}"
with_items: "{{ dispatcher_mvn_coordinates }}"

0 comments on commit 91c414b

Please sign in to comment.