Skip to content

Commit

Permalink
Support the new generic cis profile (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlojau committed May 23, 2024
1 parent c664a41 commit 88e70d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rke2_common/tasks/cis-hardening.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: CIS MODE
become: yes
when: rke2_config.profile | default("") | regex_search('cis-\\d+.\\d+')
when: rke2_config.profile | default("") | regex_search('^cis(-\\d+.\\d+)?$')
block:

- name: Create etcd group
Expand Down

0 comments on commit 88e70d3

Please sign in to comment.