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