mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
Merge pull request #718 from akikanellis/fix-disabling-filesystems-idempotency
Restore idempotency for disabling unused filesystems with Ansible 2.16.0
This commit is contained in:
commit
e98d766c6c
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ ansible_managed | comment }}
|
||||
# Generated by Ansible role {{ ansible_role_name }}
|
||||
|
||||
{% for fs in os_unused_filesystems | difference(os_filesystem_whitelist) %}
|
||||
{% for fs in os_unused_filesystems | difference(os_filesystem_whitelist) | sort %}
|
||||
install {{fs}} /bin/true
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue