Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.74 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.74 KB

playbooks

CircleCI codecov Codacy Badge David David license

codecov

Ansible infrastructure-as-code playbooks for publishing packages to NPM, PyPy, setting up servers and deployment to AWS, GCP and Heroku

Installation

Prerequisities

  • python
  • pip
  • nvm
  • npm
  • node
pip install --requirement requirements.txt --requirement test_requirements.txt

npm install

Usage

ansible-playbook <PLAYBOOK_NAME>

Sensitive files handling

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

Protecting inventory.ini

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