style: Add ansible-lint
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
0063f2157c
commit
38fef42aa6
23 changed files with 128 additions and 58 deletions
|
@ -2,22 +2,24 @@
|
|||
- name: Install OpenVPN
|
||||
ansible.builtin.apt:
|
||||
name: openvpn
|
||||
state: latest
|
||||
|
||||
- name: Deploy OpenVPN configuration
|
||||
ansible.builtin.template:
|
||||
src: openvpn/client.conf.j2
|
||||
dest: /etc/openvpn/client.conf
|
||||
mode: '0644'
|
||||
|
||||
- name: Deploy OpenVPN CA cert
|
||||
ansible.builtin.copy:
|
||||
content: "{{ openvpn_ca }}"
|
||||
dest: /etc/openvpn/ca.crt
|
||||
mode: '0644'
|
||||
|
||||
- name: Deploy OpenVPN TLS auth
|
||||
ansible.builtin.copy:
|
||||
content: "{{ openvpn_ta }}"
|
||||
dest: /etc/openvpn/ta.key
|
||||
mode: '0600'
|
||||
|
||||
- name: Deploy OpenVPN client cert
|
||||
ansible.builtin.copy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue