Improve venv cleanup regexp discovery
Change-Id: If52687cb1fabed575eb3467216163b64b0c89635
This commit is contained in:
parent
44ae9af3f5
commit
11efaaec95
@ -20,7 +20,7 @@
|
||||
find:
|
||||
paths: /openstack/venvs
|
||||
file_type: directory
|
||||
patterns: '^.*-(\d+(\.\d+){2})(?<!{{ venv_tag }})(-python[23])?$'
|
||||
patterns: '^.*-(\d+(\.\d+){2}(.dev\d+)?)(?<!{{ venv_tag }})(-python[23])?$'
|
||||
use_regex: yes
|
||||
register: result
|
||||
- name: Delete older directories
|
||||
|
Loading…
Reference in New Issue
Block a user