2、同步修改deploy.yml 3、为tsgconf/main.conf增加一个kafka的动态配置 4、修改tfe.conf中mc_default_eth的动态配置变量 5、原certstore中的r2、r3文件含有dos字符,修复该问题
27 lines
697 B
YAML
27 lines
697 B
YAML
---
|
|
- name: "copy redis and dependency to destination"
|
|
synchronize:
|
|
src: "{{ role_path }}/files/"
|
|
dest: "/tmp/ansible_deploy/"
|
|
|
|
- name: Ensures /home/tsg exists
|
|
file: path=/home/tsg state=directory
|
|
tags: mkdir
|
|
|
|
- name: install certstore
|
|
unarchive:
|
|
src: "{{ role_path }}/files/certstore-base-online-20200119.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
|