ansible/apps/webservice/rollback-ng.yml

20 lines
905 B
YAML
Raw Normal View History

2016-02-11 11:29:25 +01:00
---
- name: Rollback WebService
hosts: all
remote_user: deploy
become: no
vars:
# Specific
project: webservice
project_tree: trunk
# Always add a trailing / if you want rsync the content of the directory
2017-02-20 09:39:42 +01:00
ansistrano_deploy_to: "/home/vhosts/{{project}}-ng"
2016-02-11 11:29:25 +01:00
ansistrano_version_dir: releases
ansistrano_current_dir: current
# Hooks: custom tasks if you need them
2017-02-20 09:39:42 +01:00
#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"
2016-02-11 11:29:25 +01:00
roles:
- { role: carlosbuenosvinos.ansistrano-rollback }