|
|
@ -171,9 +171,9 @@ procedure to remove it during cleanup.
|
|
|
|
path: /path/to/root
|
|
|
|
path: /path/to/root
|
|
|
|
- name: Clone the project to the new release folder
|
|
|
|
- name: Clone the project to the new release folder
|
|
|
|
git:
|
|
|
|
git:
|
|
|
|
repo: 'git://foosball.example.org/path/to/repo.git'
|
|
|
|
repo: git://foosball.example.org/path/to/repo.git
|
|
|
|
dest: '{{ deploy_helper.new_release_path }}'
|
|
|
|
dest: '{{ deploy_helper.new_release_path }}'
|
|
|
|
version: 'v1.1.1'
|
|
|
|
version: v1.1.1
|
|
|
|
- name: Add an unfinished file, to allow cleanup on successful finalize
|
|
|
|
- name: Add an unfinished file, to allow cleanup on successful finalize
|
|
|
|
file:
|
|
|
|
file:
|
|
|
|
path: '{{ deploy_helper.new_release_path }}/{{ deploy_helper.unfinished_filename }}'
|
|
|
|
path: '{{ deploy_helper.new_release_path }}/{{ deploy_helper.unfinished_filename }}'
|
|
|
@ -227,7 +227,7 @@ procedure to remove it during cleanup.
|
|
|
|
# Using your own naming strategy for releases (a version tag in this case):
|
|
|
|
# Using your own naming strategy for releases (a version tag in this case):
|
|
|
|
- deploy_helper:
|
|
|
|
- deploy_helper:
|
|
|
|
path: /path/to/root
|
|
|
|
path: /path/to/root
|
|
|
|
release: 'v1.1.1'
|
|
|
|
release: v1.1.1
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
- deploy_helper:
|
|
|
|
- deploy_helper:
|
|
|
|
path: /path/to/root
|
|
|
|
path: /path/to/root
|
|
|
|