RedHatOfficial.rhel9-pci-dss
PCI-DSS v4.0 Setup for Red Hat Enterprise Linux 9
Ansible Role for PCI-DSS v4.0 Setup on Red Hat Enterprise Linux 9
Profile Overview:
The Payment Card Industry Data Security Standard (PCI-DSS) is a collection of
rules aimed at ensuring the safe handling of payment card information. The goal is to prevent data leaks and protect sensitive financial data.
This profile makes sure that Red Hat Enterprise Linux 9 is set up according to PCI-DSS v4.0 standards.
The tasks used in this configuration are created using OpenSCAP. For more details on how Ansible playbooks are generated, visit OpenSCAP project.
If you want to propose changes or improvements for an Ansible task that isn’t working or is missing in this role, check out the ComplianceAsCode project at ComplianceAsCode.
Requirements
- Ansible version 2.9 or newer
Role Variables
To adjust the role to your needs, see the list of variables.
Dependencies
None
Example Role Usage
Run ansible-galaxy install RedHatOfficial.rhel9_pci_dss
to
download and set up the role. After that, you can use this snippet in your playbook to run the Ansible role:
- hosts: all
roles:
- { role: RedHatOfficial.rhel9_pci_dss }
Next, check the playbook using (on your local machine) the following command:
ansible-playbook -i "localhost," -c local --check playbook.yml
To actually apply it (be careful, this may change your local machine's configuration!):
ansible-playbook -i "localhost," -c local playbook.yml
License
BSD-3-Clause
Author Information
This Ansible setup role was created based on security policies from the ComplianceAsCode project. For a current list of authors and contributors, please visit Contributors.
PCI-DSS v3.2.1 Control Baseline for Red Hat Enterprise Linux 9
ansible-galaxy install RedHatOfficial.rhel9-pci-dss