ansible-role-nginx/tasks/plus/setup-suse.yml

12 lines
468 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
- name: "(Setup: SUSE) Setup NGINX Plus Certificate and License Keys"
assemble:
src: /etc/ssl/nginx
dest: /etc/ssl/nginx/nginx-repo-bundle.crt
2018-01-10 23:40:01 +01:00
- name: "(Setup: SUSE) Setup NGINX Plus Repository"
2018-01-10 23:40:01 +01:00
zypper_repository:
name: nginx-plus
repo: "https://plus-pkgs.nginx.com/sles/{{ ansible_distribution_major_version }}?ssl_clientcert=/etc/ssl/nginx/nginx-repo-bundle.crt&ssl_verify=host"
state: "{{ nginx_license_status | default ('present') }}"