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
app.yml 361 B
Newer Older
  • Learn to ignore specific revisions
  • sylvainar's avatar
    sylvainar committed
    ---
    - name: Test if this app is already installed
      stat: path={{ app.args.path }}
      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
      when: yunohost_app_installed.stat.exists == False