Fix lint issues

This commit is contained in:
Houssem Ben Ali 2025-10-01 10:20:33 +02:00
parent f04ad931db
commit e1515e97b9
No known key found for this signature in database
GPG Key ID: 049BFBE52CB08FC1
2 changed files with 5 additions and 4 deletions

View File

@ -15,11 +15,11 @@
repo: "{{ docker_zypper_repo_url }}" repo: "{{ docker_zypper_repo_url }}"
state: present state: present
auto_import_keys: yes auto_import_keys: yes
when: docker_add_repo | bool when: docker_add_repo | bool == true
- name: Refresh zypper repositories. - name: Refresh zypper repositories.
command: zypper --non-interactive refresh command: zypper --non-interactive refresh
when: docker_add_repo | bool when: docker_add_repo | bool == true
- name: Ensure Docker packages are installed. - name: Ensure Docker packages are installed.
ansible.legacy.zypper: ansible.legacy.zypper:

View File

@ -30,6 +30,7 @@ docker_suse_release: >-
# Official repo for openSUSE Leap (adjust $releasever if needed) # Official repo for openSUSE Leap (adjust $releasever if needed)
docker_zypper_repo_url: "https://download.opensuse.org/repositories/Virtualization:/containers/{{ docker_suse_release }}/" docker_zypper_repo_url: >-
https://download.opensuse.org/repositories/Virtualization:/containers/{{ docker_suse_release }}/
docker_add_repo: true docker_add_repo: true