From 71ebf8192785792607314477d0d5474bd8172f32 Mon Sep 17 00:00:00 2001 From: "Qi (Keira) Zhang" Date: Thu, 11 May 2023 10:55:45 +0800 Subject: [PATCH] Add back VMware Photon OS 5.0 online repo photon.repo (#463) Signed-off-by: Qi Zhang --- linux/utils/add_official_online_repo.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/linux/utils/add_official_online_repo.yml b/linux/utils/add_official_online_repo.yml index 4ff44a441..dbc4d3474 100644 --- a/linux/utils/add_official_online_repo.yml +++ b/linux/utils/add_official_online_repo.yml @@ -188,7 +188,7 @@ - name: "Set the fact of VMware Photon OS {{ guest_os_ansible_distribution_major_ver }} online repositories" ansible.builtin.set_fact: - photon_online_repos: ["photon-release", "photon-updates"] + photon_online_repos: ["photon", "photon-release", "photon-updates"] when: guest_os_ansible_distribution_major_ver | int >= 4 - name: "Enable VMware Photon OS online repositories" @@ -200,15 +200,6 @@ option_value: 1 with_items: "{{ photon_online_repos }}" - - name: "Disable VMware Photon OS online repository - photon.repo" - include_tasks: ../../common/update_ini_style_file.yml - vars: - file_path: "/etc/yum.repos.d/photon.repo" - section_name: "photon" - option_name: "enabled" - option_value: 0 - when: guest_os_ansible_distribution_major_ver | int == 5 - - name: "Update baseurl to repositories on https://packages.vmware.com/photon" block: - name: "Update repo's baseurl"