Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 894 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 894 Bytes

ubuntu_nis

Install a nis master and a set of nis clients. A secondary master could be enabled. Tested on ubuntu20 intances.

Requirements

Specifically written for ubuntu20. May not work for other systems.

Role Variables

Set master_host as the master and group clients in client_group. Must set subnet_ip, subnet_mask, and master_ip to fit the actual configuration. In case that a secondary master is needed, set secondary_host.

Dependencies

None.

Example Playbook

- hosts: all
  become: yes
  roles:
    - role: wdlingit.ubuntu_nis
      master_host: master
      secondary_host: secondary
      client_group: client_group_defined_in_hosts
      nisdomain: mydomain
      subnet_ip: 10.0.0.0
      subnet_mask: 255.255.255.0
      master_ip: 10.0.0.1

License

MIT