diff --git a/tasks/app.yml b/tasks/app.yml index e169080..6978056 100644 --- a/tasks/app.yml +++ b/tasks/app.yml @@ -4,5 +4,5 @@ register: yunohost_app_installed - name: Install app - shell: yunohost app install {{ app.link }} --args {% for key, value in app.args.items() %}{{key}}={{value}}{% if not loop.last %}\&{% endif %}{% endfor %} >> ~/log.txt + shell: yunohost app install {{ app.link }} --args "{% for key, value in app.args.items() %}{{key}}={{value}}{% if not loop.last %}&{% endif %}{% endfor %}" when: yunohost_app_installed.stat.exists == False