Patch EC2 Workflow (#75)

Co-authored-by: zjleblanc <zjleblanc3@gmail.com>
Co-authored-by: willtome <wtome@redhat.com>
This commit is contained in:
Zach LeBlanc
2023-09-11 15:00:17 -05:00
committed by GitHub
parent a78e74e782
commit 7e4399eac2
9 changed files with 295 additions and 3 deletions

View File

@@ -29,9 +29,22 @@
- ansible_local.insights.system_id is defined
- name: Deploy report server
when: not ansible_check_mode
delegate_to: "{{ report_server }}"
run_once: true # noqa: run-once[task]
block:
- name: Install firewall dependencies
ansible.builtin.dnf:
name:
- firewalld
- python3-firewall
state: present
- name: Start firewalld
ansible.builtin.service:
name: firewalld
state: started
- name: Build report server
ansible.builtin.include_role:
name: "{{ item }}"