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:
@@ -7,5 +7,6 @@ warn_list:
|
|||||||
- role-name[path] # Avoid using paths when importing roles
|
- role-name[path] # Avoid using paths when importing roles
|
||||||
- yaml[comments-indentation] # Comment not indented like content
|
- yaml[comments-indentation] # Comment not indented like content
|
||||||
- yaml[brackets] # Too many spaces inside brackets
|
- yaml[brackets] # Too many spaces inside brackets
|
||||||
|
- yaml[line-length] # Line too long
|
||||||
- package-latest # Package installs should not use latest
|
- package-latest # Package installs should not use latest
|
||||||
- jinja[spacing] # Jinja2 spacing could be improved
|
- jinja[spacing] # Jinja2 spacing could be improved
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/zypp/repos.d/amdgpu.repo
|
dest: /etc/zypp/repos.d/amdgpu.repo
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=r,o=r
|
||||||
content: |
|
content: |
|
||||||
[amdgpu]
|
[amdgpu]
|
||||||
name=amdgpu
|
name=amdgpu
|
||||||
@@ -31,6 +34,9 @@
|
|||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/zypp/repos.d/rocm.repo
|
dest: /etc/zypp/repos.d/rocm.repo
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=r,o=r
|
||||||
content: |
|
content: |
|
||||||
[ROCm-{{ drivers_version }}]
|
[ROCm-{{ drivers_version }}]
|
||||||
name=ROCm{{ drivers_version }}
|
name=ROCm{{ drivers_version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user