1
0
Fork 0

Remove admin-password option from yunohost commands

This commit is contained in:
Romain Thouvenin 2021-03-10 20:28:12 +01:00
parent 7ff0acd823
commit 572ea0d044
2 changed files with 2 additions and 2 deletions

View file

@ -8,6 +8,6 @@
set_fact: yunohost_installed_domains="{{ yunohost_installed_domains_raw.stdout | from_json }}" set_fact: yunohost_installed_domains="{{ yunohost_installed_domains_raw.stdout | from_json }}"
- name: Create domains - name: Create domains
shell: yunohost domain add {{ item }} --admin-password {{ yunohost.password }} shell: yunohost domain add {{ item }}
with_items: "{{ yunohost.extra_domains }}" with_items: "{{ yunohost.extra_domains }}"
when: item not in yunohost_installed_domains.domains when: item not in yunohost_installed_domains.domains

View file

@ -9,7 +9,7 @@
- name: Create missing users - name: Create missing users
shell: | shell: |
yunohost user create {{ item.name }} --admin-password {{ yunohost.password }} \ yunohost user create {{ item.name }} \
-f {{ item.firstname }} \ -f {{ item.firstname }} \
-l {{ item.lastname }} \ -l {{ item.lastname }} \
-m {{ item.mail }} \ -m {{ item.mail }} \