We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962518e commit a5fe8d2Copy full SHA for a5fe8d2
tasks/unit/setup-redhat.yml
@@ -11,7 +11,7 @@
11
- name: "(Install: Amazon Linux) Add NGINX Unit Repository"
12
yum_repository:
13
name: unit
14
- baseurl: https://packages.nginx.org/unit/amzn/$releasever/$basearch/
+ baseurl: https://packages.nginx.org/unit/amzn{{ (ansible_distribution_version == "2") | ternary('2', '') }}/$releasever/$basearch/
15
description: NGINX Unit Repository
16
enabled: yes
17
gpgcheck: yes
0 commit comments