Skip to content

Commit

Permalink
Merge pull request #718 from akikanellis/fix-disabling-filesystems-id…
Browse files Browse the repository at this point in the history
…empotency

Restore idempotency for disabling unused filesystems with Ansible 2.16.0
  • Loading branch information
schurzi authored Nov 21, 2023
2 parents dc432ba + a15159d commit e98d766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/os_hardening/templates/etc/modprobe.d/modprobe.j2
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit e98d766

Please sign in to comment.