blob: 68469cdd7b00e5e60fd4467d1a0004bf2e760cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- name: Install stunnel4
apt: pkg=stunnel4
- name: Set 'ENABLED=0' in /etc/default/stunnel4
lineinfile: dest=/etc/default/stunnel4
regexp='^(\s*#)?\s*ENABLED='
line='ENABLED=0'
owner=root group=root
mode=0644
- name: Copy stunnel4 service file
copy: src=lib/systemd/system/{{ item }}
dest=/lib/systemd/system/{{ item }}
owner=root group=root
mode=0644
notify:
- systemctl daemon-reload
with_items:
- stunnel4.service
- stunnel4@.service
|