ahuffman.yp
ahuffman.yp
This is an Ansible role designed to set up the yp.conf file and the ypbind NIS service.
Role Variables
| Variable Name | Description | Required | Default Value | Type |
|---|---|---|---|---|
| yp_bind_pkg | The package name for ypbind. You can change this to a specific package name.version if needed based on your distribution. |
no | ypbind | string |
| yp_bind_svc | The name of the ypbind service. |
no | ypbind | string |
| yp_nisdomain | The NIS Domain name. | yes | "" | string |
| yp_nisserver | A list of NIS servers for your domain. | yes | [] | list |
| yp_domain_broadcast | Whether to use broadcast in your local domain. | no | False | boolean |
| yp_domain_slp | To query the local SLP server for ypserver that supports the NIS DOMAIN. |
no | False | boolean |
| yp_server | The hostname of your local domain server. Must be included in /etc/hosts (see man yp.conf). |
yes | "" | string |
| yp_broadcast | If no server for the default domain is specified or none are reachable, attempt a broadcast call to find a server. | no | False | boolean |
| yp_conf_path | The path to your yp configuration file. |
no | "/etc/yp.conf" | string |
Example Playbook
- name: "Set up yp.conf on my servers"
hosts: all
roles:
- role: "ahuffman.yp"
yp_nisdomain: "mydomain.com"
yp_nisserver:
- "nis1.mydomain.com"
- "nis2.mydomain.com"
yp_domain_broadcast: True
yp_domain_slp: True
yp_broadcast: True
License
Author
Installa
ansible-galaxy install ahuffman.ypLicenza
mit
Download
219
Proprietario
