--- - name: Rollback Batch hosts: all remote_user: deploy become: yes vars: ansistrano_deploy_to: /home/batch ansistrano_version_dir: releases ansistrano_current_dir: current # Hooks: custom tasks if you need them #ansistrano_before_symlink_tasks_file: "{{ playbook_dir }}//my-before-symlink-tasks.yml" #ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}//my-after-symlink-tasks.yml" #ansistrano_before_cleanup_tasks_file: "{{ playbook_dir }}//my-before-cleanup-tasks.yml" #ansistrano_after_cleanup_tasks_file: "{{ playbook_dir }}//my-after-cleanup-tasks.yml" roles: - { role: carlosbuenosvinos.ansistrano-rollback }