Add linux support for the zrepl role.
This commit is contained in:
parent
87c6ad5c5a
commit
b1532c38cc
1
ansible/roles/zrepl/files/rc.conf
Normal file
1
ansible/roles/zrepl/files/rc.conf
Normal file
@ -0,0 +1 @@
|
||||
zrepl_enable="YES"
|
@ -8,7 +8,7 @@
|
||||
file:
|
||||
name: "{{ item }}"
|
||||
state: directory
|
||||
mode: 0750
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
|
@ -0,0 +1,10 @@
|
||||
- name: Enable services
|
||||
copy:
|
||||
src: "files/{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- src: rc.conf
|
||||
dest: /etc/rc.conf.d/zrepl
|
@ -0,0 +1,7 @@
|
||||
- name: Enable services
|
||||
systemd:
|
||||
enabled: yes
|
||||
name: "{{ item }}"
|
||||
daemon_reload: yes
|
||||
loop:
|
||||
- zrepl.service
|
Loading…
x
Reference in New Issue
Block a user