commit | 04f409e8b611365a1b5bc749d12cfd65e53e8c79 | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun@opennetworking.org> | Thu Apr 23 13:54:39 2020 -0700 |
committer | Hyunsun Moon <hyunsun@opennetworking.org> | Thu Apr 23 13:54:39 2020 -0700 |
tree | 68efa238832f3dbb3ad7a12dc04365ff53c69cb3 | |
parent | e4237f8c5ddba65b9b5ec6791760945e5ccf6ed3 [diff] |
Make Rancher server URL configurable Change-Id: I19fbd3e5cb71e4056b16ffac5da611e3039995a9
diff --git a/aether-playbook/roles/k8s/defaults/main.yml b/aether-playbook/roles/k8s/defaults/main.yml index 6132d2f..e64dccd 100644 --- a/aether-playbook/roles/k8s/defaults/main.yml +++ b/aether-playbook/roles/k8s/defaults/main.yml
@@ -30,3 +30,5 @@ - registry.central.aetherproject.net docker_version: 18.06.3~ce~3-0~ubuntu + +rancher_server_url: https://aether.onlab.us
diff --git a/aether-playbook/roles/k8s/tasks/k8s.yml b/aether-playbook/roles/k8s/tasks/k8s.yml index 1fc73f6..1d3e90c 100644 --- a/aether-playbook/roles/k8s/tasks/k8s.yml +++ b/aether-playbook/roles/k8s/tasks/k8s.yml
@@ -42,7 +42,7 @@ --volume /etc/kubernetes:/etc/kubernetes --volume /var/run:/var/run rancher/rancher-agent:v2.3.3 - --server https://rancher.central.aetherproject.net + --server {{ rancher_server_url }} --token {{ rancher_cluster_token }} --ca-checksum {{ rancher_ca_checksum }} {{ k8s_roles }}