Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.24 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.24 KB

Ansible playbooks for Malprave Corp Build Status

Malprave Corp uses Ansible to manage all its configuration management needs.

Based on a mutable infrastructure paradigm.

Get Started

Pull repo

git clone https://github.com/MalpraveCorp/ansible.git; cd ansible;

Install Ansible

pip install ansible

Pull Ansible Roles

ansible-galaxy install -r .requirements.yml

Install Kitchen CI

gem install test-kitchen

Test a playbook

(Kitchen CI will bootstrap a container and run the playbook against it)

kitchen converge mal-node-p

Clean up

kitchen destroy all

Servers

  • node: "API Gateway" that is used to authenticate requests using OpenResty/Redis on the "edge".
  • be: Backend application in PHP with some container micro services.

Operations Playbooks

In ops/ you can find a multitude of playbooks for various operational tasks.

  • Rolling ES: Perform a rolling restart of a ES cluster
  • Sync Mongo: Sync your mongo cluster across environments.
  • Deployments: Application deployments based on Ansistrano.

Author

Pedro Gomes

License

MIT