Move arch_wireguard to its own role

Wireguard will eventually require more complex configration. Moving to
its own role for that eventual expansion.
This commit is contained in:
ducoterra
2022-02-01 11:05:31 -05:00
parent c8396037db
commit 81a0007028
11 changed files with 147 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
---
# Wireguard Configuration
- name: Ensure wireguard-tools installed
community.general.pacman:
name: wireguard-tools
state: present
become: yes
- name: Ensure /etc/wireguard directory
file:
path: /etc/wireguard
state: directory
become: yes