From 87777525e8b8e4a34c2b438f7c43fd526f177145 Mon Sep 17 00:00:00 2001 From: Evgeny Kolesnikov Date: Thu, 6 Apr 2023 04:10:34 +0200 Subject: [PATCH] templates/mount_option: Switch mount Ansible remediation module's state back to 'mounted' This might cause problems for offline systems, but we are not going to use Ansible for offline remediation. At least for now. --- shared/templates/mount_option/ansible.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/templates/mount_option/ansible.template b/shared/templates/mount_option/ansible.template index 8cba47d00dc..78f7b15c0cf 100644 --- a/shared/templates/mount_option/ansible.template +++ b/shared/templates/mount_option/ansible.template @@ -55,7 +55,7 @@ path: "{{{ MOUNTPOINT }}}" src: "{{ mount_info.source }}" opts: "{{ mount_info.options }}" - state: "present" + state: "mounted" fstype: "{{ mount_info.fstype }}" when: - (device_name.stdout is defined and (device_name.stdout | length > 0)) or ("{{{ TABFILE }}}" | length == 0)