This is now fixed in a systemd update in rhel7.1 so drop the workaround

This commit is contained in:
Kevin Fenzi 2015-04-22 14:40:57 +00:00
parent 23475987a6
commit 05e35e953d

View file

@ -38,23 +38,8 @@
- service
- openvpn
#
# this is a workaround for a rhel7.1 bug:
# https://bugzilla.redhat.com/show_bug.cgi?id=1206007
# Go back to using the service module when thats fixed.
#
- name: enable openvpn service for rhel 7.1
file: state=link src=/usr/lib/systemd/system/openvpn@.service dest=/etc/systemd/system/multi-user.target.wants/openvpn@.service owner=root group=root
when: ansible_distribution_major_version == '7'
notify:
- reload systemd
tags:
- service
- openvpn
- name: Make sure openvpn is running in rhel 7.1
service: name=openvpn@openvpn state=running
service: name=openvpn@openvpn state=running enabled=true
when: ansible_distribution_major_version == '7'
tags:
- service