--- - name: telegram-desktop apt package apt: pkg: telegram-desktop state: "{{ (telegram_source == 'apt') | ternary('latest','absent') }}"