This is now fixed in a systemd update in rhel7.1 so drop the workaround
This commit is contained in:
parent
23475987a6
commit
05e35e953d
1 changed files with 1 additions and 16 deletions
|
@ -38,23 +38,8 @@
|
||||||
- service
|
- service
|
||||||
- openvpn
|
- 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
|
- 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'
|
when: ansible_distribution_major_version == '7'
|
||||||
tags:
|
tags:
|
||||||
- service
|
- service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue