Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samdoran/ansible-role-nscd
https://github.com/samdoran/ansible-role-nscd
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samdoran/ansible-role-nscd
- Owner: samdoran
- Created: 2016-03-01T04:26:19.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T13:55:58.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T09:14:32.481Z (about 2 months ago)
- Language: Jinja
- Size: 19.5 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NSCD
=========Install the Name Service Cache Daemon.
Requirements
------------None.
Role Variables
--------------| Name | Default Value | Description |
|-------------------|---------------------|----------------------|
| `nscd_logfile` | `/var/log/nscd.log` | Log file location. |
| `nscd_threads` | `4` | Number of threads that start and wait for requests. |
| `nscd_max_threads` | `32` | Max number of threads. |
| `nscd_server_user` | `nscd` | User account that runs `nscd`. |
| `nscd_stat_user` | `somebody` | User who is allowed to request statistics. |
| `nscd_debug_level` | `0` | Debug level (rang. 0-10). |
| `nscd_reload_count` | `5` | Number of times a cached entry is reloaded before it is removed. |
| `nscd_paranoia` | `no` | Whether or not to restart `nscd` periodically. |
| `nscd_restart_interval` | `3600` | Interval in seconds to restart `nscd` if `nscd_paranoia` is set to `yes`. |
| `nscd_services` | `[see /defaults/main.yml]` | Dict of valid service groups and the settings for each group. Valid services are `passwd, group, hosts, services or netgroup.` |Dependencies
------------None.
Example Playbook
----------------- hosts: servers
roles:
- role: samdoran.nscd
vars:
nscd_debug_level: 1
nscd_paranoia: 'yes'License
-------Apache 2.0