summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks/install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nexus/tasks/install.yml')
-rw-r--r--ansible/roles/nexus/tasks/install.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ansible/roles/nexus/tasks/install.yml b/ansible/roles/nexus/tasks/install.yml
index 99d73dce..f8de5e95 100644
--- a/ansible/roles/nexus/tasks/install.yml
+++ b/ansible/roles/nexus/tasks/install.yml
@@ -8,8 +8,8 @@
- name: Load nexus image
docker_image:
- name: sonatype/nexus3
- load_path: "{{ app_data_path }}/offline_data/docker_images_infra/sonatype_nexus3_latest.tar"
+ name: "{{ nexus3_image }}"
+ load_path: "{{ infra_images_path }}/{{ nexus3_image_tar }}"
state: present
timeout: 120
@@ -18,10 +18,10 @@
name: nexus_network
state: present
-- name: Run nexus container
+- name: Start nexus server container
docker_container:
name: nexus
- image: sonatype/nexus3
+ image: "{{ nexus3_image }}"
networks:
- name: nexus_network
volumes: