Skip to content

Commit

Permalink
stop auditd on redhat/centos
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmalkov committed Feb 11, 2019
1 parent c99c322 commit 78e5acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

- name: Disable auditd service
include: disable_auditd.yml
when: ansible_distribution == 'Amazon'
when:
- ansible_os_family == 'RedHat'
- (ansible_distribution != 'Amazon' or ansible_kernel is search("\.amzn2\."))

- name: Run Apt configure and install Threat Stack
include: apt_install.yml
Expand Down

0 comments on commit 78e5acf

Please sign in to comment.