Move notes to webserver role, add new webserver, add dns entries

This commit is contained in:
2026-02-20 21:16:48 -07:00
parent a44d10810b
commit a69d0448e2
5 changed files with 16 additions and 10 deletions

View File

@@ -0,0 +1,6 @@
nginx_ssl_enabled: true
static_site: true
letsencrypt_email: "me@jthan.io"
linode_dns_token: "{{ lookup('bitwarden.secrets.lookup', '8849d676-e53e-4aef-a7e6-b3dc014dd698') }}"

View File

@@ -1,9 +1,15 @@
private_domains: private_domains:
- name: jthan.io - name: jthan.io
records: records:
- type: A
name: "jthan.io"
value: "192.168.1.17"
- type: A - type: A
name: "notes.jthan.io" name: "notes.jthan.io"
value: "192.168.1.16" value: "192.168.1.16"
- type: AAAA
name: "jthan.io"
value: "2602:fb57:c20:b00:be24:11ff:feac:6536"
- type: AAAA - type: AAAA
name: "notes.jthan.io" name: "notes.jthan.io"
value: "2602:fb57:c20:b00:be24:11ff:fe8b:f6db" value: "2602:fb57:c20:b00:be24:11ff:fe8b:f6db"

View File

@@ -22,5 +22,6 @@ irc.home.jthan.io
[syncthing] [syncthing]
syncthing.home.jthan.io syncthing.home.jthan.io
[notes] [webservers]
notes.jthan.io ansible_host=192.168.1.16 notes.jthan.io ansible_host=192.168.1.16
jthan.io ansible_host=192.168.1.17

View File

@@ -1,8 +0,0 @@
---
# file: notes.yaml
- hosts: notes
roles:
- common
- ldap_client
- lego
- nginx

View File

@@ -3,5 +3,6 @@
- hosts: webservers - hosts: webservers
roles: roles:
- common - common
- nginx - ldap_client
- lego - lego
- nginx