Install NGINX Unit on Amazon Linux 2

This commit is contained in:
Alessandro Fael Garcia 2018-07-18 13:35:04 -07:00
parent 962518e5e1
commit a5fe8d20b2

View File

@ -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