Skip to content

Commit

Permalink
templates/mount_option: Switch mount Ansible remediation module's sta…
Browse files Browse the repository at this point in the history
…te 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.
  • Loading branch information
evgenyz authored and Mab879 committed Apr 6, 2023
1 parent c1a56a6 commit 8777752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/templates/mount_option/ansible.template
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8777752

Please sign in to comment.