Only add Debian repositories when installing role in amd64 archs (#212)
This commit is contained in:
parent
50a6338a35
commit
d661ff4db9
@ -2,4 +2,4 @@
|
||||
- name: "(Install: Debian/Ubuntu) Add NGINX Amplify Agent Repository"
|
||||
apt_repository:
|
||||
filename: nginx-amplify
|
||||
repo: deb http://packages.amplify.nginx.com/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} amplify-agent
|
||||
repo: deb [arch=amd64] http://packages.amplify.nginx.com/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} amplify-agent
|
||||
|
@ -2,7 +2,7 @@
|
||||
- name: "(Install: Debian/Ubuntu) Add NGINX Controller Agent Repository"
|
||||
apt_repository:
|
||||
filename: nginx-controller
|
||||
repo: deb https://packages.nginx.org/controller/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} controller
|
||||
repo: deb [arch=amd64] https://packages.nginx.org/controller/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} controller
|
||||
|
||||
- name: "(Install: CentOS/RedHat) Add NGINX Controller Agent Repository"
|
||||
yum_repository:
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: "(Setup: Debian/Ubuntu) Setup NGINX Plus Repository"
|
||||
apt_repository:
|
||||
repo: deb https://plus-pkgs.nginx.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} nginx-plus
|
||||
repo: deb [arch=amd64] https://plus-pkgs.nginx.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} nginx-plus
|
||||
filename: nginx-plus
|
||||
update_cache: no
|
||||
state: "{{ nginx_license_status | default ('present') }}"
|
||||
|
@ -3,5 +3,5 @@
|
||||
apt_repository:
|
||||
repo: "{{ item }}"
|
||||
with_items:
|
||||
- deb https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|
||||
- deb-src https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|
||||
- deb [arch=amd64] https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|
||||
- deb-src [arch=amd64] https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|
||||
|
Loading…
Reference in New Issue
Block a user