26 lines
617 B
YAML
Raw Normal View History

2023-02-12 21:25:57 +01:00
- name: Create sentinel directory
file:
state: directory
path: "{{ item }}/sentinel"
with_items:
- /usr/local/bin
- /etc
vars:
ansible_become: yes
ansible_become_method: sudo
ansible_become_password: "{{ sudo_password }}"
tags: [ "configure", "stats", "blacklist", "supervision"]
2023-02-12 18:13:05 +01:00
- name: Deploy stats script
import_tasks: stats.yml
2023-02-12 19:15:48 +01:00
tags: [ "configure", "stats"]
2023-02-12 18:13:05 +01:00
- name: Configure blacklist script
import_tasks: blacklist.yml
2023-02-12 19:15:48 +01:00
tags: [ "configure", "blacklist" ]
2023-02-12 18:13:05 +01:00
- name: Configure supervision script
import_tasks: supervision.yml
2023-02-12 19:15:48 +01:00
tags: [ "configure", "supervision" ]