From 9077ce561b4eaa050fc1c87cbc22d8ad64c0fc0c Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Thu, 20 Nov 2025 14:32:30 +0100 Subject: [PATCH] Added all files --- training/windows-delete-files.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 training/windows-delete-files.yml diff --git a/training/windows-delete-files.yml b/training/windows-delete-files.yml new file mode 100644 index 0000000..6b5343e --- /dev/null +++ b/training/windows-delete-files.yml @@ -0,0 +1,13 @@ +--- +- name: Prueba de conexión a Windows + hosts: windows + tasks: + - name: Borrar fichero escritorioSegundo en Windows + ansible.windows.win_file: + path: C:\Users\AnsibleNode\Desktop\escritorioSegundo.txt + state: absent + + - name: Borrar fichero escritorio en Windows + ansible.windows.win_file: + src: C:\Users\AnsibleNode\Desktop\escritorio.txt + state: absent \ No newline at end of file