diff --git a/ansible/inventories/production/host_vars/jthan.io/vars.yaml b/ansible/inventories/production/host_vars/jthan.io/vars.yaml new file mode 100644 index 0000000..eae8002 --- /dev/null +++ b/ansible/inventories/production/host_vars/jthan.io/vars.yaml @@ -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') }}" + diff --git a/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml b/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml index 97e3f51..da5959e 100644 --- a/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml +++ b/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml @@ -1,9 +1,15 @@ private_domains: - name: jthan.io records: + - type: A + name: "jthan.io" + value: "192.168.1.17" - type: A name: "notes.jthan.io" value: "192.168.1.16" + - type: AAAA + name: "jthan.io" + value: "2602:fb57:c20:b00:be24:11ff:feac:6536" - type: AAAA name: "notes.jthan.io" value: "2602:fb57:c20:b00:be24:11ff:fe8b:f6db" diff --git a/ansible/inventories/production/hosts.ini b/ansible/inventories/production/hosts.ini index 1104f4a..18d37ee 100644 --- a/ansible/inventories/production/hosts.ini +++ b/ansible/inventories/production/hosts.ini @@ -22,5 +22,6 @@ irc.home.jthan.io [syncthing] syncthing.home.jthan.io -[notes] +[webservers] notes.jthan.io ansible_host=192.168.1.16 +jthan.io ansible_host=192.168.1.17 diff --git a/ansible/notes.yaml b/ansible/notes.yaml deleted file mode 100644 index 0e244dc..0000000 --- a/ansible/notes.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# file: notes.yaml -- hosts: notes - roles: - - common - - ldap_client - - lego - - nginx diff --git a/ansible/webservers.yaml b/ansible/webservers.yaml index 86c04e3..2c2615e 100644 --- a/ansible/webservers.yaml +++ b/ansible/webservers.yaml @@ -3,5 +3,6 @@ - hosts: webservers roles: - common - - nginx + - ldap_client - lego + - nginx