This commit is contained in:
2024-07-03 15:48:10 +00:00
parent 9a4bbb05a8
commit 6413ee32c2
25 changed files with 178 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
---
# tasks file for Debian_firewall
- name: Enable nftables
service:
name: nftables
state: started
enabled: true

View File

@@ -0,0 +1,6 @@
---
# tasks file for Debian_interfaces
- name: Configure network interfaces for a Debian node
template:
src: "Debian_interfaces.j2"
dest: /etc/network/interfaces

View File

@@ -0,0 +1,7 @@
---
# tasks file for configure_network
- include_tasks: Debian_interfaces.yml
when: ansible_os_family == "Debian"
- include_tasks: Debian_firewall.yml
when: ansible_os_family == "Debian"