Copy openvpn config.

This commit is contained in:
yohan 2024-06-15 17:48:54 +02:00
parent cb66d3912c
commit 3227b5a237

View File

@ -25,6 +25,16 @@
changed_when: false
become: true
- name: Copy openvpn config
ansible.builtin.copy:
src: "{{ remote_workdir }}/config/{{ item }}"
dest: "/mnt/volumes/openvpn-server_conf/{{ item }}"
remote_src: yes
become: true
with_items:
- ccd
- server.conf
- name: Fix permissions
ansible.builtin.file:
path: "/mnt/volumes/openvpn-server_conf"