From 152ffa23a07b82c6cc7edfbe8c5a836d99924b4a Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 16 Apr 2024 14:10:20 +0200 Subject: [PATCH] Cange user comment to username --- roles/user/tasks/users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/user/tasks/users.yml b/roles/user/tasks/users.yml index c5c49be..6e76666 100644 --- a/roles/user/tasks/users.yml +++ b/roles/user/tasks/users.yml @@ -19,7 +19,7 @@ state: 'present' create_home: "{{ user.create_home | default(true) }}" home: "{{ user.home | default('/home/' + user.name) }}" - comment: "User created by ansible" + comment: "{{ user.name }}" shell: "{{ user.shell | default('/bin/bash') }}" password: "{{ user.password | default() }}" loop: "{{ _l3d_users__merged_users }}"