Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0c8816fe290d2b049bc851bbdc74a4969a03978c
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
cleanup
/
tasks
/
remove_package.yaml
1
---
2
# file: roles/cleanup/tasks/remove_package.yaml
3
4
- name: Remove package - Fix corrupted apt
5
shell: 'dpkg --configure -a'
6
when: >
7
ansible_distribution == 'Ubuntu'
8
tags: remove-package
9
10
- name: Remove package - {{ package }}
11
apt:
12
name: '{{ package }}'
13
force: yes
14
purge: yes
15
state: absent
16
failed_when: no
17
when: >
18
ansible_distribution == 'Ubuntu'
19
tags: remove-package