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 1afb425 commit 9fba827Copy full SHA for 9fba827
tasks/controller/setup-controller-repository.yml
@@ -3,13 +3,15 @@
3
apt_repository:
4
filename: nginx-controller
5
repo: deb [arch=amd64] https://packages.nginx.org/controller/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} controller
6
+ when: ansible_os_family == "Debian"
7
8
- name: "(Install: CentOS/RedHat) Add NGINX Controller Agent Repository"
9
yum_repository:
10
name: nginx-controller
11
baseurl: https://packages.nginx.org/controller/centos/$releasever/$basearch/
12
description: NGINX Controller Agent
13
gpgcheck: yes
14
+ when: ansible_os_family == "RedHat"
15
16
- name: "(Install: All OSs) Install NGINX Controller Agent"
17
package:
0 commit comments