Added apt
This commit is contained in:
13
training/apt-uninstall.yml
Normal file
13
training/apt-uninstall.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
- name: Desinstal·lar paquets amb apt
|
||||||
|
hosts: webserver
|
||||||
|
become: yes
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: Eliminar curl i vim
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name:
|
||||||
|
- curl
|
||||||
|
- vim
|
||||||
|
state: absent
|
||||||
|
purge: yes
|
||||||
|
autoremove: yes
|
||||||
Reference in New Issue
Block a user