Aplyca.BuildBranchesSites

Build Branches sites

Build Status Circle CI

SSH

  • Use your SSH config file (~/.ssh/config) to confgire all the SSH connections, for example the inventory hosts connections.
  • Use SSH keys to connect to remote hosts
  • Use diferent SSH keys for diffrent environments (development/stage/prod)

Ansible

  • Read how to use the Ansible provisioner in README.md of each role.
  • To know more about Ansible: http://www.ansible.com

Build branches

List tasks and hosts before provision:

ansible-playbook -i inventories/local playbooks.yml --list-tasks --list-hosts

Build brancehs sites:

ansible-playbook -i inventories/local playbooks.yml

Custom settings

In order to use your own custom settings, use the "settings/custom.yml" file, you can overide any varible used in the playbooks and roles.

ansible-playbook -i inventories/local playbooks.yml

By default the custom.yml file is ignored in git, be mindful to not add to version control your custom files or info.

Inventory

See the invetories folders to know the available invetories Use the "inventories/custom" to place your custom invetory.

Tests

ansible-playbook -i inventories/local tests/playbook.yml

Vagrant

tests/vagrant.sh

Docker

tests/docker.sh
About

Build sites from git branches

Install
ansible-galaxy install Aplyca.BuildBranchesSites
GitHub repository
License
Unknown
Downloads
5.7k
Owner
Creating Solutions for the Modern Web