mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
replace ignore_errors to failed_when to supress ugly error warnings for 'remove suid/sgid' task
This commit is contained in:
parent
87778593d0
commit
8ebc97c130
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: remove suid/sgid bit from binaries in blacklist
|
||||
file: path='{{item}}' mode='a-s' state=file follow=yes
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
with_items:
|
||||
- '{{ os_security_suid_sgid_system_blacklist }}'
|
||||
- '{{ os_security_suid_sgid_blacklist }}'
|
||||
|
|
Loading…
Reference in a new issue