晚上服务器部署模式
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user