Do not run commands unconditionally.
This commit is contained in:
parent
3b5c78e1a3
commit
1f6d262ad4
2 changed files with 15 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue