From 21059544edfbb8905fa6f86f303bc41e37a659ed Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Mon, 29 May 2023 14:04:25 +0300 Subject: [PATCH] Issue #26: AlmaLinux9: Remove firewall-related commands. Signed-off-by: alexmerlin --- wsl/os/almalinux9/roles/apache/tasks/main.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wsl/os/almalinux9/roles/apache/tasks/main.yml b/wsl/os/almalinux9/roles/apache/tasks/main.yml index bffa1d3..9b20a81 100644 --- a/wsl/os/almalinux9/roles/apache/tasks/main.yml +++ b/wsl/os/almalinux9/roles/apache/tasks/main.yml @@ -5,10 +5,6 @@ - httpd - httpd-tools state: latest -- name: Allow port 80 through firewall - command: "firewall-cmd --permanent --zone=public --add-service=http" -- name: Allow port 443 through firewall - command: "firewall-cmd --permanent --zone=public --add-service=https" - name: Enable and start Apache service command: systemctl enable --now httpd - name: Fix Apache home directory ownership