Ansible infrastructure-as-code playbooks for publishing packages to NPM, PyPy, setting up servers and deployment to AWS, GCP and Heroku
- python
- pip
- nvm
- npm
- node
pip install --requirement requirements.txt --requirement test_requirements.txt
npm install
ansible-playbook <PLAYBOOK_NAME>
ansible-vault
and the true inventory.ini
files are maintained in S3
To download sensitive-files:
ansible-playbook plays/sensitive_files/download.yml
To upload sensitive-files:
ansible-playbook plays/sensitive_files/upload.yml
In order to ensure that changes to inventory.ini
does not get accidently committed:
git update-index --assume-unchanged inventory.ini
If you need to revert this action:
git update-index --no-assume-unchanged inventory.ini