change state=running to start=started as the old one is going away in ansible 2.7

This commit is contained in:
Kevin Fenzi 2017-04-13 01:37:21 +00:00
parent feead615f2
commit 8a6e51a9a6
40 changed files with 52 additions and 52 deletions

View file

@ -49,7 +49,7 @@
- openvpn
- name: enable openvpn service for rhel 7 or Fedora
service: name=openvpn@openvpn state=running enabled=true
service: name=openvpn@openvpn state=started enabled=true
when: ( ansible_distribution_version[0] == 7 or is_fedora is defined ) and openvpn_master is defined
tags:
- service