17 lines
412 B
YAML
17 lines
412 B
YAML
---
|
|
- name: "Install packages"
|
|
ansible.builtin.import_tasks: packages.yml
|
|
tags: packages
|
|
|
|
- name: "Configure"
|
|
ansible.builtin.import_tasks: configure.yml
|
|
tags: configure
|
|
|
|
- name: "Enable monitoring"
|
|
ansible.builtin.import_tasks: monitoring.yml
|
|
tags: monitoring
|
|
|
|
- name: "Configure fail2ban"
|
|
ansible.builtin.import_tasks: fail2ban.yml
|
|
tags: fail2ban
|
|
when: "'fail2ban' in ansible_facts.packages"
|