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:
schurzi 2023-11-21 12:20:42 +01:00 committed by GitHub
commit e98d766c6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
# Generated by Ansible role {{ ansible_role_name }} # 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 install {{fs}} /bin/true
{% endfor %} {% endfor %}