diff --git a/linux/utils/get_guest_ovt_version_build.yml b/linux/utils/get_guest_ovt_version_build.yml index 9e99d5f0c..8fc0821da 100644 --- a/linux/utils/get_guest_ovt_version_build.yml +++ b/linux/utils/get_guest_ovt_version_build.yml @@ -33,7 +33,7 @@ # Neither ovt_verify_pkg_install or ovt_verify_src_install was executed in current testing - name: "Get open-vm-tools install type on {{ guest_os_ansible_distribution }}" when: - - guest_os_ansible_distribution != 'Flatcar' + - guest_os_ansible_distribution not in ['Flatcar', 'RHCOS'] - ovt_install_type is undefined block: - name: "Get open-vm-tools package info" @@ -49,7 +49,7 @@ - name: "Set fact of open-vm-tools install type to 'package' for Flatcar" ansible.builtin.set_fact: vmtools_install_type: "package" - when: guest_os_ansible_distribution == 'Flatcar' + when: guest_os_ansible_distribution in ['Flatcar', 'RHCOS'] # Either ovt_verify_pkg_install or ovt_verify_src_install was executed in current testing - name: "Set fact of open-vm-tools install type to '{{ ovt_install_type }}' for {{ guest_os_ansible_distribution }}"