瀏覽代碼

use debian package

master
父節點
當前提交
dd6ba87a0b
共有 3 個檔案被更改,包括 16 行新增1 行删除
  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 查看文件


+ 5
- 1
tasks/main.yaml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存