Files
Workstation/fedora/ansible/software_security/tasks/main.yml
2023-01-22 10:23:32 -05:00

22 lines
370 B
YAML

---
# Install security tools
- name: Ensure common security tools installed
dnf:
name:
- nmap
- tcpdump
- tcpreplay
- wireshark-cli
- ufw
become: yes
# Enable UFW and allow SSH
- name: Allow SSH
community.general.ufw:
rule: allow
name: ssh
become: yes
- name: Enable UFW
community.general.ufw:
state: enabled
become: yes