From 4103845e98d96a9e6b7408bceefe779f62cc31e7 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Thu, 7 May 2026 16:51:47 +0200 Subject: [PATCH] Added apt --- training/apt-uninstall.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 training/apt-uninstall.yml diff --git a/training/apt-uninstall.yml b/training/apt-uninstall.yml new file mode 100644 index 0000000..becdef4 --- /dev/null +++ b/training/apt-uninstall.yml @@ -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 \ No newline at end of file