Skip to content

Commit

Permalink
templates/mount_option: Switch mount Ansible remediation module's state
Browse files Browse the repository at this point in the history
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 committed Apr 6, 2023
1 parent 40fa43c commit 858ff21
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 858ff21

Please sign in to comment.