diff --git a/tasks/app.yml b/tasks/app.yml
index e1690807385ef71c6f27cc840d30e2aa0b2c6e1f..6978056f5136da887c7808a1dcaff713544e10f9 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