From c548026bccaed63ec8963fa02f3452288368997a Mon Sep 17 00:00:00 2001 From: Anton Ovchinnikov Date: Mon, 6 Mar 2017 23:40:37 +0100 Subject: [PATCH] Update README.md --- README.md | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/README.md b/README.md index f909ace..d1a4116 100644 --- a/README.md +++ b/README.md @@ -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 }}//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" -``` +Variables you can tune in rollback role are less than in deploy one, see [Role variables](#role-variables). Multistage environment (devel, preprod, prod, etc.) ---------------------------------------------------