aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wireguard/tasks')
-rw-r--r--roles/wireguard/tasks/configuration.yml2
-rw-r--r--roles/wireguard/tasks/cron.yml2
-rw-r--r--roles/wireguard/tasks/keys.yml2
-rw-r--r--roles/wireguard/tasks/main.yml2
-rw-r--r--roles/wireguard/tasks/service.yml2
5 files changed, 10 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/configuration.yml b/roles/wireguard/tasks/configuration.yml
index 6925e2a..610c191 100644
--- a/roles/wireguard/tasks/configuration.yml
+++ b/roles/wireguard/tasks/configuration.yml
@@ -1,3 +1,5 @@
+---
+
- name: generate wireguard configuration
ansible.builtin.template:
src: wireguard.conf.j2
diff --git a/roles/wireguard/tasks/cron.yml b/roles/wireguard/tasks/cron.yml
index 482b34f..dd70e5c 100644
--- a/roles/wireguard/tasks/cron.yml
+++ b/roles/wireguard/tasks/cron.yml
@@ -1,3 +1,5 @@
+---
+
- name: add cronjob for keepalive
ansible.builtin.cron:
name: keepalive network traffic to domain controller
diff --git a/roles/wireguard/tasks/keys.yml b/roles/wireguard/tasks/keys.yml
index 128d943..ee42408 100644
--- a/roles/wireguard/tasks/keys.yml
+++ b/roles/wireguard/tasks/keys.yml
@@ -1,3 +1,5 @@
+---
+
- name: generate hosts keys
ansible.builtin.shell: |
set -o pipefail
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index d780186..0e2343d 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
- name: create local wireguard directory
ansible.builtin.file:
path: "{{ wireguard_local_dir }}"
diff --git a/roles/wireguard/tasks/service.yml b/roles/wireguard/tasks/service.yml
index c9e7f60..516cee1 100644
--- a/roles/wireguard/tasks/service.yml
+++ b/roles/wireguard/tasks/service.yml
@@ -1,3 +1,5 @@
+---
+
- name: enable wireguard interface for OpenBSD
ansible.builtin.lineinfile:
path: /etc/rc.local
remember that computers suck.