浏览代码

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

正在加载...
取消
保存