Merge "Fixed venvs pattern to be more specific"
This commit is contained in:
commit
5c1bd46f91
@ -20,7 +20,7 @@
|
|||||||
find:
|
find:
|
||||||
paths: /openstack/venvs
|
paths: /openstack/venvs
|
||||||
file_type: directory
|
file_type: directory
|
||||||
patterns: '.*(?<!{{ venv_tag }})$'
|
patterns: '^.*-(\d+(\.\d+){2})(?<!{{ venv_tag }})(-python[23])?$'
|
||||||
use_regex: yes
|
use_regex: yes
|
||||||
register: result
|
register: result
|
||||||
- name: Delete older directories
|
- name: Delete older directories
|
||||||
|
Loading…
Reference in New Issue
Block a user