This commit is contained in:
dogeystamp 2023-09-09 11:45:54 -04:00
parent f29eae7f1e
commit e4e5aece14
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 7 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.secret
host_vars
inventory.yml
group_vars/all/overlay.yml
group_vars/all/vault.yml

View File

@ -2,11 +2,11 @@
- Install required packages:
- sshpass
- python-passlib
- Copy `inventory.example.yml` to `inventory.yml`, modifying fields as adequate.
- Look at `group_vars/all/vars.yml`, and set needed settings in `host_vars/<hostname>/vars.yml`.
- Look at `group_vars/all/vars.yml`, and set needed settings in `host_vars/<hostname>/vars.yml`, or `group_vars/all/overlay.yml`.
- Look at the following roles, and for each of them override their `defaults/vars.yml` in host or group vars:
- `networking/connection`
- `networking/ddclient`
- `networking/nameserver`
- `caddy`
- `containers`
@ -16,8 +16,8 @@
- `website`
- Create vault for secrets:
```
ansible-vault create host_vars/[hostname]/vault.yml
ansible-vault edit host_vars/[hostname]/vault.yml
ansible-vault create group_vars/all/vault.yml
ansible-vault edit group_vars/all/vault.yml
```
Copy-paste `group_vars/all/secret_template.yml` into this vault,
and modify as needed.

View File

@ -3,5 +3,5 @@
# these are defaults
# set these in host/group vars
email: dogeystamp@disroot.org
email: null
dyndns_domain: null