同步Astana客户验证环境配置

This commit is contained in:
Lu Qiuwen
2019-09-03 21:04:43 +08:00
parent 52aef274f7
commit 983985e92a
28 changed files with 293 additions and 32 deletions

View File

@@ -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