idiv_biodiversity.nsswitch

Ansible Role: Name Service Switch

This role configures the file /etc/nsswitch.conf.

Table of Contents

Requirements

  • Ansible version 2.0 or higher.

Role Variables

You can set the following variables in your playbook:

nsswitch_passwd:
  - files
  - sss

nsswitch_group:
  - files
  - sss

nsswitch_shadow:
  - files
  - sss

Dependencies

This role does not have any dependencies.

Example Playbook

First, add it to requirements.yml:

---

- src: idiv_biodiversity.nsswitch

...

To download the role, run this command:

$ ansible-galaxy install -r requirements.yml

Top-Level Playbook

You can create a top-level playbook like this:

---

- name: linux
  hosts: linux

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

...

Role Dependency

To define the role dependency, update meta/main.yml with:

---

dependencies:

  - role: idiv_biodiversity.nsswitch
    tags:
      - nsswitch

...

License

This role is licensed under the MIT License.

Author Information

This role was created in 2017 by Christian Krause, also known as wookietreiber on GitHub, who is an HPC cluster systems administrator at the German Centre for Integrative Biodiversity Research (iDiv).

Informazioni sul progetto

Name Service Switch

Installa
ansible-galaxy install idiv_biodiversity.nsswitch
Licenza
mit
Download
103