summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-04-05 11:25:01 +0200
committerTomáš Levora <t.levora@partner.samsung.com>2019-04-05 15:16:55 +0200
commit21c39f054da6f656719a9ae076d08f2363bf40aa (patch)
tree912a76be97dbd03db12dbce1b8c7939768117a57 /ansible/roles
parentd76d4e5948969fe0266645df7e06f973fdb9b44b (diff)
Changing version control for rancher
Changing the way of version control for rancher in accordance with patchset #83634 Issue-ID: OOM-1767 Change-Id: I67f08dcf47f469c35da9a62ff435e187fae07724 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/rancher/tasks/rancher_server.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/rancher/tasks/rancher_server.yml b/ansible/roles/rancher/tasks/rancher_server.yml
index ebee6cc7..e1eb5a5d 100644
--- a/ansible/roles/rancher/tasks/rancher_server.yml
+++ b/ansible/roles/rancher/tasks/rancher_server.yml
@@ -1,9 +1,9 @@
---
# DO NOT ADD SPACE AROUND ';'
-- name: Start rancher/server:{{ rancher_server_version }}
+- name: Start rancher server container
docker_container:
name: rancher-server
- image: rancher/server:{{ rancher_server_version }}
+ image: "{{ rancher_server_image }}"
command: ["sh", "-c", "/usr/sbin/update-ca-certificates;/usr/bin/entry /usr/bin/s6-svscan /service"]
ports: 8080:8080
state: started