summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks/install.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-13 14:41:10 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-15 11:16:21 +0200
commit66628de552be9360be33a060a6d6ade8665f2525 (patch)
treef6daca9312c6665f080f432a110e42b6698e86ed /ansible/roles/nexus/tasks/install.yml
parentd02df5dab30738e7e77285b55c806e6ee7c6c701 (diff)
[ANSIBLE 3.2.0] Upgrade 'nexus' role's tasks to ansible 3.2.0
Change-Id: Ibeaea4b3b627c356521b4c847d56eeb922a8cca1 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/nexus/tasks/install.yml')
-rw-r--r--ansible/roles/nexus/tasks/install.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/nexus/tasks/install.yml b/ansible/roles/nexus/tasks/install.yml
index 6ac2b131..c9159086 100644
--- a/ansible/roles/nexus/tasks/install.yml
+++ b/ansible/roles/nexus/tasks/install.yml
@@ -10,6 +10,7 @@
docker_image:
name: "{{ nexus3_image }}"
load_path: "{{ infra_images_path }}/{{ nexus3_image_tar }}"
+ source: load
state: present
timeout: 120
@@ -24,11 +25,13 @@
image: "{{ nexus3_image }}"
networks:
- name: nexus_network
+ network_mode: default
published_ports: "{{ nexus3_published_ports }}"
volumes:
- "{{ app_data_path }}/nexus_data:/nexus-data:rw"
state: started
restart_policy: unless-stopped
+ container_default_behavior: compatibility
- name: Wait for nexus to come up
uri: