Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-updatedb
Ansible role to manage updatedb in Debian-like systems
https://github.com/oefenweb/ansible-updatedb
ansible debian docker ubuntu updatedb
Last synced: about 1 month ago
JSON representation
Ansible role to manage updatedb in Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-updatedb
- Owner: Oefenweb
- License: mit
- Created: 2014-12-12T22:24:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T14:13:59.000Z (about 2 months ago)
- Last Synced: 2024-11-04T14:38:14.322Z (about 2 months ago)
- Topics: ansible, debian, docker, ubuntu, updatedb
- Language: Dockerfile
- Homepage:
- Size: 85 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## updatedb
[![CI](https://github.com/Oefenweb/ansible-updatedb/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-updatedb/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-updatedb-blue.svg)](https://galaxy.ansible.com/Oefenweb/updatedb)Manage updatedb Debian-like systems.
#### Requirements
* `mlocate` (will be installed)
#### Variables
* `updatedb_prune_bind_mounts` [default: `true`]: Whether or not bind mounts are scanned
* `updatedb_prunenames` [default: `[]`]: A list of directory names (without paths) which should not be scanned (e.g. `.git`, `.bzr`, `.hg`, `.svn`)
* `updatedb_prunepaths` [default: `[/tmp, /var/spool, /media, /home/.ecryptfs]`]: A list of path names of directories which should not be scanned
* `updatedb_prunefs` [default: `[NFS, nfs, nfs4, rpc_pipefs, afs, binfmt_misc, proc, smbfs, autofs, iso9660, ncpfs, coda, devpts, ftpfs, devfs, mfs, shfs, sysfs, cifs, lustre_lite, tmpfs, usbfs, udf, fuse.glusterfs, fuse.sshfs, curlftpfs, ecryptfs, fusesmb, devtmpfs]`]: A list of file system types (as used in /etc/mtab) which should not be scanned## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.updatedb
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-updatedb/issues)!