1
0
Fork 0

Merge pull request #2 from TheRojam/error/mail2domain

switch -m (mail) was deprecated in favor of -d (--domaim)
This commit is contained in:
Anton 2021-05-01 18:37:44 +02:00 committed by GitHub
commit f92cc6f327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -32,13 +32,18 @@ yunohost:
args: # Provide here args. Path and domain are mandatory, other args depend of the app (cf manifest.json of app). args: # Provide here args. Path and domain are mandatory, other args depend of the app (cf manifest.json of app).
path: /ttrss path: /ttrss
domain: example.com domain: example.com
# The list of users. # The list of frontend users.
users: users:
- name: user1 - name: user1 # user which uses the default domain for its account
pass: p@ssw0rd pass: p@ssw0rd
firstname: Jane firstname: Jane
lastname: Doe lastname: Doe
mail: jane.doe@example.com domain: {{ domain }}
- name: user1 # user which uses the first extra_domain for its account
pass: p@ssw0rd
firstname: Jane
lastname: Doe
domain: {{ extra_domain.[1] }}
``` ```
Dependencies Dependencies

View file

@ -12,7 +12,7 @@
yunohost user create {{ item.name }} \ yunohost user create {{ item.name }} \
-f {{ item.firstname }} \ -f {{ item.firstname }} \
-l {{ item.lastname }} \ -l {{ item.lastname }} \
-m {{ item.mail }} \ -d {{ item.domain }} \
-p {{ item.pass }} -p {{ item.pass }}
loop: "{{ yunohost.users }}" loop: "{{ yunohost.users }}"
when: item.name not in yunohost_registered_users.users.keys() when: item.name not in yunohost_registered_users.users.keys()