From d3d2d1550b17ebea5a85c99bd53de06066df7fa5 Mon Sep 17 00:00:00 2001 From: Mathieu BOURBON Date: Fri, 23 Jan 2026 11:14:00 +0100 Subject: [PATCH] corrected path --- roles/add_ssh_user/tasks/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 roles/add_ssh_user/tasks/main.yml diff --git a/roles/add_ssh_user/tasks/main.yml b/roles/add_ssh_user/tasks/main.yml new file mode 100644 index 0000000..b6e3cbb --- /dev/null +++ b/roles/add_ssh_user/tasks/main.yml @@ -0,0 +1,14 @@ + +- 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 + group: mathieu,sudo + password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8