Skip to content

Commit

Permalink
fix: add back systemd refresh after remove obsolete mounts
Browse files Browse the repository at this point in the history
Turns out that the systemd refresh removed as part of
linux-system-roles#352
was needed.  This fix adds it back.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
  • Loading branch information
richm committed May 23, 2023
1 parent cedb313 commit 3706559
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/main-blivet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
loop_control:
loop_var: mount_info

- name: Tell systemd to refresh its view of /etc/fstab
systemd:
daemon_reload: true
when: blivet_output['mounts']

- name: Set up new/current mounts
mount: # noqa fqcn
src: "{{ mount_info['src'] | default(omit) }}"
Expand Down

0 comments on commit 3706559

Please sign in to comment.