1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00

Cange user comment to username

This commit is contained in:
L3D 2024-04-16 14:10:20 +02:00
parent d0f3edead8
commit 152ffa23a0
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -19,7 +19,7 @@
state: 'present' state: 'present'
create_home: "{{ user.create_home | default(true) }}" create_home: "{{ user.create_home | default(true) }}"
home: "{{ user.home | default('/home/' + user.name) }}" home: "{{ user.home | default('/home/' + user.name) }}"
comment: "User created by ansible" comment: "{{ user.name }}"
shell: "{{ user.shell | default('/bin/bash') }}" shell: "{{ user.shell | default('/bin/bash') }}"
password: "{{ user.password | default() }}" password: "{{ user.password | default() }}"
loop: "{{ _l3d_users__merged_users }}" loop: "{{ _l3d_users__merged_users }}"