Skip to content

Commit b3d927d

Browse files
authored
Merge pull request #49 from threatstack/auditd-redhat-centos
Stop auditd on redhat/centos
2 parents c99c322 + 78e5acf commit b3d927d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
- name: Disable auditd service
1010
include: disable_auditd.yml
11-
when: ansible_distribution == 'Amazon'
11+
when:
12+
- ansible_os_family == 'RedHat'
13+
- (ansible_distribution != 'Amazon' or ansible_kernel is search("\.amzn2\."))
1214

1315
- name: Run Apt configure and install Threat Stack
1416
include: apt_install.yml

0 commit comments

Comments
 (0)