fix vars
This commit is contained in:
parent
f29eae7f1e
commit
e4e5aece14
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
*.secret
|
||||
host_vars
|
||||
inventory.yml
|
||||
group_vars/all/overlay.yml
|
||||
group_vars/all/vault.yml
|
||||
|
@ -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.
|
||||
|
@ -3,5 +3,5 @@
|
||||
# these are defaults
|
||||
# set these in host/group vars
|
||||
|
||||
email: dogeystamp@disroot.org
|
||||
email: null
|
||||
dyndns_domain: null
|
||||
|
Loading…
Reference in New Issue
Block a user