nsswitch

Ansible Role: Name Service Switch

Configures /etc/nsswitch.conf.

Table of Contents

Requirements

  • Ansible 2.0

Role Variables

nsswitch_passwd:
  - files
  - sss

nsswitch_group:
  - files
  - sss

nsswitch_shadow:
  - files
  - sss

Dependencies

None.

Example Playbook

Add to requirements.yml:

---

- src: idiv_biodiversity.nsswitch

...

Download:

$ ansible-galaxy install -r requirements.yml

Top-Level Playbook

Write a top-level playbook:

---

- name: linux
  hosts: linux

  roles:
    - role: idiv_biodiversity.nsswitch
      tags:
        - nsswitch

...

Role Dependency

Define the role dependency in meta/main.yml:

---

dependencies:

  - role: idiv_biodiversity.nsswitch
    tags:
      - nsswitch

...

License

MIT

Author Information

This role was created in 2017 by Christian Krause aka wookietreiber at GitHub, HPC cluster systems administrator at the German Centre for Integrative Biodiversity Research (iDiv).

About

Name Service Switch

Install
ansible-galaxy install idiv-biodiversity/ansible-role-nsswitch
GitHub repository
License
mit
Downloads
87