2018-01-10 23:40:01 +01:00
|
|
|
---
|
2019-12-11 21:45:12 +01:00
|
|
|
- name: "(Setup: SUSE) Setup NGINX Plus Certificate and License Keys"
|
2018-03-03 01:35:34 +01:00
|
|
|
assemble:
|
|
|
|
src: /etc/ssl/nginx
|
|
|
|
dest: /etc/ssl/nginx/nginx-repo-bundle.crt
|
2020-08-28 10:30:23 +02:00
|
|
|
mode: 0444
|
2018-01-10 23:40:01 +01:00
|
|
|
|
2019-12-11 21:45:12 +01:00
|
|
|
- name: "(Setup: SUSE) Setup NGINX Plus Repository"
|
2018-01-10 23:40:01 +01:00
|
|
|
zypper_repository:
|
|
|
|
name: nginx-plus
|
2019-05-20 18:32:08 +02:00
|
|
|
repo: "https://plus-pkgs.nginx.com/sles/{{ ansible_distribution_major_version }}?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=host"
|
2019-12-11 21:45:12 +01:00
|
|
|
state: "{{ nginx_license_status | default ('present') }}"
|