fix(ynh_setup): change user first name / last name to full name
This commit is contained in:
parent
30822d20d8
commit
fec7f0a3aa
4 changed files with 4 additions and 8 deletions
|
@ -65,8 +65,7 @@ ynh_ignore_dyndns_server: False
|
|||
ynh_users:
|
||||
- name: user1
|
||||
pass: MYINSECUREPWD_PLZ_OVERRIDE_THIS
|
||||
firstname: Jane
|
||||
lastname: Doe
|
||||
fullname: Jane DOE
|
||||
mail_domain: domain.tld
|
||||
```
|
||||
|
||||
|
|
|
@ -65,8 +65,7 @@ ynh_ignore_dyndns_server: False
|
|||
ynh_users:
|
||||
- name: user1
|
||||
pass: MYINSECUREPWD_PLZ_OVERRIDE_THIS
|
||||
firstname: Jane
|
||||
lastname: Doe
|
||||
fullname: Jane DOE
|
||||
mail_domain: domain.tld
|
||||
```
|
||||
|
||||
|
|
|
@ -47,6 +47,5 @@ ynh_ignore_dyndns_server: False
|
|||
ynh_users: null
|
||||
# - name: user1
|
||||
# pass: p@ssw0rd
|
||||
# firstname: Jane
|
||||
# lastname: Doe
|
||||
# fullname: Jane DOE
|
||||
# mail_domain: domain.tld
|
||||
|
|
|
@ -35,8 +35,7 @@
|
|||
- name: Create missing Yunohost users
|
||||
ansible.builtin.command:
|
||||
yunohost user create "{{ item.name }}" \
|
||||
-f "{{ item.firstname }}" \
|
||||
-l "{{ item.lastname }}" \
|
||||
-F "{{ item.fullname }}" \
|
||||
-d "{{ item.mail_domain }}" \
|
||||
-p "{{ item.pass }}"
|
||||
loop: "{{ ynh_users }}"
|
||||
|
|
Loading…
Reference in a new issue