diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-04-05 13:03:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-05 13:03:08 +0000 |
commit | d76d4e5948969fe0266645df7e06f973fdb9b44b (patch) | |
tree | 045ec3c09b37316ef44b2e3ddea29b960c15b0f3 /ansible/roles/nginx/tasks/main.yml | |
parent | 1bfd41937210685fb9a9ac318d124f16acdbe274 (diff) | |
parent | a0ad5c1091c43b96b7b54b4a2c4eca02d5f9a4eb (diff) |
Merge "Adding versions for infra related docker images"
Diffstat (limited to 'ansible/roles/nginx/tasks/main.yml')
-rw-r--r-- | ansible/roles/nginx/tasks/main.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ansible/roles/nginx/tasks/main.yml b/ansible/roles/nginx/tasks/main.yml index 1ec0adbc..54a0c818 100644 --- a/ansible/roles/nginx/tasks/main.yml +++ b/ansible/roles/nginx/tasks/main.yml @@ -9,10 +9,10 @@ src: nginx.conf.j2 dest: "{{ app_data_path }}/cfg/nginx.conf" -- name: Load nginx image +- name: Load nginx server image docker_image: - name: own_nginx - load_path: "{{ app_data_path }}/offline_data/docker_images_infra/own_nginx_latest.tar" + name: "{{ nginx_server_image }}" + load_path: "{{ infra_images_path }}/{{ nginx_server_image_tar }}" state: present timeout: 120 @@ -21,10 +21,10 @@ name: nexus_network state: present -- name: Start nginx +- name: Start nginx server container docker_container: - name: own_nginx - image: own_nginx + name: nginx-server + image: "{{ nginx_server_image }}" networks: - name: nexus_network ports: "{{ nginx.ports }}" |