fix(ansible): follow linting suggestions

This commit is contained in:
Michele Cereda
2024-12-20 20:36:08 +01:00
parent 6194390981
commit 4df6446474
2 changed files with 12 additions and 5 deletions

View File

@@ -7,5 +7,6 @@ warn_list:
- role-name[path] # Avoid using paths when importing roles
- yaml[comments-indentation] # Comment not indented like content
- yaml[brackets] # Too many spaces inside brackets
- yaml[line-length] # Line too long
- package-latest # Package installs should not use latest
- jinja[spacing] # Jinja2 spacing could be improved

View File

@@ -19,6 +19,9 @@
become: true
ansible.builtin.copy:
dest: /etc/zypp/repos.d/amdgpu.repo
owner: root
group: root
mode: u=rw,g=r,o=r
content: |
[amdgpu]
name=amdgpu
@@ -31,6 +34,9 @@
become: true
ansible.builtin.copy:
dest: /etc/zypp/repos.d/rocm.repo
owner: root
group: root
mode: u=rw,g=r,o=r
content: |
[ROCm-{{ drivers_version }}]
name=ROCm{{ drivers_version }}