summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nginx/defaults/main.yml
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-03-28 17:45:55 +0100
committerTomáš Levora <t.levora@partner.samsung.com>2019-04-05 11:41:16 +0000
commita0ad5c1091c43b96b7b54b4a2c4eca02d5f9a4eb (patch)
treef953a79e5314787e66c6e4788822aa230dc04177 /ansible/roles/nginx/defaults/main.yml
parent171c3dc7dd5a9cdc25651812dc716174c38d5f06 (diff)
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>
Diffstat (limited to 'ansible/roles/nginx/defaults/main.yml')
-rw-r--r--ansible/roles/nginx/defaults/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/nginx/defaults/main.yml b/ansible/roles/nginx/defaults/main.yml
index 7c9fa0be..260de9bf 100644
--- a/ansible/roles/nginx/defaults/main.yml
+++ b/ansible/roles/nginx/defaults/main.yml
@@ -19,3 +19,5 @@ nginx:
- "{{ app_data_path }}/pkg/rhel:/srv/http/repo.infra-server/rhel:rw"
- "{{ app_data_path }}/pkg/ubuntu/xenial:/srv/http/repo.infra-server/ubuntu/xenial:rw"
- /var/log/nginx:/var/log/nginx:rw
+# Default rule for tarball naming translation
+nginx_server_image_tar: "{{ nginx_server_image | regex_replace('(\\/|\\:)', '_') }}.tar"