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:
12
ansible/arch_wireguard/tasks/main.yml
Normal file
12
ansible/arch_wireguard/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user