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

:white_check_mark:Resolve "Use command module"

Merged Arthur BOUDREAULT requested to merge 10-use-command-module into master
All threads resolved!
4 files
+ 9
9
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
2
---
---
- name: List currently installed apps
- name: List currently installed apps
ansible.builtin.shell: yunohost app map --output-as json
ansible.builtin.command: yunohost app map --output-as json
register: ynh_installed_apps_raw
register: ynh_installed_apps_raw
changed_when: False
changed_when: False
@@ -8,7 +8,7 @@
@@ -8,7 +8,7 @@
ansible.builtin.set_fact: ynh_installed_apps="{{ ynh_installed_apps_raw.stdout | from_json }}"
ansible.builtin.set_fact: ynh_installed_apps="{{ ynh_installed_apps_raw.stdout | from_json }}"
- name: Install yunohost apps
- name: Install yunohost apps
ansible.builtin.shell: yunohost app install {{ item.link }} \
ansible.builtin.command: yunohost app install {{ item.link }} \
--label "{{ item.label }}" \
--label "{{ item.label }}" \
--args "{% for key, value in item.args.items() %}{{ key }}={{ value
--args "{% for key, value in item.args.items() %}{{ key }}={{ value
}}{% if not loop.last %}&{% endif %}{% endfor %}"
}}{% if not loop.last %}&{% endif %}{% endfor %}"
Loading