Changing version control for rancher 16/84316/3
authorTomáš Levora <t.levora@partner.samsung.com>
Fri, 5 Apr 2019 09:25:01 +0000 (11:25 +0200)
committerTomáš Levora <t.levora@partner.samsung.com>
Fri, 5 Apr 2019 13:16:55 +0000 (15:16 +0200)
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>
ansible/group_vars/infrastructure.yml
ansible/roles/rancher/tasks/rancher_server.yml

index d4df2df..8784ea3 100755 (executable)
@@ -24,9 +24,9 @@ simulated_hosts:
     - registry.npmjs.org
 all_simulated_hosts:
     "{{ simulated_hosts.git + simulated_hosts.http + simulated_hosts.nexus }}"
-rancher_server_version: v1.6.22
 populate_nexus: false
 helm_bin_dir: /usr/local/bin
+rancher_server_image: rancher/server:v1.6.22
 vnc_server_image: consol/centos-icewm-vnc:1.4.0
 nexus3_image: sonatype/nexus3:3.15.2
 dns_server_image: andyshinn/dnsmasq:2.76
index ebee6cc..e1eb5a5 100644 (file)
@@ -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