mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-16 11:40:28 +08:00
Adjust the openvpn handler automatically to the distribution used
This commit is contained in:
@@ -21,4 +21,6 @@
|
||||
mode: 0644 }
|
||||
tags:
|
||||
- install
|
||||
notify:
|
||||
- restart openvpn {{ ansible_distribution_version[0] }}
|
||||
|
||||
|
||||
@@ -24,4 +24,6 @@
|
||||
mode: 0600 }
|
||||
tags:
|
||||
- install
|
||||
notify:
|
||||
- restart openvpn {{ ansible_distribution_version[0] }}
|
||||
|
||||
|
||||
@@ -35,7 +35,12 @@
|
||||
mode: 0644 }
|
||||
tags:
|
||||
- install
|
||||
notify:
|
||||
- restart openvpn {{ ansible_distribution_version[0] }}
|
||||
|
||||
|
||||
- name: Install the ccd files
|
||||
file: file src={{ files }}/ccd/ dest=/etc/openvpn/ccd/ recurse=true
|
||||
notify:
|
||||
- restart openvpn {{ ansible_distribution_version[0] }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user