diff --git a/tasks/domains.yml b/tasks/domains.yml index ea261c9bf7ed3617ad838f1d9c94b8e749e4b8b5..f2d26bb0b28bda9b8b7a2f26f8353dabac19bfe7 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 853accd0bcbcf06611517f999319f99fa322e856..6310a6dc5175da79481ccf229e45631c3b57ee2a 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 }} \