mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
fix(ansible): follow linting suggestions
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
|
||||
offline: true
|
||||
warn_list:
|
||||
- name[template] # Jinja templates should only be at the end of 'name'
|
||||
- role-name[path] # Avoid using paths when importing roles
|
||||
- name[template] # Jinja templates should only be at the end of 'name'
|
||||
- role-name[path] # Avoid using paths when importing roles
|
||||
- yaml[comments-indentation] # Comment not indented like content
|
||||
- yaml[brackets] # Too many spaces inside brackets
|
||||
- package-latest # Package installs should not use latest
|
||||
- jinja[spacing] # Jinja2 spacing could be improved
|
||||
- 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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user