configure #2

Merged
v4l3n71n merged 23 commits from configure into master 2023-02-27 21:53:18 +00:00
2 changed files with 33 additions and 1 deletions
Showing only changes of commit c22d70bcdd - Show all commits

View File

@ -0,0 +1,28 @@
- name: Deconfigure stats script
import_tasks: deconfigure_stats.yml
tags: [ "deconfigure", "stats"]
- name: Deconfigure blacklist script
import_tasks: deconfigure_blacklist.yml
tags: [ "deconfigure", "blacklist" ]
- name: Deconfigure supervision script
import_tasks: deconfigure_supervision.yml
tags: [ "deconfigure", "supervision" ]
- name: Remove sentinel directory
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 }}"
tags: [ "deconfigure", "stats", "blacklist", "supervision"]

View File

@ -9,4 +9,8 @@
- name: Destrpy project web
import_tasks: destroy.yml
tags: ["destroy"]
tags: ["destroy"]
- name: Configure project web
import_tasks: configure.yml
tags: [ "deconfigure" ]