Copy openvpn config.
This commit is contained in:
parent
cb66d3912c
commit
3227b5a237
@ -25,6 +25,16 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
become: true
|
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
|
- name: Fix permissions
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/mnt/volumes/openvpn-server_conf"
|
path: "/mnt/volumes/openvpn-server_conf"
|
||||||
|
Loading…
Reference in New Issue
Block a user