32 lines
717 B
YAML
Raw Normal View History

2023-02-13 23:52:47 +01:00
- name: Backup blacklist
fetch:
src: /etc/sentinel/blacklist
dest: blacklist
2023-02-15 21:54:20 +01:00
tags: [ "backup_balcklist" ]
2023-02-12 21:44:19 +01:00
- name: Deconfigure stats script
import_tasks: deconfigure_stats.yml
2023-02-15 21:54:20 +01:00
tags: [ "deconfigure_stats" ]
2023-02-12 21:44:19 +01:00
- name: Deconfigure blacklist script
import_tasks: deconfigure_blacklist.yml
2023-02-17 18:04:21 +01:00
tags: [ "deconfigure_blacklist" ]
2023-02-12 21:44:19 +01:00
- name: Deconfigure supervision script
import_tasks: deconfigure_supervision.yml
2023-02-15 21:54:20 +01:00
tags: [ "deconfigure_supervision" ]
2023-02-12 21:44:19 +01:00
2023-02-12 22:28:32 +01:00
- name: Remove sentinel directory
2023-02-12 21:44:19 +01:00
file:
state: absent
path: "{{ item }}/sentinel"
with_items:
- /usr/local/bin
- /etc
vars:
ansible_become: yes
ansible_become_method: sudo
ansible_become_password: "{{ sudo_password }}"