From 08700805041eb91b15e9a8912b16e4844c218eeb Mon Sep 17 00:00:00 2001 From: Martin Wehner Date: Wed, 13 Dec 2017 15:47:21 +0100 Subject: [PATCH] Make nexus_username/password optional --- tasks/download/nexus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/download/nexus.yml b/tasks/download/nexus.yml index 8ff82fe..c0a0cda 100644 --- a/tasks/download/nexus.yml +++ b/tasks/download/nexus.yml @@ -11,7 +11,7 @@ repository_url: "{{ item.repository_url }}" dest: "{{ aem_download_path }}/{{ aem_quickstart_name }}" extension: jar - username: "{{ nexus_username }}" - password: "{{ nexus_password }}" + username: "{{ nexus_username | default(omit) }}" + password: "{{ nexus_password | default(omit) }}" version: "{{ item.version | default(aem_version_short) }}" with_items: "{{ aem_mvn_coordinates }}" \ No newline at end of file