aboutsummaryrefslogtreecommitdiffstats
path: root/roles/firewalld
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:23:43 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:52:13 -0500
commit0261e875679f1bf63c8d689da7fc7e014597885d (patch)
tree3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/firewalld
downloadselfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz
selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip
initial commit
Diffstat (limited to 'roles/firewalld')
-rw-r--r--roles/firewalld/tasks/main.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/firewalld/tasks/main.yml b/roles/firewalld/tasks/main.yml
new file mode 100644
index 0000000..40e39fb
--- /dev/null
+++ b/roles/firewalld/tasks/main.yml
@@ -0,0 +1,17 @@
+- name: install firewalld
+ dnf:
+ name: firewalld
+ state: present
+
+- name: enable firewalld
+ systemd:
+ name: firewalld
+ state: started
+ enabled: yes
+
+- name: disable cockpit rule
+ firewalld:
+ service: cockpit
+ permanent: yes
+ immediate: yes
+ state: disabled