Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 1fa4f458 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket: Committed by Arthur BOUDREAULT
Browse files

Apply 3 suggestion(s) to 2 file(s)

parent 67fd258e
No related branches found
No related tags found
1 merge request!6✅Resolve "Use command module"
Pipeline #2811 failed
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
when: ynh_file_install.stat.exists == False when: ynh_file_install.stat.exists == False
- name: Launch Yunohost postinstall - name: Launch Yunohost postinstall
ansible.builtin.command: " ansible.builtin.command:
yunohost tools postinstall \ yunohost tools postinstall \
--domain {{ ynh_main_domain }} \ --domain "{{ ynh_main_domain }}" \
--password {{ ynh_admin_password }} \ --password "{{ ynh_admin_password }}" \
{% if ynh_ignore_dyndns_server == True %} --ignore-dyndns {% endif %}" {% if ynh_ignore_dyndns_server == True %} --ignore-dyndns {% endif %}
when: ynh_file_install.stat.exists == False when: ynh_file_install.stat.exists == False
- name: Create extra domains - name: Create extra domains
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
ansible.builtin.set_fact: ynh_registered_users="{{ ynh_registered_users_raw.stdout | from_json }}" ansible.builtin.set_fact: ynh_registered_users="{{ ynh_registered_users_raw.stdout | from_json }}"
- name: Create missing Yunohost users - name: Create missing Yunohost users
ansible.builtin.command: | ansible.builtin.command:
yunohost user create {{ item.name }} \ yunohost user create "{{ item.name }}" \
-f {{ item.firstname }} \ -f "{{ item.firstname }}" \
-l {{ item.lastname }} \ -l "{{ item.lastname }}" \
-d {{ item.mail_domain }} \ -d "{{ item.mail_domain }}" \
-p {{ item.pass }} -p "{{ item.pass }}"
loop: "{{ ynh_users }}" loop: "{{ ynh_users }}"
when: item.name not in ynh_registered_users.users.keys() when: item.name not in ynh_registered_users.users.keys()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment