updated telegram state

This commit is contained in:
Paul 2021-07-11 17:39:41 +02:00
parent f68c24fff7
commit 9af36237e9

View File

@ -16,12 +16,16 @@ telegram-symlink:
- name: {{ telegram.install_dir }}/telegram - name: {{ telegram.install_dir }}/telegram
- target: {{ telegram.release_dir }}/telegram-{{ telegram.version }} - target: {{ telegram.release_dir }}/telegram-{{ telegram.version }}
- force: true - force: true
- require:
- archive: telegram-archive-extract
telegram-bin-symlink: telegram-bin-symlink:
file.symlink: file.symlink:
- name: /usr/bin/telegram - name: /usr/bin/telegram
- target: {{ telegram.install_dir }}/telegram/telegram - target: {{ telegram.install_dir }}/telegram/telegram
- force: true - force: true
- require:
- archive: telegram-archive-extract
telegram-icon: telegram-icon:
file.managed: file.managed:
@ -30,6 +34,8 @@ telegram-icon:
- user: root - user: root
- group: root - group: root
- mode: 644 - mode: 644
- require:
- archive: telegram-archive-extract
telegram-shortcut: telegram-shortcut:
file.managed: file.managed:
@ -38,4 +44,6 @@ telegram-shortcut:
- user: root - user: root
- group: root - group: root
- mode: 644 - mode: 644
- template: jinja - template: jinja
- require:
- archive: telegram-archive-extract