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