You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
348B

  1. ---
  2. - name: flatpak apt package
  3. apt:
  4. pkg: flatpak
  5. when: telegram_source == 'flatpak'
  6. - name: telegram-desktop flatpak package
  7. community.general.flatpak:
  8. remote: flathub
  9. name: org.telegram.desktop
  10. state: "{{ (telegram_source == 'flatpak') | ternary('present','absent') }}"
  11. ignore_errors: "{{telegram_source != 'flatpak'}}"