1
0
Fork 0

switch -m (mail) was deprecated in favor of -d (--domaim)

also added example users w/ {{ domain }}
This commit is contained in:
therojam 2021-05-01 18:33:45 +02:00
parent 9220e1cdba
commit c3f7b0355d
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).
path: /ttrss
domain: example.com
# The list of users.
users:
- name: user1
# The list of frontend users.
users:
- name: user1 # user which uses the default domain for its account
pass: p@ssw0rd
firstname: Jane
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

View file

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