4
0
Fork 0

Ensure package installed

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-01-23 17:28:52 +00:00
parent 6b219f3261
commit 939a06d372
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

@ -37,6 +37,11 @@
- item in ansible_facts.packages - item in ansible_facts.packages
- rhel9cis_firewall == 'firewalld' - rhel9cis_firewall == 'firewalld'
- name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | package installed"
ansible.builtin.package:
name: "{{ rhel9cis_firewall }}"
state: installed
- name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | {{ rhel9cis_firewall }} started and enabled" - name: "3.4.1.2 | PATCH | Ensure a single firewall configuration utility is in use | {{ rhel9cis_firewall }} started and enabled"
ansible.builtin.systemd: ansible.builtin.systemd:
name: "{{ rhel9cis_firewall }}" name: "{{ rhel9cis_firewall }}"