diff --git a/.gitignore b/.gitignore index 12c8037..4420a98 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.secret host_vars inventory.yml +group_vars/all/overlay.yml +group_vars/all/vault.yml diff --git a/README.md b/README.md index 3fd4f28..25a0d0b 100644 --- a/README.md +++ b/README.md @@ -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//vars.yml`. +- Look at `group_vars/all/vars.yml`, and set needed settings in `host_vars//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. diff --git a/roles/networking/nameserver/defaults/main.yml b/roles/networking/nameserver/defaults/main.yml index a18ccc1..61e3651 100644 --- a/roles/networking/nameserver/defaults/main.yml +++ b/roles/networking/nameserver/defaults/main.yml @@ -3,5 +3,5 @@ # these are defaults # set these in host/group vars -email: dogeystamp@disroot.org +email: null dyndns_domain: null