1
0
Fork 0

Merge pull request #6 from rthouvenin/no-admin-password

Remove admin-password option from yunohost commands
This commit is contained in:
Sylvain Arnouts 2021-03-20 09:26:47 +01:00 committed by GitHub
commit 25315c3733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 }} \