This is an Ansible Playbook for my server infrastructure.
- Copy all files whose name ends with
.default
and fill in the values as appropriate. -
pipenv run ansible-galaxy install -r requirements.yml -p roles/ pipenv run ansible-playbook site.yml -i hosts --ask-become-pass --vault-password-file vault-password-file
See the home infrastructure's README for instructions.
To encrypt and decrypt files, use these commands:
ansible-vault decrypt <path>/vault.yml --vault-password-file vault-password-file
ansible-vault encrypt <path>/vault.yml --vault-password-file vault-password-file