add purge_venv to jenkinsfile for disk api

This commit is contained in:
matt committed 2026-04-25 21:39:45 -07:00
1 parent 67f3f8440b
commit b4839fde66
7 files changed
+81 -25

No files matched your search

+14
View File
@@ -5,6 +5,20 @@
name: python
state: present
- name: Purge venv if asked
when: purge_venv | bool
block:
- name: Remove service
ansible.windows.win_service:
name: "{{ disk_service_name }}"
state: absent
- name: purge folder
ansible.windows.win_file:
path: "{{ python_venv }}"
state: absent
- name: Create venv folder
ansible.windows.win_file:
path: "{{ python_venv }}"