Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyo authored Mar 6, 2017
1 parent 918e3d6 commit c548026
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,20 +168,7 @@ In order to rollback with Ansistrano, you need to set up the deployment and run
If you try to roll back with zero or one releases deployed, an error will be raised and no actions performed.
Variables you can tune in rollback role are less than in deploy one:
```yaml
- vars:
ansistrano_deploy_to: "/var/www/my-app" # Base path to deploy to.
ansistrano_version_dir: "releases" # Releases folder name
ansistrano_current_dir: "current" # Softlink name. You should rarely changed it.
# 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"
```
Variables you can tune in rollback role are less than in deploy one, see [Role variables](#role-variables).
Multistage environment (devel, preprod, prod, etc.)
---------------------------------------------------
Expand Down

0 comments on commit c548026

Please sign in to comment.