Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Trending: Add 2n-tx2 crypto
[csit.git]
/
fdio.infra.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:
9
- remove-package
10
11
- name: Remove Package - {{ package }}
12
apt:
13
name: "{{ package }}"
14
force: yes
15
purge: yes
16
state: "absent"
17
failed_when: no
18
when:
19
- ansible_distribution == 'Ubuntu'
20
tags:
21
- remove-package