同步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

@@ -0,0 +1,22 @@
---
- name: Ensures /home/tsg exists
file: path=/home/tsg state=directory
tags: mkdir
- name: install certstore
unarchive:
src: "{{ role_path }}/files/certstore-base-online-20190701.tar.gz"
dest: /home/tsg
- name: template certstore configure file
template:
src: "{{ role_path }}/templates/cert_store.ini.j2"
dest: /home/tsg/certstore-base/conf/cert_store.ini
- name: bootup certstore
blockinfile:
marker: "## {mark} bootstrap certstore"
path: /etc/rc.d/rc.local
block: |
cd /home/tsg/certstore-base; ./r2_certstore