summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/stunnel.yml
blob: 1522f1f6f50761b9c08aa9b77d57e4929318b48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- name: Install stunnel4
  apt: pkg=stunnel4

- name: Copy stunnel4 service files
  copy: src=etc/systemd/system/{{ item }}
        dest=/etc/systemd/system/{{ item }}
        owner=root group=root
        mode=0644
  notify:
    - systemctl daemon-reload
  with_items:
    - stunnel4.service
    - stunnel4@.service

- name: Disable stunnel4 service
  service: name=stunnel4.service enabled=false