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/cert-redis/tasks/main.yml
zhangzhihan 05b56cb4ec update
2020-09-21 18:33:10 +08:00

16 lines
327 B
YAML

- name: "copy cert-redis to destination server"
copy:
src: "{{ role_path }}/files/"
dest: /opt/tsg
mode: 0755
- name: "install cert-redis"
shell: cd /opt/tsg/cert-redis;sh install.sh
- name: "start cert-redis"
systemd:
name: cert-redis.service
state: started
daemon_reload: yes
enabled: yes