Skip to content

Commit

Permalink
modified: collections/requirements.yml
Browse files Browse the repository at this point in the history
	new file:   playbooks/rhel8cis.yml
	new file:   roles/requirements.yml
  • Loading branch information
djdanielsson committed Nov 1, 2024
1 parent 7c480cf commit 4a1d6b9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions collections/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ collections:
source: https://github.com/k3s-io/k3s-ansible.git
- name: redhat.satellite_operations
# - name: community.zabbix
- name: community.general
...
10 changes: 10 additions & 0 deletions playbooks/rhel8cis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- name: Apply cis
hosts: all
become: true
roles:
- role: RHEL8-CIS
when:
- ansible_os_family == 'RedHat'
- ansible_distribution_major_version | version_compare('8', '=')
...
5 changes: 5 additions & 0 deletions roles/requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: RHEL8-CIS
scm: git
src: https://github.com/ansible-lockdown/RHEL8-CIS.git
...

0 comments on commit 4a1d6b9

Please sign in to comment.