Skip to content

Commit 4570203

Browse files
committed
shell command mod
1 parent cc0c7b0 commit 4570203

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tasks/prerequisites/setup-selinux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@
8484

8585
- name: "(Install: SELinux: Custom) Generate policy"
8686
shell:
87+
cmd: cat /var/log/audit/audit.log | audit2allow -M local
88+
chdir: /tmp/
8789
args:
88-
chdir: /tmp/
89-
executable: bash
90-
cmd: cat /var/log/audit/audit.log | audit2allow -M local
90+
executable: /bin/bash
91+
9192

9293
- name: "(Install: SELinux: Custom) Apply local policy"
9394
command: semodule -i /tmp/local.pp

0 commit comments

Comments
 (0)