aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
commitdb698b595e7ff088c96d00ef5285a0d634aff1be (patch)
tree4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/relayd
parentee3e324680a15d59429b1a2a0615fe787d169068 (diff)
downloadrules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/relayd')
-rw-r--r--roles/relayd/defaults/main.yml2
-rw-r--r--roles/relayd/handlers/main.yml2
-rw-r--r--roles/relayd/tasks/main.yml2
3 files changed, 6 insertions, 0 deletions
diff --git a/roles/relayd/defaults/main.yml b/roles/relayd/defaults/main.yml
index 174a889..7171f53 100644
--- a/roles/relayd/defaults/main.yml
+++ b/roles/relayd/defaults/main.yml
@@ -1,3 +1,5 @@
+---
+
relayd_configuration_file: /etc/relayd.conf
relayd_domain_name: example.com
relayd_transparent: true
diff --git a/roles/relayd/handlers/main.yml b/roles/relayd/handlers/main.yml
index 5bc6b49..58e1171 100644
--- a/roles/relayd/handlers/main.yml
+++ b/roles/relayd/handlers/main.yml
@@ -1,2 +1,4 @@
+---
+
- name: lint relayd configuration
ansible.builtin.command: "relayd -nf {{ relayd_configuration_file }}"
diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml
index 0396789..35b456d 100644
--- a/roles/relayd/tasks/main.yml
+++ b/roles/relayd/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
- name: generate relayd configuration
ansible.builtin.template:
src: relayd.conf.j2
remember that computers suck.