feat: Initial Project 🎉
Some checks failed
CI / lint (push) Failing after 2m15s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped

This commit is contained in:
2024-08-20 11:11:35 +12:00
commit d4366fef2a
22 changed files with 998 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
# csf/tasks/disable_firewall.yml
- name: disable firewalld (RedHat case)
service:
name: firewalld
state: stopped
enabled: no
when:
- ansible_facts.os_family == 'RedHat'
- ansible_facts.service_mgr == 'systemd'
ignore_errors: true
tags:
- services
- name: disable ufw (Ubuntu case)
service:
name: ufw
state: stopped
enabled: no
when:
- ansible_facts.distribution == 'Ubuntu'
ignore_errors: true
tags:
- services