diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-01-23 17:10:58 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-01-23 17:10:58 +0800 |
commit | 280b401e7eb80b1ef47b0bfbc694e27930b096a2 (patch) | |
tree | 0c8a5171e743afcbb574b1fc03f3a0f307799112 /deploy/compass_conf | |
parent | 24e25de8fc981e3b33ffaa71e76f27dedcf6b89e (diff) |
Use run_dir instead of hard coding
Cluster name now can be set in DHA file
which makes ansible dir changeable. Use
run_dir variable to point to correct dir.
Change-Id: I673b0b472b86ce505a8ea29ce4fb3666b4b991bd
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf')
-rw-r--r-- | deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl b/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl index 440bf7d7..87ddea49 100644 --- a/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl +++ b/deploy/compass_conf/templates/ansible_installer/kubernetes/vars/ansible-kubernetes.tmpl @@ -23,6 +23,8 @@ #set kube_masters = $getVar('kube_master', []) #set kube_nodes = $getVar('kube_node', []) +run_dir: $getVar('run_dir', '') + enable_secgroup: $getVar('enable_secgroup', True) enable_fwaas: $getVar('enable_fwaas', True) enable_vpnaas: $getVar('enable_vpnaas', True) |