Skip to content

Commit c06eeec

Browse files
committed
Set repo priority for build repos for AmazonLinux2 envs
1 parent e6c8778 commit c06eeec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • resources/roles/preparation/tasks

resources/roles/preparation/tasks/rhel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
description: "Repository {{ item.name }}"
196196
enabled: yes
197197
gpgcheck: no
198+
priority: "{{ '10' if (ansible_distribution == 'Amazon' and item.name | regex_search('-br(-|$)')) else omit }}"
198199
with_items: "{{ repositories }}"
199200
when: repositories is defined and (repositories | length > 0)
200201

0 commit comments

Comments
 (0)