File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -168,20 +168,7 @@ In order to rollback with Ansistrano, you need to set up the deployment and run
168168
169169If you try to roll back with zero or one releases deployed, an error will be raised and no actions performed.
170170
171- Variables you can tune in rollback role are less than in deploy one:
172-
173- ```yaml
174- - vars:
175- ansistrano_deploy_to: "/var/www/my-app" # Base path to deploy to.
176- ansistrano_version_dir: "releases" # Releases folder name
177- ansistrano_current_dir: "current" # Softlink name. You should rarely changed it.
178-
179- # Hooks: custom tasks if you need them
180- ansistrano_before_symlink_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-before-symlink-tasks.yml"
181- ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-after-symlink-tasks.yml"
182- ansistrano_before_cleanup_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-before-cleanup-tasks.yml"
183- ansistrano_after_cleanup_tasks_file: "{{ playbook_dir }}/<your-deployment-config>/my-after-cleanup-tasks.yml"
184- ```
171+ Variables you can tune in rollback role are less than in deploy one, see [Role variables](#role-variables).
185172
186173Multistage environment (devel, preprod, prod, etc.)
187174---------------------------------------------------
You can’t perform that action at this time.
0 commit comments