Notify to update mlocate database.
This commit is contained in:
parent
681bb83a96
commit
c1583ef410
|
@ -100,7 +100,7 @@ sudo multitail -s 2 /var/log/auth.log /var/log/syslog /var/log/mail.log
|
|||
|
||||
Based on the [Oefenweb module][oefenweb ansible updatedb], thanks !
|
||||
|
||||
* Set the default configuration file for *updatedb*.
|
||||
* Set the default configuration file for *updatedb* and update the database for Mlocate with an handler.
|
||||
* Ensure to not scan some path, directories and filesystem.
|
||||
|
||||
## Development
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
- name: update mlocate db
|
||||
command: updatedb
|
|
@ -35,5 +35,6 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
backup: true
|
||||
notify: update mlocate db
|
||||
|
||||
# }}}
|
||||
|
|
Reference in New Issue