aboutsummaryrefslogtreecommitdiffstats
path: root/host_vars/dc0/main.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:44:08 +0200
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit35498e61b26112b56dac4cdda213ebd69bca30b9 (patch)
tree996006ab542948069d37ac6459977cb0f8cf8631 /host_vars/dc0/main.yml
parent0c70ea19a91fa28cc5f97364ce1276ad5ae6f898 (diff)
downloadrules-35498e61b26112b56dac4cdda213ebd69bca30b9.tar.gz
feat: ansible-vault with gopass + granular host_vars and group_vars
Diffstat (limited to 'host_vars/dc0/main.yml')
-rw-r--r--host_vars/dc0/main.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/host_vars/dc0/main.yml b/host_vars/dc0/main.yml
new file mode 100644
index 0000000..2c7461a
--- /dev/null
+++ b/host_vars/dc0/main.yml
@@ -0,0 +1,46 @@
+---
+
+ansible_port: 71
+
+httpd_use_nfs: false
+git_dir: /var/www/data/git
+sshd_listen_port: "{{ ansible_port }}"
+relayd_connected_hosts: servers
+acme_connected_hosts: servers
+
+cgit_listen_port: 1235
+cgit_domain_name: git.rgoncalves.se
+cgit_favicon_url: "https://{{ __domain_name }}/img/favicon.ico"
+cgit_logo_url: "https://{{ __domain_name }}/img/favicon.ico"
+cgit_css_url: "https://{{ __domain_name }}/style/cgit.css"
+cgit_description: development hub
+cgit_readme_url: https://{{ __domain_name }}"
+
+__is_vm: true
+
+__ip:
+ external: 185.203.114.234
+ internal: 10.10.0.1
+
+__services:
+ - name: ssh
+ protocol: tcp
+ port: 22
+
+ - name: wireguard
+ protocol: udp
+ port: 53
+
+ - name: http
+ domain: rgoncalves.se
+ protocol: tcp
+ port: 80
+
+ - name: https
+ protocol: tcp
+ port: 443
+
+ - name: git
+ domain: "{{ cgit_domain_name }}"
+ protocol: tcp
+ port: "{{ cgit_listen_port }}"
remember that computers suck.