Skip to content

Commit c548026

Browse files
authored
Update README.md
1 parent 918e3d6 commit c548026

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -168,20 +168,7 @@ In order to rollback with Ansistrano, you need to set up the deployment and run
168168
169169
If 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
186173
Multistage environment (devel, preprod, prod, etc.)
187174
---------------------------------------------------

0 commit comments

Comments
 (0)