cleanup virtualenv directory
This commit is contained in:
parent
8afe04bd3f
commit
6570bacc8f
12
venv.yml
12
venv.yml
@ -5,9 +5,9 @@
|
||||
|
||||
|
||||
vars:
|
||||
ansible_lint_venv_dir : /tmp/ansible-lint-venv
|
||||
git_repo_to_lint : https://gitea.thezengarden.net/chris/ansible-lint-poc.git
|
||||
lint_work_dir : /tmp/lint_repository
|
||||
ansible_lint_venv : /tmp/ansible-lint-venv
|
||||
git_repo_to_lint : https://gitea.thezengarden.net/chris/ansible-lint-poc.git
|
||||
lint_work_dir : /tmp/lint_repository
|
||||
|
||||
|
||||
tasks:
|
||||
@ -85,6 +85,12 @@
|
||||
state: absent
|
||||
|
||||
|
||||
- name: Cleanup Virtual Environment
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_lint_venv }}"
|
||||
state: absent
|
||||
|
||||
|
||||
- name: Cleanup installed packages
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user