-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathlinuxcompliance.yml
48 lines (41 loc) · 1.12 KB
/
linuxcompliance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- name: Perform Compliance Scans
hosts: all
strategy: free
tasks:
- name: PCI Compliance RHEL7
ansible.builtin.include_role:
name: shadowman_pci_rhel7
when:
- compliance == "PCI"
- os is match(".*7.*")
- name: PCI Compliance RHEL8
ansible.builtin.include_role:
name: shadowman_pci_rhel8
when:
- compliance == "PCI"
- os is match(".*8.*")
- name: NIST Compliance RHEL7
ansible.builtin.include_role:
name: shadowman_nist_rhel7
when:
- compliance == "NIST"
- os is match(".*7.*")
- name: NIST Compliance RHEL8
ansible.builtin.include_role:
name: shadowman_nist_rhel8
when:
- compliance == "NIST"
- os is match(".*8.*")
- name: CIS Compliance RHEL7
ansible.builtin.include_role:
name: shadowman_cis_rhel7
when:
- compliance == "CIS"
- os is match(".*7.*")
- name: CIS Compliance RHEL8
ansible.builtin.include_role:
name: shadowman_cis_rhel8
when:
- compliance == "CIS"
- os is match(".*8.*")