ansible/apps/odea/ng-rollback.yml

19 lines
830 B
YAML
Raw Normal View History

2016-02-05 16:53:39 +01:00
---
- name: Rollback Odea
hosts: all
remote_user: deploy
become: no
vars:
# Specific
project: odea
project_tree: develop
ansistrano_deploy_to: "/home/vhosts/{{ project }}-ng"
ansistrano_version_dir: releases
ansistrano_current_dir: current
# Hooks: custom tasks if you need them
#ansistrano_before_symlink_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-before-symlink-tasks.yml"
#ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-after-symlink-tasks.yml"
#ansistrano_before_cleanup_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-before-cleanup-tasks.yml"
#ansistrano_after_cleanup_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-after-cleanup-tasks.yml"
roles:
- { role: carlosbuenosvinos.ansistrano-rollback }