Do not run commands unconditionally.

This commit is contained in:
Andreas B. Mundt 2023-07-23 09:49:05 +02:00
parent 3b5c78e1a3
commit 1f6d262ad4
2 changed files with 15 additions and 10 deletions

View file

@ -1,10 +1,18 @@
- name: run update-grub
- name: Run update-grub
command: update-grub
listen: update grub
- name: enable tmp.mount
- name: Enable tmp.mount
systemd:
daemon_reload: yes
name: tmp.mount
enabled: yes
listen: enable tmp.mount
- name: Run update-desktop-database
command: update-desktop-database "{ item }"
loop:
- /usr/local/share/applications
- /usr/local/share/desktop-directories
- /etc/xdg/menus/applications-merged
listen: update-desktop-database