- Reminder that ansible just doesn't work on windows. Do this from WSL.
Get requirements
ansible-galaxy install -r requirements.yml
- Get a new host
- With a sudoer user
- Update
prod.inventory.yml
ssh-copy-id <user>@<host> -i /path/to/ssh/key
- Then...
ansible-playbook site.yml -u <user> -K --key-file /path/to/ssh/key -i prod.inventory.yml -t bootstrap
And now you can do things as ansible
- Be properly bootstrapped. See above.
- Make sure you have the
.vault_key
file. - Then...
ansible-playbook site.yml --vault-password-file .vault_key
ansible-playbook site.yml --vault-password-file .vault_key -t backup,all
ansible-playbook site.yml --vault-password-file .vault_key -t restore,all
ansible-playbook site.yml --vault-password-file .vault_key --skip-tags never -t web
BackupsGhost updates- Monitoring
- Run from not my laptop (probs github actions)
- wiki (probs wiki.js)
- wiki updates