Первый коммит с ансибле скриптами для установки telemt.

This commit is contained in:
B4D_US3R 2026-06-04 11:55:23 +05:00
commit ca14120c0e
10 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,7 @@
---
- name: get install.sh
get_url:
url: https://raw.githubusercontent.com/telemt/telemt/main/install.sh
dest: /tmp/install.sh
owner: root
mode: 755

View file

@ -0,0 +1,5 @@
---
- name: загрузка установочного скрипта
include_tasks: download.yml
- name: удаление telemt
include_tasks: uninstall.yml

View file

@ -0,0 +1,9 @@
---
- name: удаление telemt
shell:
cmd: /tmp/install.sh purge -l 2
register: uninstall_result
- name: вывод сообщения
debug:
msg: "{{uninstall_result.stdout.split('\n')}}"