add firewalld_disabled variable to disable firewall rules

This commit is contained in:
Moritz 2024-09-25 17:57:33 +02:00
parent 40a2dd8b0e
commit d36055d7aa
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
- name: firewalld configuration - name: firewalld configuration
import_tasks: firewalld.yml import_tasks: firewalld.yml
when: not firewalld_disabled | default(false)
- name: openssh settings - name: openssh settings
import_tasks: openssh.yml import_tasks: openssh.yml
@ -14,4 +15,4 @@
import_tasks: dns.yml import_tasks: dns.yml
- name: install ctop - name: install ctop
import_tasks: ctop.yml import_tasks: ctop.yml

View File

@ -32,4 +32,4 @@
- sysstat - sysstat
- needrestart - needrestart
- ncat - ncat
- firewalld - firewalld