summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nginx/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nginx/tasks/main.yml')
-rw-r--r--ansible/roles/nginx/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/nginx/tasks/main.yml b/ansible/roles/nginx/tasks/main.yml
index 54a0c818..7798f2ff 100644
--- a/ansible/roles/nginx/tasks/main.yml
+++ b/ansible/roles/nginx/tasks/main.yml
@@ -14,6 +14,7 @@
name: "{{ nginx_server_image }}"
load_path: "{{ infra_images_path }}/{{ nginx_server_image_tar }}"
state: present
+ source: load
timeout: 120
- name: Create nexus network
@@ -27,7 +28,9 @@
image: "{{ nginx_server_image }}"
networks:
- name: nexus_network
+ network_mode: default
ports: "{{ nginx.ports }}"
volumes: "{{ nginx.volumes }}"
state: started
restart_policy: unless-stopped
+ container_default_behavior: compatibility