25d3eafa5b
- Implemented tasks for managing Ubuntu containers using Podman, including inspection, creation, starting, and SSH setup. - Added verification tasks for WSL and Podman installation, machine existence, and NSSM service status. - Created PowerShell scripts for Podman auto-start on Windows boot. - Introduced Prometheus role with default configurations and installation tasks. - Updated Windows SSH role to improve authorized_keys management and permissions handling. - Modified inventory to include Windows containers host. - Updated Grafana datasource configurations with direct IP addresses for Prometheus instances.
30 lines
733 B
YAML
30 lines
733 B
YAML
---
|
|
- name: Add ROCm repository (yum)
|
|
become: true
|
|
ansible.builtin.yum_repository:
|
|
name: rocm
|
|
description: ROCm Repository
|
|
baseurl: "{{ rocm_repo_baseurl }}"
|
|
gpgcheck: true
|
|
gpgkey: "{{ rocm_repo_gpgkey }}"
|
|
enabled: true
|
|
state: present
|
|
|
|
- name: Add AMD Graphics repository (yum)
|
|
when: ansible_pkg_mgr == 'yum'
|
|
become: true
|
|
ansible.builtin.yum_repository:
|
|
name: rocmgraphics
|
|
description: AMD Graphics Repository
|
|
baseurl: "{{ rocmgraphics_repo_baseurl }}"
|
|
gpgkey: "{{ rocm_repo_gpgkey }}"
|
|
gpgcheck: true
|
|
enabled: true
|
|
state: present
|
|
|
|
- name: Install rocm-dkms and dependencies
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: "{{ rocm_packages }}"
|
|
state: present
|