aboutsummaryrefslogtreecommitdiffstats
path: root/host_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 /host_vars
parent783cfa8469c7922f787305e15e95c0619479744b (diff)
downloadrules-8ce56f15e0751870b56805010241dcfe8389b10f.tar.gz
refactor: remove global __services from roles
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/dc0.yml10
-rw-r--r--host_vars/stack0-dev0.yml7
2 files changed, 6 insertions, 11 deletions
diff --git a/host_vars/dc0.yml b/host_vars/dc0.yml
index fc9b3cc..80c7ef5 100644
--- a/host_vars/dc0.yml
+++ b/host_vars/dc0.yml
@@ -13,23 +13,23 @@ __ip:
internal: 10.10.0.1
__services:
- - name: ssh
+ ssh:
protocol: tcp
port: 22
- - name: wireguard
+ wireguard:
protocol: udp
port: 53
- - name: http
+ http:
protocol: tcp
port: 80
- - name: https
+ https:
protocol: tcp
port: 443
- - name: cgit
+ cgit:
domain: git
protocol: tcp
port: 1235
diff --git a/host_vars/stack0-dev0.yml b/host_vars/stack0-dev0.yml
index 905627a..fe6204c 100644
--- a/host_vars/stack0-dev0.yml
+++ b/host_vars/stack0-dev0.yml
@@ -7,11 +7,6 @@ __ip:
internal: 10.10.0.61
__services:
- - name: ssh
+ ssh:
protocol: tcp
port: 22
-
-# - name: cgit
-# domain: git
-# protocol: tcp
-# port: 1235
remember that computers suck.