From d1088fc28c9625944ee24eca330f12f504be4529 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 6 Jun 2019 07:05:47 -0700 Subject: Improve 'nexus' role testability A change needed by related commit to allow building a custom nexus url. Change-Id: Iaa7e1d10d9621871e71863c77722cd635b7e1e4d Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski --- ansible/roles/nexus/defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ansible/roles/nexus/defaults') diff --git a/ansible/roles/nexus/defaults/main.yml b/ansible/roles/nexus/defaults/main.yml index 8f636979..194f88bf 100644 --- a/ansible/roles/nexus/defaults/main.yml +++ b/ansible/roles/nexus/defaults/main.yml @@ -6,4 +6,6 @@ populate_nexus: false # but all images are pre-populated either at buildtime or at install time (populate_nexus). runtime_images: {} # Default rule for tarball naming translation +nexus_url: "{{ nexus_url_scheme | default('https') }}://nexus.{{ hostvars[groups.infrastructure[0]].ansible_nodename }}{{ nexus_port | default('') }}" nexus3_image_tar: "{{ nexus3_image | regex_replace('(\\/|\\:)', '_') }}.tar" +nexus3_published_ports: [] -- cgit 1.2.3-korg