This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/uninstall/roles/remove_files/tasks/main.yml
2020-10-24 12:08:31 +06:00

97 lines
2.1 KiB
YAML

- name: "remove /home/mesasoft/sapp_run"
file:
path: /home/mesasoft/sapp_run
state: absent
when: remove.sapp == 1
ignore_errors: true
- name: "remove sapp.service"
file:
path: /usr/lib/systemd/system/sapp.service
state: absent
when: remove.sapp == 1
ignore_errors: true
- name: "remove clotho files"
file:
path: /home/mesasoft/clotho
state: absent
when: remove.clotho == 1
ignore_errors: true
- name: "remove clotho.service"
file:
path: /usr/lib/systemd/system/clotho.service
state: absent
when: remove.clotho == 1
ignore_errors: true
- name: "remove http_healthcheck files"
file:
path: /home/mesasoft/http_healthcheck
state: absent
when: remove.http_healthcheck == 1
ignore_errors: true
- name: "remove telegraf_statistic files"
file:
path: /etc/telegraf/telegraf_statistic.conf
state: absent
when: remove.telegraf_statistic == 1
ignore_errors: true
- name: "remove /tmp/metrics.out"
file:
path: /tmp/metrics.out
state: absent
when: remove.telegraf_statistic == 1
ignore_errors: true
- name: "remove /home/tsg/certstore files"
file:
path: /home/tsg/certstore
state: absent
when: remove.certstore == 1
ignore_errors: true
- name: "remove /opt/tsg/certstore files"
file:
path: /opt/tsg/certstore
state: absent
when: remove.certstore == 1
ignore_errors: true
- name: "remove certstore.service"
file:
path: /usr/lib/systemd/system/certstore.service
state: absent
when: remove.certstore == 1
ignore_errors: true
- name: "remove /opt/tsg/cert-redis files"
file:
path: /opt/tsg/cert-redis
state: absent
when: remove.certredis == 1
ignore_errors: true
- name: "remove /home/tsg/cert-redis files"
file:
path: /home/tsg/cert-redis
state: absent
when: remove.certredis == 1
ignore_errors: true
- name: "remove /opt/proxy_status"
file:
path: /opt/proxy_status
state: absent
ignore_errors: true
- name: "remove /tmp/ansible_deploy"
file:
path: /tmp/ansible_deploy
state: absent
ignore_errors: true