diff --git a/.ansible-lint b/.ansible-lint index 3b16eab..0dc69f8 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -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 diff --git a/ansible/playbooks/amdgpu.install.yml b/ansible/playbooks/amdgpu.install.yml index 96a8dfb..797242e 100644 --- a/ansible/playbooks/amdgpu.install.yml +++ b/ansible/playbooks/amdgpu.install.yml @@ -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 }}