Adding versions for infra related docker images
1. latest tag replaced by version number for vnc server
2. added specific version for own_nginx image
3. version control improved in ansible roles accordingly
Solves OOM-1766
Issue-ID: OOM-1767
Change-Id: I147c56b46a419188099d8ed3e78fed68810893e2
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
diff --git a/ansible/roles/nexus/tasks/install.yml b/ansible/roles/nexus/tasks/install.yml
index 99d73dc..f8de5e9 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: