Browse Source

use debian package

master
parent
commit
dd6ba87a0b
3 changed files with 16 additions and 1 deletions
  1. +0
    -0
      tasks/git-setup.yaml
  2. +5
    -1
      tasks/main.yaml
  3. +11
    -0
      tasks/uninstall-git-setup.yaml

tasks/setup.yaml → tasks/git-setup.yaml View File


+ 5
- 1
tasks/main.yaml View File

@@ -1,3 +1,7 @@
---

- import_tasks: setup.yaml
- import_tasks: uninstall-git-setup.yaml

- name: telegram-desktop debian package
apt:
pkg: telegram-desktop

+ 11
- 0
tasks/uninstall-git-setup.yaml View File

@@ -0,0 +1,11 @@
---

- name: installation directory absent
file:
path: /opt/telegram-desktop
state: absent

- name: unlink telegram-desktop binary
file:
path: /usr/local/bin/telegram-desktop
state: absent

Loading…
Cancel
Save