Fixed venvs pattern to be more specific
Closes-Bug: #1910223 Change-Id: Icb58263a2a59f131715a5120652a39ed67673e39
This commit is contained in:
parent
518159ef40
commit
ddedfcff76
@ -20,7 +20,7 @@
|
||||
find:
|
||||
paths: /openstack/venvs
|
||||
file_type: directory
|
||||
patterns: '.*(?<!{{ venv_tag }})$'
|
||||
patterns: '^.*-(\d+(\.\d+){2})(?<!{{ venv_tag }})(-python[23])?$'
|
||||
use_regex: yes
|
||||
register: result
|
||||
- name: Delete older directories
|
||||
|
Loading…
x
Reference in New Issue
Block a user