fix vars
This commit is contained in:
parent
f29eae7f1e
commit
e4e5aece14
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
*.secret
|
*.secret
|
||||||
host_vars
|
host_vars
|
||||||
inventory.yml
|
inventory.yml
|
||||||
|
group_vars/all/overlay.yml
|
||||||
|
group_vars/all/vault.yml
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
- Install required packages:
|
- Install required packages:
|
||||||
- sshpass
|
- sshpass
|
||||||
|
- python-passlib
|
||||||
- Copy `inventory.example.yml` to `inventory.yml`, modifying fields as adequate.
|
- 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:
|
- Look at the following roles, and for each of them override their `defaults/vars.yml` in host or group vars:
|
||||||
- `networking/connection`
|
- `networking/connection`
|
||||||
- `networking/ddclient`
|
|
||||||
- `networking/nameserver`
|
- `networking/nameserver`
|
||||||
- `caddy`
|
- `caddy`
|
||||||
- `containers`
|
- `containers`
|
||||||
@ -16,8 +16,8 @@
|
|||||||
- `website`
|
- `website`
|
||||||
- Create vault for secrets:
|
- Create vault for secrets:
|
||||||
```
|
```
|
||||||
ansible-vault create host_vars/[hostname]/vault.yml
|
ansible-vault create group_vars/all/vault.yml
|
||||||
ansible-vault edit host_vars/[hostname]/vault.yml
|
ansible-vault edit group_vars/all/vault.yml
|
||||||
```
|
```
|
||||||
Copy-paste `group_vars/all/secret_template.yml` into this vault,
|
Copy-paste `group_vars/all/secret_template.yml` into this vault,
|
||||||
and modify as needed.
|
and modify as needed.
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
# these are defaults
|
# these are defaults
|
||||||
# set these in host/group vars
|
# set these in host/group vars
|
||||||
|
|
||||||
email: dogeystamp@disroot.org
|
email: null
|
||||||
dyndns_domain: null
|
dyndns_domain: null
|
||||||
|
Loading…
Reference in New Issue
Block a user