Skip to content

Commit

Permalink
fix: amazonlinux 2022 repo
Browse files Browse the repository at this point in the history
  • Loading branch information
gardar authored and bbaassssiiee committed Oct 6, 2022
1 parent c3cd9e7 commit ca78fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ vault_os_packages:

_vault_repository_url: "{% if (ansible_distribution | lower == 'fedora') %}\
https://rpm.releases.hashicorp.com/fedora/$releasever/$basearch/stable\
{% elif (ansible_distribution | lower in ['amazon','amazonlinux']) %}\
https://rpm.releases.hashicorp.com/AmazonLinux/$releasever/$basearch/stable
{% elif (ansible_distribution | lower == 'amazon') %}\
https://rpm.releases.hashicorp.com/AmazonLinux/{{ '$releasever' if (ansible_distribution_major_version | length <= 1) else 'latest' }}/$basearch/stable
{% else %}\
https://rpm.releases.hashicorp.com/RHEL/$releasever/$basearch/stable\
{% endif %}"
Expand Down

0 comments on commit ca78fd0

Please sign in to comment.