Add support to the role for RHEL 8 and Alpine Linux (#129)
* Add support to the role for RHEL 8 and Alpine Linux * Add NGINX Open Source support for Alpine Linux * Add NGINX Open Source support for SLES 15 * Update supported platforms matrix
This commit is contained in:
parent
df98f1a244
commit
f3ec78e7ae
99
README.md
99
README.md
@ -20,14 +20,19 @@ It supports all platforms supported by [NGINX Open Source](https://nginx.org/en/
|
|||||||
**NGINX Open Source**
|
**NGINX Open Source**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Alpine:
|
||||||
|
versions:
|
||||||
|
- 3.8
|
||||||
|
- 3.9
|
||||||
CentOS:
|
CentOS:
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7.4+
|
||||||
RedHat:
|
RedHat:
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7.4+
|
||||||
|
- 8
|
||||||
Debian:
|
Debian:
|
||||||
versions:
|
versions:
|
||||||
- jessie
|
- jessie
|
||||||
@ -36,62 +41,69 @@ Ubuntu:
|
|||||||
versions:
|
versions:
|
||||||
- trusty
|
- trusty
|
||||||
- xenial
|
- xenial
|
||||||
- artful
|
|
||||||
- bionic
|
- bionic
|
||||||
SUSE/SLES:
|
SUSE/SLES:
|
||||||
versions:
|
versions:
|
||||||
- 12
|
- 12
|
||||||
|
- 15
|
||||||
FreeBSD:
|
FreeBSD:
|
||||||
versions:
|
versions:
|
||||||
- 10
|
- 11.2+
|
||||||
- 11
|
- 12
|
||||||
```
|
```
|
||||||
|
|
||||||
**NGINX Plus**
|
**NGINX Plus**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Alpine:
|
||||||
|
versions:
|
||||||
|
- 3.8
|
||||||
|
- 3.9
|
||||||
|
Amazon Linux:
|
||||||
|
versions:
|
||||||
|
- 2018.03
|
||||||
|
Amazon Linux 2:
|
||||||
|
versions:
|
||||||
|
- LTS
|
||||||
CentOS:
|
CentOS:
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6.5+
|
||||||
- 7
|
- 7.4+
|
||||||
RedHat:
|
|
||||||
versions:
|
|
||||||
- 6
|
|
||||||
- 7
|
|
||||||
Debian:
|
Debian:
|
||||||
versions:
|
versions:
|
||||||
- jessie
|
- jessie
|
||||||
- stretch
|
- stretch
|
||||||
|
FreeBSD:
|
||||||
|
versions:
|
||||||
|
- 11.2+
|
||||||
|
- 12
|
||||||
|
Oracle Linux:
|
||||||
|
versions:
|
||||||
|
- 6.5+
|
||||||
|
- 7.4+
|
||||||
|
RedHat:
|
||||||
|
versions:
|
||||||
|
- 6.5+
|
||||||
|
- 7.4+
|
||||||
|
- 8
|
||||||
|
SUSE/SLES:
|
||||||
|
versions:
|
||||||
|
- 12
|
||||||
|
- 15
|
||||||
Ubuntu:
|
Ubuntu:
|
||||||
versions:
|
versions:
|
||||||
- trusty
|
- trusty
|
||||||
- xenial
|
- xenial
|
||||||
- artful
|
|
||||||
- bionic
|
- bionic
|
||||||
Oracle Linux:
|
|
||||||
versions:
|
|
||||||
- 6.5
|
|
||||||
- 7
|
|
||||||
Amazon Linux:
|
|
||||||
versions:
|
|
||||||
- 2018.03
|
|
||||||
SUSE/SLES:
|
|
||||||
versions:
|
|
||||||
- 12
|
|
||||||
FreeBSD:
|
|
||||||
versions:
|
|
||||||
- 10
|
|
||||||
- 11
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**NGINX Amplify**
|
**NGINX Amplify**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
CentOS:
|
Amazon Linux:
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 2017.09
|
||||||
- 7
|
CentOS:
|
||||||
RedHat:
|
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
@ -103,21 +115,25 @@ Ubuntu:
|
|||||||
versions:
|
versions:
|
||||||
- trusty
|
- trusty
|
||||||
- xenial
|
- xenial
|
||||||
- artful
|
- bionic
|
||||||
- bionic
|
RedHat:
|
||||||
Amazon Linux:
|
|
||||||
versions:
|
versions:
|
||||||
- 2017.09
|
- 6
|
||||||
|
- 7
|
||||||
```
|
```
|
||||||
|
|
||||||
**NGINX Controller**
|
**NGINX Controller**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Amazon Linux:
|
||||||
|
versions:
|
||||||
|
- 2017.09
|
||||||
|
Amazon Linux 2:
|
||||||
|
versions:
|
||||||
|
- LTS
|
||||||
CentOS:
|
CentOS:
|
||||||
versions:
|
versions:
|
||||||
- 7
|
- 6
|
||||||
RedHat:
|
|
||||||
versions:
|
|
||||||
- 7
|
- 7
|
||||||
Debian:
|
Debian:
|
||||||
versions:
|
versions:
|
||||||
@ -126,7 +142,11 @@ Debian:
|
|||||||
Ubuntu:
|
Ubuntu:
|
||||||
versions:
|
versions:
|
||||||
- xenial
|
- xenial
|
||||||
- artful
|
- bionic
|
||||||
|
RedHat:
|
||||||
|
versions:
|
||||||
|
- 6
|
||||||
|
- 7
|
||||||
```
|
```
|
||||||
|
|
||||||
**NGINX Unit**
|
**NGINX Unit**
|
||||||
@ -147,11 +167,12 @@ Debian:
|
|||||||
Ubuntu:
|
Ubuntu:
|
||||||
versions:
|
versions:
|
||||||
- xenial
|
- xenial
|
||||||
- artful
|
|
||||||
- bionic
|
- bionic
|
||||||
Amazon Linux:
|
Amazon Linux:
|
||||||
versions:
|
versions:
|
||||||
- 2018.03
|
- 2018.03
|
||||||
|
Amazon Linux 2:
|
||||||
|
versions:
|
||||||
- 2
|
- 2
|
||||||
FreeBSD:
|
FreeBSD:
|
||||||
versions:
|
versions:
|
||||||
|
@ -29,22 +29,23 @@ nginx_install_from: nginx_repository
|
|||||||
# Only works if 'install_from' is set to 'nginx_repository'.
|
# Only works if 'install_from' is set to 'nginx_repository'.
|
||||||
# Defaults are the official NGINX repositories.
|
# Defaults are the official NGINX repositories.
|
||||||
nginx_repository:
|
nginx_repository:
|
||||||
|
alpine: >-
|
||||||
|
https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
||||||
|
| ternary('mainline/', '') }}alpine/v{{ ansible_distribution_version | regex_search('^[0-9]+\\.[0-9]+') }}/main
|
||||||
debian:
|
debian:
|
||||||
- >-
|
- >-
|
||||||
deb https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
deb https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
||||||
| ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
| ternary('mainline/', '') }}{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} nginx
|
||||||
- >-
|
- >-
|
||||||
deb-src https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
deb-src https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
||||||
| ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
| ternary('mainline/', '') }}{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} nginx
|
||||||
redhat:
|
redhat: >-
|
||||||
- >-
|
|
||||||
https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
||||||
| ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat")
|
| ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat")
|
||||||
| ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
|
| ternary('rhel', 'centos') }}/{{ ansible_distribution_major_version }}/$basearch/
|
||||||
suse:
|
suse: >-
|
||||||
- >-
|
|
||||||
https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
https://nginx.org/packages/{{ (nginx_branch == 'mainline')
|
||||||
| ternary('mainline/', '') }}sles/12
|
| ternary('mainline/', '') }}sles/{{ ansible_distribution_major_version }}
|
||||||
|
|
||||||
# Specify which branch of NGINX Open Source you want to install.
|
# Specify which branch of NGINX Open Source you want to install.
|
||||||
# Options are 'mainline' or 'stable'.
|
# Options are 'mainline' or 'stable'.
|
||||||
|
@ -1,39 +1,38 @@
|
|||||||
---
|
---
|
||||||
- name: "(Handler: All OSs) Start NGINX"
|
- name: "(Handler: All OSs) Run NGINX"
|
||||||
service:
|
block:
|
||||||
name: nginx
|
|
||||||
state: started
|
|
||||||
enabled: yes
|
|
||||||
when: nginx_start
|
|
||||||
|
|
||||||
- name: "(Handler: All OSs) Reload NGINX"
|
- name: "(Handler: All OSs) Start NGINX"
|
||||||
service:
|
service:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: reloaded
|
state: started
|
||||||
when: nginx_start
|
enabled: yes
|
||||||
|
|
||||||
- name: "(Handler: All OSs) Start NGINX Amplify Agent"
|
- name: "(Handler: All OSs) Reload NGINX"
|
||||||
service:
|
service:
|
||||||
name: amplify-agent
|
name: nginx
|
||||||
state: started
|
state: reloaded
|
||||||
when: nginx_start
|
|
||||||
|
|
||||||
- name: "(Handler: All OSs) Start NGINX Controller Agent"
|
- name: "(Handler: All OSs) Start NGINX Amplify Agent"
|
||||||
service:
|
service:
|
||||||
name: controller-agent
|
name: amplify-agent
|
||||||
state: started
|
state: started
|
||||||
when: nginx_start
|
|
||||||
|
|
||||||
- name: "(Handler: Debian/Ubuntu/CentOS/RedHat) Start NGINX Unit"
|
- name: "(Handler: All OSs) Start NGINX Controller Agent"
|
||||||
service:
|
service:
|
||||||
name: unit
|
name: controller-agent
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
|
||||||
when: nginx_start
|
|
||||||
|
|
||||||
- name: "(Handler: FreeBSD) Start NGINX Unit"
|
- name: "(Handler: Debian/Ubuntu/CentOS/RedHat) Start NGINX Unit"
|
||||||
service:
|
service:
|
||||||
name: unitd
|
name: unit
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
when: nginx_start
|
|
||||||
|
- name: "(Handler: FreeBSD) Start NGINX Unit"
|
||||||
|
service:
|
||||||
|
name: unitd
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
when: nginx_start | bool
|
||||||
|
@ -10,27 +10,32 @@ galaxy_info:
|
|||||||
min_ansible_version: 2.4.0.0
|
min_ansible_version: 2.4.0.0
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Alpine
|
||||||
versions:
|
versions:
|
||||||
- jessie
|
- all
|
||||||
- stretch
|
- name: Amazon Linux
|
||||||
- name: Ubuntu
|
- candidate
|
||||||
versions:
|
- name: Debian
|
||||||
- trusty
|
versions:
|
||||||
- xenial
|
- jessie
|
||||||
- artful
|
- stretch
|
||||||
- bionic
|
- name: EL
|
||||||
- name: EL
|
versions:
|
||||||
versions:
|
- 6
|
||||||
- 6
|
- 7
|
||||||
- 7
|
- name: FreeBSD
|
||||||
- name: SLES
|
versions:
|
||||||
versions:
|
- 11.2
|
||||||
- 12
|
- 12.0
|
||||||
- name: FreeBSD
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- 10.4
|
- trusty
|
||||||
- 11.2
|
- xenial
|
||||||
|
- bionic
|
||||||
|
- name: SLES
|
||||||
|
versions:
|
||||||
|
- 12
|
||||||
|
- 15
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- nginx
|
- nginx
|
||||||
|
5
tasks/keys/apk-key.yml
Normal file
5
tasks/keys/apk-key.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: "(Install: APK OSs) Download NGINX Signing Key"
|
||||||
|
get_url:
|
||||||
|
url: https://nginx.org/keys/nginx_signing.rsa.pub
|
||||||
|
dest: /etc/apk/keys/nginx_signing.rsa.pub
|
@ -18,6 +18,9 @@
|
|||||||
or nginx_controller_enable
|
or nginx_controller_enable
|
||||||
or nginx_unit_enable
|
or nginx_unit_enable
|
||||||
|
|
||||||
|
- import_tasks: keys/apk-key.yml
|
||||||
|
when: ansible_os_family == "Alpine"
|
||||||
|
|
||||||
- name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX"
|
- name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX"
|
||||||
block:
|
block:
|
||||||
|
|
||||||
@ -28,7 +31,7 @@
|
|||||||
when: nginx_type == "plus"
|
when: nginx_type == "plus"
|
||||||
|
|
||||||
- import_tasks: conf/cleanup-config.yml
|
- import_tasks: conf/cleanup-config.yml
|
||||||
when: nginx_cleanup_config
|
when: nginx_cleanup_config | bool
|
||||||
|
|
||||||
- import_tasks: modules/install-modules.yml
|
- import_tasks: modules/install-modules.yml
|
||||||
when: true in nginx_modules.values()
|
when: true in nginx_modules.values()
|
||||||
@ -47,26 +50,26 @@
|
|||||||
or nginx_rest_api_enable
|
or nginx_rest_api_enable
|
||||||
|
|
||||||
- import_tasks: conf/setup-status.yml
|
- import_tasks: conf/setup-status.yml
|
||||||
when: nginx_status_enable
|
when: nginx_status_enable | bool
|
||||||
|
|
||||||
- import_tasks: conf/debug-output.yml
|
- import_tasks: conf/debug-output.yml
|
||||||
when: nginx_debug_output
|
when: nginx_debug_output | bool
|
||||||
|
|
||||||
when: nginx_enable
|
when: nginx_enable | bool
|
||||||
|
|
||||||
- import_tasks: amplify/install-amplify.yml
|
- import_tasks: amplify/install-amplify.yml
|
||||||
when:
|
when:
|
||||||
- nginx_amplify_enable
|
- nginx_amplify_enable | bool
|
||||||
- nginx_amplify_api_key is defined
|
- nginx_amplify_api_key is defined
|
||||||
- nginx_amplify_api_key | length > 0
|
- nginx_amplify_api_key | length > 0
|
||||||
|
|
||||||
- import_tasks: controller/install-controller.yml
|
- import_tasks: controller/install-controller.yml
|
||||||
when:
|
when:
|
||||||
- nginx_controller_enable
|
- nginx_controller_enable | bool
|
||||||
- nginx_controller_api_key is defined
|
- nginx_controller_api_key is defined
|
||||||
- nginx_controller_api_key
|
- nginx_controller_api_key | length > 0
|
||||||
- nginx_controller_api_endpoint is defined
|
- nginx_controller_api_endpoint is defined
|
||||||
- nginx_controller_api_endpoint
|
- nginx_controller_api_endpoint | length > 0
|
||||||
|
|
||||||
- import_tasks: unit/install-unit.yml
|
- import_tasks: unit/install-unit.yml
|
||||||
when: nginx_unit_enable
|
when: nginx_unit_enable | bool
|
||||||
|
6
tasks/opensource/setup-alpine.yml
Normal file
6
tasks/opensource/setup-alpine.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: "(Install: Alpine Linux) Add NGINX Plus Repository"
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/apk/repositories
|
||||||
|
insertafter: EOF
|
||||||
|
line: "{{ nginx_repository.alpine }}"
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: "(Install: SUSE) Add NGINX Repository"
|
- name: "(Install: SUSE) Add NGINX Repository"
|
||||||
zypper_repository:
|
zypper_repository:
|
||||||
name: nginx
|
name: "nginx-{{ nginx_branch }}"
|
||||||
repo: "{{ nginx_repository.suse }}"
|
repo: "{{ nginx_repository.suse }}"
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
- import_tasks: setup-freebsd.yml
|
- import_tasks: setup-freebsd.yml
|
||||||
when: ansible_os_family == "FreeBSD"
|
when: ansible_os_family == "FreeBSD"
|
||||||
|
|
||||||
|
- import_tasks: setup-alpine.yml
|
||||||
|
when: ansible_os_family == "Alpine"
|
||||||
|
|
||||||
- name: "(Install: All OSs) Install NGINX Plus"
|
- name: "(Install: All OSs) Install NGINX Plus"
|
||||||
package:
|
package:
|
||||||
name: nginx-plus
|
name: nginx-plus
|
||||||
@ -20,4 +23,4 @@
|
|||||||
notify: "(Handler: All OSs) Start NGINX"
|
notify: "(Handler: All OSs) Start NGINX"
|
||||||
|
|
||||||
- import_tasks: delete-license.yml
|
- import_tasks: delete-license.yml
|
||||||
when: nginx_delete_license
|
when: nginx_delete_license | bool
|
||||||
|
6
tasks/plus/setup-alpine.yml
Normal file
6
tasks/plus/setup-alpine.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: "(Install: Alpine Linux) Add NGINX Plus Repository"
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/apk/repositories
|
||||||
|
insertafter: EOF
|
||||||
|
line: "https://plus-pkgs.nginx.com/alpine/v{{ ansible_distribution_version | regex_search('^[0-9]+\\.[0-9]+') }}/main"
|
@ -1,14 +1,41 @@
|
|||||||
---
|
---
|
||||||
- name: "(All OSs) Create SSL Directory"
|
- name: "(All OSs) Setup NGINX Plus License"
|
||||||
file:
|
block:
|
||||||
path: /etc/ssl/nginx
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: "(All OSs) Copy NGINX Plus Certificate and License Key"
|
- name: "(All OSs) Create SSL Directory"
|
||||||
copy:
|
file:
|
||||||
src: "{{ item }}"
|
path: /etc/ssl/nginx
|
||||||
dest: /etc/ssl/nginx
|
state: directory
|
||||||
decrypt: yes
|
|
||||||
with_items:
|
- name: "(All OSs) Copy NGINX Plus Certificate and License Key"
|
||||||
- "{{ nginx_license.certificate }}"
|
copy:
|
||||||
- "{{ nginx_license.key }}"
|
src: "{{ item }}"
|
||||||
|
dest: /etc/ssl/nginx
|
||||||
|
decrypt: yes
|
||||||
|
with_items:
|
||||||
|
- "{{ nginx_license.certificate }}"
|
||||||
|
- "{{ nginx_license.key }}"
|
||||||
|
|
||||||
|
when: ansible_distribution != "Alpine"
|
||||||
|
|
||||||
|
- name: "(Alpine Linux) Setup NGINX Plus License"
|
||||||
|
block:
|
||||||
|
|
||||||
|
- name: "(Alpine Linux) Create APK Directory"
|
||||||
|
file:
|
||||||
|
path: /etc/apk
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: "(Alpine Linux) Copy NGINX Plus Key"
|
||||||
|
copy:
|
||||||
|
src: "{{ nginx_license.key }}"
|
||||||
|
dest: /etc/apk/cert.key
|
||||||
|
decrypt: yes
|
||||||
|
|
||||||
|
- name: "(Alpine Linux) Copy NGINX Plus Certificate"
|
||||||
|
copy:
|
||||||
|
src: "{{ nginx_license.certificate }}"
|
||||||
|
dest: /etc/apk/cert.pem
|
||||||
|
decrypt: yes
|
||||||
|
|
||||||
|
when: ansible_distribution == "Alpine"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
- name: "(Install: CentOS/RedHat/Oracle Linux) Add NGINX Plus Repository"
|
- name: "(Install: CentOS/RedHat/Oracle Linux) Add NGINX Plus Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx-plus
|
name: nginx-plus
|
||||||
baseurl: https://plus-pkgs.nginx.com/{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}/{{ (ansible_distribution_version|float < 7.4) | ternary(ansible_distribution_major_version|int, 7.4) }}/$basearch/
|
baseurl: https://plus-pkgs.nginx.com/centos/{{ (ansible_distribution_version | float >= 7.4 and ansible_distribution_version | float < 8.0) | ternary(ansible_distribution_major_version | int, 7.4) }}/$basearch/
|
||||||
description: NGINX Plus Repository
|
description: NGINX Plus Repository
|
||||||
sslclientcert: /etc/ssl/nginx/nginx-repo.crt
|
sslclientcert: /etc/ssl/nginx/nginx-repo.crt
|
||||||
sslclientkey: /etc/ssl/nginx/nginx-repo.key
|
sslclientkey: /etc/ssl/nginx/nginx-repo.key
|
||||||
@ -13,7 +13,7 @@
|
|||||||
- name: "(Install: Amazon Linux) Add NGINX Plus Repository"
|
- name: "(Install: Amazon Linux) Add NGINX Plus Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx-plus
|
name: nginx-plus
|
||||||
baseurl: https://plus-pkgs.nginx.com/amzn{{ (ansible_distribution_version == "2") | ternary('2', '') }}/$releasever/$basearch
|
baseurl: https://plus-pkgs.nginx.com/amzn{{ (ansible_distribution_major_version == "2") | ternary('2', '') }}/$releasever/$basearch
|
||||||
description: NGINX Plus Repository
|
description: NGINX Plus Repository
|
||||||
sslclientcert: /etc/ssl/nginx/nginx-repo.crt
|
sslclientcert: /etc/ssl/nginx/nginx-repo.crt
|
||||||
sslclientkey: /etc/ssl/nginx/nginx-repo.key
|
sslclientkey: /etc/ssl/nginx/nginx-repo.key
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
- name: "(Install: SUSE) Add NGINX Plus Repository"
|
- name: "(Install: SUSE) Add NGINX Plus Repository"
|
||||||
zypper_repository:
|
zypper_repository:
|
||||||
name: nginx-plus
|
name: nginx-plus
|
||||||
repo: https://plus-pkgs.nginx.com/sles/12?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=host
|
repo: "https://plus-pkgs.nginx.com/sles/{{ ansible_distribution_major_version }}?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=host"
|
||||||
|
Loading…
Reference in New Issue
Block a user