Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit c3f7b035 authored by therojam's avatar therojam
Browse files

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

also added example users w/ {{ domain }}
parent 9220e1cd
No related branches found
No related tags found
No related merge requests found
...@@ -32,13 +32,18 @@ yunohost: ...@@ -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
......
...@@ -12,7 +12,7 @@ ...@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment