晚上服务器部署模式

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,12 +3,14 @@
src: "{{ role_path }}/files/maat-redis.service"
dest: "/usr/lib/systemd/system"
mode: 0644
when: tsg_cluster_mode == 1
- name: "Template the kni.conf"
- name: "Template the maat-redis.conf"
template:
src: "{{ role_path }}/templates/maat-redis.conf.j2"
dest: /etc/maat-redis.conf
tags: template
when: tsg_cluster_mode == 1
- name: "start maat-redis"
systemd:
@@ -16,3 +18,4 @@
state: started
daemon_reload: yes
enabled: yes
when: tsg_cluster_mode == 1