fix bug in deploy

This commit is contained in:
fumingwei
2020-10-27 12:14:25 +06:00
parent dc9336ae26
commit bda0faa7ff
44 changed files with 1676 additions and 100 deletions

View File

@@ -0,0 +1,18 @@
- name: "copy maat-redis file to dest"
copy:
src: "{{ role_path }}/files/maat-redis.service"
dest: "/usr/lib/systemd/system"
mode: 0644
- name: "Template the kni.conf"
template:
src: "{{ role_path }}/templates/maat-redis.conf.j2"
dest: /etc/maat-redis.conf
tags: template
- name: "start maat-redis"
systemd:
name: maat-redis.service
state: started
daemon_reload: yes
enabled: yes