Install wireguard tools before provisioning config
This commit is contained in:
parent
c1319a134a
commit
188b7c9dd6
1 changed files with 8 additions and 8 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
- name: Install wireguard tools
|
||||||
|
package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
become: true
|
||||||
|
loop:
|
||||||
|
- wireguard-tools
|
||||||
|
- qrencode
|
||||||
|
|
||||||
- name: Wireguard server config
|
- name: Wireguard server config
|
||||||
template:
|
template:
|
||||||
src: files/wireguard-server.conf
|
src: files/wireguard-server.conf
|
||||||
|
@ -46,11 +54,3 @@
|
||||||
reload: true
|
reload: true
|
||||||
sysctl_file: /etc/sysctl.d/99-sysctl.conf
|
sysctl_file: /etc/sysctl.d/99-sysctl.conf
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install wireguard tools
|
|
||||||
package:
|
|
||||||
name: "{{ item }}"
|
|
||||||
become: true
|
|
||||||
loop:
|
|
||||||
- wireguard-tools
|
|
||||||
- qrencode
|
|
||||||
|
|
Loading…
Reference in a new issue