Install NGINX Unit on Amazon Linux 2
This commit is contained in:
parent
962518e5e1
commit
a5fe8d20b2
@ -11,7 +11,7 @@
|
|||||||
- name: "(Install: Amazon Linux) Add NGINX Unit Repository"
|
- name: "(Install: Amazon Linux) Add NGINX Unit Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: unit
|
name: unit
|
||||||
baseurl: https://packages.nginx.org/unit/amzn/$releasever/$basearch/
|
baseurl: https://packages.nginx.org/unit/amzn{{ (ansible_distribution_version == "2") | ternary('2', '') }}/$releasever/$basearch/
|
||||||
description: NGINX Unit Repository
|
description: NGINX Unit Repository
|
||||||
enabled: yes
|
enabled: yes
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user