2022-06-19 20:30:17 +02:00
|
|
|
---
|
2023-03-11 18:18:27 +01:00
|
|
|
- name: "Install packages"
|
|
|
|
ansible.builtin.import_tasks: packages.yml
|
2022-06-19 20:30:17 +02:00
|
|
|
tags: packages
|
|
|
|
|
2023-03-11 18:18:27 +01:00
|
|
|
- name: "Configure"
|
|
|
|
ansible.builtin.import_tasks: configure.yml
|
|
|
|
tags: configure
|
|
|
|
|
|
|
|
- name: "Enable monitoring"
|
|
|
|
ansible.builtin.import_tasks: monitoring.yml
|
2022-06-19 20:30:17 +02:00
|
|
|
tags: monitoring
|
2023-03-11 21:35:10 +01:00
|
|
|
|
|
|
|
- name: "Configure fail2ban"
|
|
|
|
ansible.builtin.import_tasks: fail2ban.yml
|
|
|
|
tags: fail2ban
|
2023-03-11 21:41:19 +01:00
|
|
|
when: "'fail2ban' in ansible_facts.packages"
|