3b6c744166
This fixes a bug when only the license is deleted, making system updates fail since the NGINX Plus repository is still within the repositories list yet there is no license to authenticate to the repository
19 lines
475 B
YAML
19 lines
475 B
YAML
---
|
|
- import_tasks: setup-alpine.yml
|
|
when: ansible_os_family == "Alpine"
|
|
|
|
- import_tasks: setup-debian.yml
|
|
when: ansible_os_family == "Debian"
|
|
|
|
- import_tasks: setup-redhat.yml
|
|
when: ansible_os_family == "RedHat"
|
|
|
|
- import_tasks: setup-suse.yml
|
|
when: ansible_os_family == "Suse"
|
|
|
|
- name: "(Install: Linux) Install NGINX Plus"
|
|
package:
|
|
name: "nginx-plus{{ nginx_version | default('') }}"
|
|
state: "{{ nginx_state }}"
|
|
notify: "(Handler: All OSs) Start NGINX"
|