keopx / ansible-drupal-deploy

Ansible Drupal Deploy with Ansistrano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansistrano for Drupal

Introduction

This is a base template to deploy drupal sites using Ansible with Ansistrano role.

Check host file to change IP and deploy.yml to modify configuration values.

Install

$ sudo apt-get install ansible
$ sudo ansible-galaxy install ansistrano.deploy ansistrano.rollback

Repository

Deploy

Run Remote

$ cd /my-proyect/ansible/
$ ansible-playbook -i hosts deploy.yml

Run local

$ cd /var/www/my-app/current/ansible/
$ ansible-playbook -i hosts deploy.yml

Rollback

Run Remote

$ cd /my-proyect/ansible/
$ ansible-playbook -i hosts rollback.yml

Run local

$ cd /var/www/my-app/current/ansible/
$ ansible-playbook -i hosts rollback.yml

About

Ansible Drupal Deploy with Ansistrano

License:GNU General Public License v3.0