Skip to content

Commit

Permalink
Merge pull request #8 from magi2c/patch-1
Browse files Browse the repository at this point in the history
Get release path variable
  • Loading branch information
ricardclau committed Jan 7, 2016
2 parents bd422d8 + bf3fc73 commit 6469adf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
- name: ANSISTRANO | Get previous releases version
shell: echo `ls {{ ansistrano_releases_path.stdout }} -1t | head -n 2 | tail -n 1`
register: ansistrano_previous_release_version

- name: ANSISTRANO | Get release path
command: echo "{{ ansistrano_releases_path.stdout }}/{{ ansistrano_previous_release_version.stdout }}"
register: ansistrano_release_path

0 comments on commit 6469adf

Please sign in to comment.