aboutsummaryrefslogtreecommitdiff
path: root/group_vars
diff options
context:
space:
mode:
authorKumar <kumar@kumardamani.xyz>2021-11-23 14:59:08 +0000
committerKumar Damani <me@kumardamani.net>2022-03-25 19:45:25 +0000
commita857eb82ec9c4a79ad5e41462e2ab82c2660982e (patch)
tree9ca51ddfb551322bd4d2fa3f949fa8898032632d /group_vars
initial commit
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/all/vars.yaml27
-rw-r--r--group_vars/all/vault.example16
2 files changed, 43 insertions, 0 deletions
diff --git a/group_vars/all/vars.yaml b/group_vars/all/vars.yaml
new file mode 100644
index 0000000..f5c2645
--- /dev/null
+++ b/group_vars/all/vars.yaml
@@ -0,0 +1,27 @@
+---
+
+# the wildcard domain under which all apps will be hosted.
+apps_domain: 'kumardamani.net'
+
+# defines the confs for each app we are going to install.
+apps_conf_map:
+ nextcloud:
+ port: 31900
+ access_domain: 'files.{{ apps_domain }}'
+ prometheus:
+ port: 9090
+ access_domain: 'metrics.{{ apps_domain }}'
+ bitwarden:
+ port: 31901
+ access_domain: 'vault.{{ apps_domain }}'
+
+# list all static websites you plan to host here.
+nginx_websites:
+ - name: 'kumardamani.net'
+ git_url: 'https://{{ (git_user|default(None)) | urlencode() }}:{{ (git_pass|default(None)) | urlencode() }}@gitlab.com/kdam0/kumardamani.net.git' # noqa yaml
+ git_version: 'main'
+ - name: 'amayastuff.com'
+ git_url: 'https://{{ (git_user|default(None)) | urlencode() }}:{{ (git_pass|default(None)) | urlencode() }}@gitlab.com/kdam0/amayastuff.com.git' # noqa yaml
+ git_version: 'main'
+
+vpn_domain: 'kdvpn.crabdance.com'
diff --git a/group_vars/all/vault.example b/group_vars/all/vault.example
new file mode 100644
index 0000000..8dc5545
--- /dev/null
+++ b/group_vars/all/vault.example
@@ -0,0 +1,16 @@
+$ANSIBLE_VAULT;1.1;AES256
+33646338366162383266356237656436666231633439663936303263333261386436653331656330
+3666623261626263366232646631633763303363356239640a656165643764393864353137323037
+37343237306361633834366236353539376162373262373161656236616533323633376230666239
+6337306438373536650a373330386330346665643936393839626561383933363031626564343066
+64363335613139323735653230633262396533623065356439356533663631613033356635366163
+65613632623933313734643765373966633231633838306339323461653533386134653239623966
+37393133613836653232613130366535616435333130333332313832363636623066373635626561
+39313238353264336435313735646363326330613538613664363436323362363730663433363833
+61323535306665316664643231306665663665626331356330623265353062353262356661653137
+66643565653934626161326261373934323162386562303265393834393238373566313566383164
+35343438353363326439613462343237303735346134613061323531663534346531356465323964
+61353630373336333131353135623165633365323135383932326562653135633566346165623137
+33306266326238303130393332306463363866656239666130313665333466653631626564346534
+33393434366135633039363935383333363461333835333933346536396364636138356266623965
+373233303165616238303463666635396164