nvidia-driver

Ansible Role: NVIDIA Driver

An Ansible role that installs the NVIDIA driver.

Table of Contents

Requirements

  • Ansible 2.9

Role Variables

Whether or not to install the driver:

nvidia_driver_install: yes

NVIDIA driver type, possible other value is tesla:

nvidia_driver_version: 'XFree86'

NVIDIA driver version:

nvidia_driver_version: '387.22'

The download directory to which the driver installation package will be downloaded:

nvidia_driver_download_dir: '/var/cache/nvidia'

Whether or not to remove the gcc package after installation:

nvidia_driver_build_remove_gcc: no

Dependencies

---

# requirements.yml

collections:

  - name: community.general
    version: X.Y.Z

roles:

  - name: idiv_biodiversity.nvidia_driver
    src: https://github.com/idiv-biodiversity/ansible-role-nvidia-driver
    version: vX.Y.Z

...

Example Playbook

Top-Level Playbook

Write a top-level playbook:

---

- name: compute nodes
  hosts: compute
  roles:
    - role: idiv_biodiversity.nvidia_driver
      tags:
        - nvidia-driver

...

Role Dependency

Define the role dependency in meta/main.yml:

---

dependencies:

  - role: idiv_biodiversity.nvidia_driver
    tags:
      - nvidia-driver

...

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

install NVIDIA driver

Install
ansible-galaxy install idiv-biodiversity/ansible-role-nvidia-driver
GitHub repository
License
Unknown
Downloads
4152