summaryrefslogtreecommitdiff
path: root/roles/kni/tasks/main.yml
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2019-09-03 21:04:43 +0800
committerLu Qiuwen <[email protected]>2019-09-03 21:04:43 +0800
commit983985e92ad8525bf051c0a67fdbc16dc7c16bcc (patch)
treec0f61d50d0270b8db47e9899127205f3c4b6d1e8 /roles/kni/tasks/main.yml
parent52aef274f7d708b64154f9d3c357bcfca119a18b (diff)
同步Astana客户验证环境配置
Diffstat (limited to 'roles/kni/tasks/main.yml')
-rw-r--r--roles/kni/tasks/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/kni/tasks/main.yml b/roles/kni/tasks/main.yml
index 3f96574..c41e311 100644
--- a/roles/kni/tasks/main.yml
+++ b/roles/kni/tasks/main.yml
@@ -5,7 +5,7 @@
- name: Extract kni.tar.gz
unarchive:
- src: "{{ role_path }}/files/kni_20190630.tar.gz"
+ src: "{{ role_path }}/files/kni_20190703.tar.gz"
dest: /home/tsg
tags: extract
@@ -15,9 +15,16 @@
dest: /home/tsg/kni/conf/kni/kni.conf
tags: template
+- name: Template the main.conf
+ template:
+ src: "{{ role_path }}/templates/main.conf.j2"
+ dest: /home/tsg/kni/conf/main.conf
+ tags: template
+
- name: bootup sapp
blockinfile:
path: /etc/rc.d/rc.local
+ marker: "## {mark} bootstrap mrzcpd and kni"
block: |
systemctl start mrzcpd
systemctl start mrtunnat