commit a18d532cf8e9f85c425c0cef0cb48656928853f2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Feb 5 23:06:41 2018 +0100
Update tasks
tasks/openvpn_client.yml | 4 ++--
tasks/openvpn_client_7.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tasks/openvpn_client.yml b/tasks/openvpn_client.yml
index 5249ad5..f9b44d1 100644
--- a/tasks/openvpn_client.yml
+++ b/tasks/openvpn_client.yml
@@ -1,7 +1,7 @@
---
# openvpn - ftw - or something
- name: install openvpn
- yum: name=openvpn state=present
+ package: name=openvpn state=present
tags:
- packages
@@ -41,7 +41,7 @@
- restart openvpn
- name: enable openvpn service for rhel 6
- service: name=openvpn state=running enabled=true
+ service: name=openvpn state=started enabled=true
tags:
- service
when: ansible_distribution_major_version|int == 6
diff --git a/tasks/openvpn_client_7.yml b/tasks/openvpn_client_7.yml
index 59b659c..e2e8650 100644
--- a/tasks/openvpn_client_7.yml
+++ b/tasks/openvpn_client_7.yml
@@ -1,7 +1,7 @@
---
# openvpn - ftw - or something
- name: install openvpn
- yum: name=openvpn state=present
+ package: name=openvpn state=present
tags:
- packages
@@ -41,6 +41,6 @@
- restart openvpn 7
- 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
tags:
- service
Show replies by date