We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54d04a3 + 7cd6317 commit a888287Copy full SHA for a888287
.kitchen.yml
@@ -60,7 +60,6 @@ platforms:
60
- yum install -y audit initscripts
61
- sed -i 's/local_events = yes/local_events = no/g' /etc/audit/auditd.conf
62
- systemctl enable auditd.service
63
- image: centos:7
64
- name: centos-7
65
driver_config:
66
image: centos:7
tasks/disable_auditd.yml
@@ -9,11 +9,13 @@
9
- name: Stop service auditd
10
command: service auditd stop
11
when: auditd_status.rc == 0
12
+ ignore_errors: "{{ ansible_check_mode }}"
13
args:
14
warn: no
15
16
- name: Disable service auditd
17
command: systemctl disable auditd
18
19
20
21
0 commit comments