From f23fa80a3086a40715f10c312ef84336aead93b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Tue, 25 Jul 2023 16:04:53 +0200 Subject: [PATCH] fml --- roles/realmd/tasks/main.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/realmd/tasks/main.yaml b/roles/realmd/tasks/main.yaml index 3148113..0a7f272 100644 --- a/roles/realmd/tasks/main.yaml +++ b/roles/realmd/tasks/main.yaml @@ -135,11 +135,9 @@ ansible.builtin.command: cmd: mkhomedir_helper tormakris@intra.tormakris.dev -- name: Remove home directory - ansible.builtin.file: - path: /home/tormakris@intra.tormakris.dev/tormakris/ - state: absent - recurse: yes +- name: Create home for tormakris + ansible.builtin.command: + cmd: rm -rf /home/tormakris@intra.tormakris.dev/tormakris - name: Copy tormakris home ansible.builtin.copy: