aboutsummaryrefslogtreecommitdiffstats
path: root/host_vars
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-06-29 19:29:20 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-06-30 17:00:40 +0200
commitdc436c6b84318d938679812ae78ae3ac96bf0a84 (patch)
treecd8a60ca75e52ca784494270402d814cc88f10ce /host_vars
parent149c5daa025fed2b0ccf95a6691480748f696413 (diff)
downloadrules-dc436c6b84318d938679812ae78ae3ac96bf0a84.tar.gz
feat(inventory): add local-hvisor-01 server
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/ams-dcontroller-01.yml3
-rw-r--r--host_vars/local-hvisor-01.yml34
2 files changed, 34 insertions, 3 deletions
diff --git a/host_vars/ams-dcontroller-01.yml b/host_vars/ams-dcontroller-01.yml
index 57d6170..4e69ddd 100644
--- a/host_vars/ams-dcontroller-01.yml
+++ b/host_vars/ams-dcontroller-01.yml
@@ -16,9 +16,6 @@ cgit__css_url: "https://{{ __domain_name }}/styles/cgit.css"
cgit__description: development hub
cgit__readme_url: https://{{ __domain_name }}"
-nextcloud__listen_port: 8003
-nextcloud__domain_name: cloud.rgoncalves.se
-
__ip:
external: 46.23.91.150
internal: 10.10.0.1
diff --git a/host_vars/local-hvisor-01.yml b/host_vars/local-hvisor-01.yml
new file mode 100644
index 0000000..49ab6a7
--- /dev/null
+++ b/host_vars/local-hvisor-01.yml
@@ -0,0 +1,34 @@
+---
+
+ansible_host: 192.168.1.128
+
+sshd__listen_port: "{{ ansible_port }}"
+
+nextcloud__listen_port: 8003
+nextcloud__domain_name: cloud.rgoncalves.se
+
+__ip:
+ external: 192.168.1.128
+ internal: 10.10.0.128
+
+__services:
+ - name: ssh
+ protocol: tcp
+ port: "{{ ansible_port }}"
+
+ - name: wireguard
+ protocol: udp
+ port: 53
+
+ - name: http
+ protocol: tcp
+ port: 80
+
+ - name: https
+ protocol: tcp
+ port: 443
+
+ - name: nextcloud
+ domain: "{{ nextcloud__domain_name }}"
+ protocol: tcp
+ port: "{{ nextcloud__listen_port }}"
remember that computers suck.