Install wireguard tools before provisioning config

This commit is contained in:
Jake Howard 2022-01-21 20:29:34 +00:00
parent c1319a134a
commit 188b7c9dd6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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