From 28ba1fb5abf75a567e499237d5aa541340eca33f Mon Sep 17 00:00:00 2001 From: Sean Cavanaugh Date: Mon, 15 May 2023 16:16:48 -0400 Subject: [PATCH] Update apache.yml to allow http traffic (#65) --- .../demo/patching/roles/report_server/tasks/apache.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/collections/ansible_collections/demo/patching/roles/report_server/tasks/apache.yml b/collections/ansible_collections/demo/patching/roles/report_server/tasks/apache.yml index a69a45d..62be5ef 100644 --- a/collections/ansible_collections/demo/patching/roles/report_server/tasks/apache.yml +++ b/collections/ansible_collections/demo/patching/roles/report_server/tasks/apache.yml @@ -1,7 +1,14 @@ --- -- name: Inlcude system variables +- name: Include system variables ansible.builtin.include_vars: "{{ ansible_system }}.yml" +- name: Permit traffic in default zone for http service + ansible.posix.firewalld: + service: http + permanent: true + state: enabled + check_mode: false + - name: Install httpd package ansible.builtin.yum: name: httpd