Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
T-Rex: CPU pinning
[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