5 lines
223 B
YAML
5 lines
223 B
YAML
---
|
|
# Clean up releases
|
|
- name: ANSISTRANO | Clean up releases
|
|
shell: ls -1dt {{ ansistrano_releases_path }}/* | tail -n +{{ ansistrano_keep_releases | int + 1 }} | xargs rm -rf
|
|
when: ansistrano_keep_releases | int > 0
|