/server-infrastructure

Configuration for my server

Primary LanguageJinjaGNU General Public License v3.0GPL-3.0

Server Infrastructure

This is an Ansible Playbook for my server infrastructure.

Running it

  1. Copy all files whose name ends with .default and fill in the values as appropriate.
  2. 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

Setup

See the home infrastructure's README for instructions.

Development

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