aboutsummaryrefslogtreecommitdiffstats
path: root/group_vars
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-17 21:59:58 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-21 17:19:46 +0100
commit8ce56f15e0751870b56805010241dcfe8389b10f (patch)
tree5cb2c136ea8d829c93810d908e63501ff79afd6e /group_vars
parent783cfa8469c7922f787305e15e95c0619479744b (diff)
downloadrules-8ce56f15e0751870b56805010241dcfe8389b10f.tar.gz
refactor: remove global __services from roles
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/all.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml
index 808f4de..63697e8 100644
--- a/group_vars/all.yml
+++ b/group_vars/all.yml
@@ -1,13 +1,22 @@
---
+# ansible overrides
+
ansible_hostname: "{{ ansible_host }}"
ansible_become_method: su
+# roles overrides
+
wireguard_domain_controller: "{{ __global_domain_controller }}"
relayd_domain_name: "{{ __global_domain_name }}"
acme_domain_name: "{{ __global_domain_name }}"
nfsclient_server: stack0
httpd_use_nfs: true
+relayd_rules: "{{ __services }}"
+pf_rules: "{{ __services }}"
+acme_rules: "{{ __services }}"
+
+# playbook specific
__is_vm: false
@@ -33,11 +42,3 @@ __global_services:
protocol: tcp
port: 8000
is_public: true
-
-# __services:
-# - domain: status.test
-# is_public: true
-# port: 120
-# protocols:
-# - tcp
-# - udp
remember that computers suck.