A set of ansible scripts to provision my home raspberry pi home automation hub.
-
- Clone this repo
-
- Update Submodules
-
- Install Ansible dependencies
ansible-galaxy install -r requirements.yml
- Install Ansible dependencies
- Run the following command to encrypt your key.
ansible-vault encrypt_string \ --vault-password-file site.yml '<API_KEY>' \ --name 'datadog_api_key'
- Update the encrypted text in the
site.yml
filedatadog_api_key: !vault | $ANSIBLE_VAULT;1.1;AES256 <306137363962356......... .....ENCRYPTED_STRING.... ....13736396137363936464>
make run-debug
make run
make lint
- TODO: Extract EncryptedString to a vars file
- Install Pi-Hole -- keeps hanging?
- Setup SSL -- Let's Encrypt?
- Further Refactor Structure & roles themselves
- Setup Auto-Docs -> Github Pages (via actions)
- Setup Molecule
- Basic Molecule run on push
- Build out tests for each role