This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/roles/certstore/tasks/main.yml
fengweihao 476d255826 *更新certsor版本为防火墙统一版本
*更新tfe版本为防火墙统一版本
*增加tfe.conf缓存中间证书配置项
*修改pang_pxy.conf中kafka的topic选项
2020-01-15 12:26:54 +08:00

40 lines
974 B
YAML

---
- name: "copy redis and dependency to destination"
synchronize:
src: "{{ role_path }}/files/"
dest: "/tmp/ansible_deploy/"
#- name: "install redis"
# yum:
# name:
# - /tmp/ansible_deploy/jemalloc-3.6.0-1.el7.x86_64.rpm
# - /tmp/ansible_deploy/redis-3.2.12-2.el7.x86_64.rpm
# state: present
#- name: "enable redis"
# systemd:
# name: redis
# enabled: yes
# state: started
- name: Ensures /home/tsg exists
file: path=/home/tsg state=directory
tags: mkdir
- name: install certstore
unarchive:
src: "{{ role_path }}/files/certstore-base-online-20200108.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