19 lines
411 B
YAML
19 lines
411 B
YAML
|
|
---
|
||
|
|
- name: GPU Monitoring Stack Setup
|
||
|
|
hosts: gpu_monitoring
|
||
|
|
gather_facts: true
|
||
|
|
become: true
|
||
|
|
|
||
|
|
pre_tasks:
|
||
|
|
- name: Check that host is Fedora
|
||
|
|
ansible.builtin.assert:
|
||
|
|
that:
|
||
|
|
- ansible_os_family == "RedHat"
|
||
|
|
fail_msg: "This playbook only supports RedHat-family OS (Fedora)."
|
||
|
|
|
||
|
|
roles:
|
||
|
|
- role: "gpu_monitoring"
|
||
|
|
tags:
|
||
|
|
- roles
|
||
|
|
- roles::gpu_monitoring
|