Ansistrano: Just Deploy It!
Ansistrano is an Ansible Galaxy roles to easily deploy and rollback your scripting applications written in PHP, Python, NodeJS, or Ruby
Ansistrano is an Ansible Galaxy roles to easily deploy and rollback your scripting applications written in PHP, Python, NodeJS, or Ruby
Top most rated Ansible Galaxy role in GitHub
The easiest way to deploy
Start deploying your applications within seconds
Start deploying in 3 steps
Define your hosts file, create a simple playbook, and run it!
./hosts
ansistrano.com ansible_connection=ssh ansible_user=root
./deploy.yaml
---
- name: Deploy
hosts: all
vars:
ansistrano_deploy_from: "{{ playbook_dir }}/"
ansistrano_deploy_to: "/var/www/app"
ansistrano_after_update_code_tasks_file: "{{ playbook_dir }}/after-update-code.yml"
ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}/after-symlink.yml"
ansistrano_keep_releases: 3
roles:
- { role: ansistrano.deploy }
Terminal
> ansible-galaxy install ansistrano.deploy ansistrano.rollback
> ansible-playbook -i hosts deploy.ansible.yml