Make disabling unused filesystems idempotent
The `os_unused_filesystems` was lacking sorting, making the task not idempotent. This was especially apparent and random in Molecule tests when this collection was added as a dependency. Signed-off-by: Aki Kanellis <[email protected]>
This commit is contained in:
1 parent
dc432ba71c
commit
a15159d072
1 file changed
+1
-1
@@ -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 %}
|
||||
Reference in new issue
Block a user