晚上服务器部署模式

This commit is contained in:
fumingwei
2021-01-29 19:41:26 +08:00
parent 5267b73590
commit bcf5049ecb
21 changed files with 262 additions and 97 deletions

View File

@@ -3,22 +3,22 @@
src: "{{ role_path }}/files/"
dest: "/tmp/ansible_deploy/"
- name: Ensures /opt/tsg exists
- name: "Ensures /opt/tsg exists"
file: path=/opt/tsg state=directory
tags: mkdir
- name: install certstore
- name: "install certstore"
yum:
name:
- /tmp/ansible_deploy/certstore-2.1.3.202010.81eef83-1.el7.x86_64.rpm
state: present
- name: template certstore configure file
- name: "template certstore configure file"
template:
src: "{{ role_path }}/templates/cert_store.ini.j2"
dest: /opt/tsg/certstore/conf/cert_store.ini
- name: template certstore zlog file
- name: "template certstore zlog file"
template:
src: "{{ role_path }}/templates/zlog.conf.j2"
dest: /opt/tsg/certstore/conf/zlog.conf