Initial ansible onboard

This commit is contained in:
2024-09-24 15:19:51 +02:00
parent 7366659355
commit f445996797
492 changed files with 2214589 additions and 0 deletions
@@ -0,0 +1,12 @@
---
- name: 'INSTALL | APT | Install fail2ban packages'
ansible.builtin.apt:
name: "{{ item.name }}"
state: "{{ item.state | default('present') }}"
update_cache: "{{ fail2ban_repository_update_cache }}"
cache_valid_time: "{{ fail2ban_repository_cache_valid_time }}"
become: true
with_items: "{{ fail2ban_packages }}"
notify:
- 'HANDLER | Restart fail2ban'