Commit 22202bf7 authored by klara.mall's avatar klara.mall

temporary remove of openvpn and odr installation

parent bd2d0348
......@@ -25,6 +25,7 @@
src: "/usr/sbin/odr-ovpn-connect"
dest: "/etc/openvpn/odr-ovpn-connect_{{ item.name }}"
state: link
force: yes
with_items:
- "{{ openvpn_tap_instances | default([]) }}"
......
......@@ -15,19 +15,19 @@
dest: "{{ openvpn_configuration_path }}/vpn-l2-up"
mode: 0744
- name: enable openvpn l2 instances
systemd:
name: openvpn@{{ item.name }}.service
state: started
enabled: yes
register: l2_enabled
with_items:
- "{{ openvpn_tap_instances | default([]) }}"
- name: reload openvpn l2 services
systemd:
name: openvpn@{{ item.name }}.service
state: restarted
with_items:
- "{{ openvpn_tap_instances | default([]) }}"
when: l2_configuration.changed
#- name: enable openvpn l2 instances
# systemd:
# name: openvpn@{{ item.name }}.service
# state: started
# enabled: yes
# register: l2_enabled
# with_items:
# - "{{ openvpn_tap_instances | default([]) }}"
#
#- name: reload openvpn l2 services
# systemd:
# name: openvpn@{{ item.name }}.service
# state: restarted
# with_items:
# - "{{ openvpn_tap_instances | default([]) }}"
# when: l2_configuration.changed
......@@ -46,6 +46,15 @@
- /var/lib/openvpn
- /etc/ssl/ovpn
# temporary (when packages are not installed)
- file:
path: "{{ item }}"
state: directory
owner: openvpn
with_items:
- /etc/openvpn
- /var/log/odr
- name: copy dh file
copy:
src: dh4096.pem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment