Skip to content

Commit

Permalink
[OpenSUSE Leap] ovt_verify_install failed on opensuse-15.6-BETA-64bit (
Browse files Browse the repository at this point in the history
…#561)

Signed-off-by: ZouYuhua <[email protected]>
  • Loading branch information
ZouYuhua authored Mar 27, 2024
1 parent 86ebc00 commit e3d9b8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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']

0 comments on commit e3d9b8c

Please sign in to comment.