From 572ea0d044efd976cc2a54685ee5ab8bd90528e3 Mon Sep 17 00:00:00 2001 From: Romain Thouvenin Date: Wed, 10 Mar 2021 20:28:12 +0100 Subject: [PATCH] Remove admin-password option from yunohost commands --- tasks/domains.yml | 2 +- tasks/users.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }} \