Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenSUSE Leap] ovt_verify_install failed on opensuse-15.6-BETA-64bit #561

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion linux/open_vm_tools/install_ovt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
block:
- name: "Add a local package repository from ISO image for {{ guest_os_ansible_distribution }}"
include_tasks: ../utils/add_local_dvd_repo.yml
when: guest_os_ansible_distribution in ['SLES', 'SLED', 'RedHat', 'Rocky', 'AlmaLinux']
when: guest_os_ansible_distribution in ['SLES', 'SLED', 'RedHat', 'Rocky', 'AlmaLinux', 'openSUSE Leap']
- name: "Add online package repositories for {{ guest_os_ansible_distribution }}"
include_tasks: ../utils/add_official_online_repo.yml
when: guest_os_ansible_distribution in ['OracleLinux', 'Ubuntu']
Expand Down
7 changes: 4 additions & 3 deletions linux/utils/add_local_dvd_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@
ansible.builtin.set_fact:
dvd_repo_name: "{{ guest_os_ansible_distribution }}-{{ guest_os_ansible_distribution_ver }}-dvd"

# Add repo from CDROM for RHEL/SLES/SLED/Rocky/AlmaLinux
- block:
# Add repo from CDROM for RHEL/SLES/SLED/Rocky/AlmaLinux/openSUSE Leap
- name: "Add repo from CDROM for {{ guest_os_ansible_distribution }}"
when: guest_os_ansible_distribution in ['RedHat', 'SLES', 'SLED', 'Rocky', 'AlmaLinux', 'openSUSE Leap']
block:
# Find the dir having repodata
- name: "Find repodata in {{ guest_cdrom_mount_path }}"
ansible.builtin.command: "find {{ guest_cdrom_mount_path }} -name repodata"
Expand All @@ -131,4 +133,3 @@
with_items: "{{ find_repodata_result.stdout_lines }}"
loop_control:
loop_var: repodata_path
when: guest_os_ansible_distribution in ['RedHat', 'SLES', 'SLED', 'Rocky', 'AlmaLinux']