Adjust the openvpn handler automatically to the distribution used

This commit is contained in:
Pierre-Yves Chibon 2014-08-01 12:35:05 +02:00
parent 00e9c9737f
commit 7f30c0fc7a
3 changed files with 9 additions and 0 deletions

View file

@ -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] }}