summaryrefslogtreecommitdiffstats
path: root/roles/openvpn/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openvpn/tasks/main.yml')
-rw-r--r--roles/openvpn/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openvpn/tasks/main.yml b/roles/openvpn/tasks/main.yml
index df49976..11e9b94 100644
--- a/roles/openvpn/tasks/main.yml
+++ b/roles/openvpn/tasks/main.yml
@@ -19,14 +19,14 @@
register: result
- name: setup openvpn keys
- include: keys.yml
+ include_tasks: keys.yml
when: result.stat.exists == False
- name: Ensure CA key is removed
file: path="{{openvpn_keydir}}/ca.key" state=absent
- name: setup openvpn configuration
- include: config.yml
+ include_tasks: config.yml
- name: Ensure OpenVPN service is enabled
service: name="{{openvpn_service}}" enabled=yes