From 09e18c113f0dbcf6a7a4ed10fc39a43addb21af7 Mon Sep 17 00:00:00 2001 From: Mathieu BOURBON Date: Fri, 23 Jan 2026 11:21:12 +0100 Subject: [PATCH] fix task file --- roles/add_ssh_user/main.yml | 14 -------------- roles/add_ssh_user/tasks/main.yml | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 roles/add_ssh_user/main.yml diff --git a/roles/add_ssh_user/main.yml b/roles/add_ssh_user/main.yml deleted file mode 100644 index 00161f9..0000000 --- a/roles/add_ssh_user/main.yml +++ /dev/null @@ -1,14 +0,0 @@ - -- name: create mathieu group - ansible.builtin.group: - name: mathieu - gid: 1000 - state: present - -- name: Add mathieu user - ansible.builtin.user: - name: mathieu - comment: Mathieu BOURBON - uid: 1000 - groups: mathieu,sudo - password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8 diff --git a/roles/add_ssh_user/tasks/main.yml b/roles/add_ssh_user/tasks/main.yml index b6e3cbb..00161f9 100644 --- a/roles/add_ssh_user/tasks/main.yml +++ b/roles/add_ssh_user/tasks/main.yml @@ -10,5 +10,5 @@ name: mathieu comment: Mathieu BOURBON uid: 1000 - group: mathieu,sudo + groups: mathieu,sudo password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8