diff --git a/tasks/domains.yml b/tasks/domains.yml index ea261c9..f2d26bb 100644 --- a/tasks/domains.yml +++ b/tasks/domains.yml @@ -8,6 +8,6 @@ set_fact: yunohost_installed_domains="{{ yunohost_installed_domains_raw.stdout | from_json }}" - name: Create domains - shell: yunohost domain add {{ item }} --admin-password {{ yunohost.password }} + shell: yunohost domain add {{ item }} with_items: "{{ yunohost.extra_domains }}" when: item not in yunohost_installed_domains.domains diff --git a/tasks/users.yml b/tasks/users.yml index 853accd..6310a6d 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -9,7 +9,7 @@ - name: Create missing users shell: | - yunohost user create {{ item.name }} --admin-password {{ yunohost.password }} \ + yunohost user create {{ item.name }} \ -f {{ item.firstname }} \ -l {{ item.lastname }} \ -m {{ item.mail }} \