diff options
-rw-r--r-- | clarkzjw.cc/config/atlas/ansible/roles/debian_init/tasks/main.yaml | 1 | ||||
-rw-r--r-- | clarkzjw.cc/infra/dns.tf | 11 | ||||
-rw-r--r-- | clarkzjw.cc/infra/variables.tf | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/clarkzjw.cc/config/atlas/ansible/roles/debian_init/tasks/main.yaml b/clarkzjw.cc/config/atlas/ansible/roles/debian_init/tasks/main.yaml index e53d3eb..b19610d 100644 --- a/clarkzjw.cc/config/atlas/ansible/roles/debian_init/tasks/main.yaml +++ b/clarkzjw.cc/config/atlas/ansible/roles/debian_init/tasks/main.yaml | |||
@@ -17,6 +17,7 @@ | |||
17 | - python3 | 17 | - python3 |
18 | - python3-dev | 18 | - python3-dev |
19 | - python3-pip | 19 | - python3-pip |
20 | - iperf3 | ||
20 | - unzip | 21 | - unzip |
21 | - gnupg | 22 | - gnupg |
22 | - rsync | 23 | - rsync |
diff --git a/clarkzjw.cc/infra/dns.tf b/clarkzjw.cc/infra/dns.tf index 1240399..dd03076 100644 --- a/clarkzjw.cc/infra/dns.tf +++ b/clarkzjw.cc/infra/dns.tf | |||
@@ -19,6 +19,17 @@ resource "cloudflare_record" "main" { | |||
19 | proxied = true | 19 | proxied = true |
20 | } | 20 | } |
21 | 21 | ||
22 | # atlas | ||
23 | resource "cloudflare_record" "atlas" { | ||
24 | zone_id = data.cloudflare_zones.homelab_main_domain.zones[0].id | ||
25 | name = "atlas.${var.homelab_www_domain}" | ||
26 | value = var.atlas_ip | ||
27 | type = "A" | ||
28 | |||
29 | ttl = 60 | ||
30 | proxied = false | ||
31 | } | ||
32 | |||
22 | # bt | 33 | # bt |
23 | resource "cloudflare_record" "bt" { | 34 | resource "cloudflare_record" "bt" { |
24 | zone_id = data.cloudflare_zones.homelab_main_domain.zones[0].id | 35 | zone_id = data.cloudflare_zones.homelab_main_domain.zones[0].id |
diff --git a/clarkzjw.cc/infra/variables.tf b/clarkzjw.cc/infra/variables.tf index bb5b06d..856cab7 100644 --- a/clarkzjw.cc/infra/variables.tf +++ b/clarkzjw.cc/infra/variables.tf | |||
@@ -37,3 +37,9 @@ variable "proxmox_ip" { | |||
37 | type = string | 37 | type = string |
38 | sensitive = false | 38 | sensitive = false |
39 | } | 39 | } |
40 | |||
41 | variable "atlas_ip" { | ||
42 | description = "IP address for Atlas main NAS" | ||
43 | type = string | ||
44 | sensitive = false | ||
45 | } | ||