Skip to content

Commit

Permalink
Fixing AgnosticD code with variable to choose correct package for bot…
Browse files Browse the repository at this point in the history
…h RhEL8 or RHEL 9 (#9027)

* Install rhel/9 package for Azure CLI repository

* Update pre_software.yml to any version

---------

Co-authored-by: Andrew Jones <[email protected]>
  • Loading branch information
d-jana and andrew-jones authored Feb 4, 2025
1 parent 8d70cfb commit 0515b22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
- name: Add Azure CLI repository
ansible.builtin.yum:
state: present
name: https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
name: https://packages.microsoft.com/config/rhel/{{ ansible_facts['distribution_major_version'] }}/packages-microsoft-prod.rpm
retries: 5

- name: Install Azure CLI package
Expand Down

0 comments on commit 0515b22

Please sign in to comment.