corrected path
This commit is contained in:
14
roles/add_ssh_user/tasks/main.yml
Normal file
14
roles/add_ssh_user/tasks/main.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user