147410ab03
Refactor template variables and configuration scripts
7 lines
246 B
YAML
7 lines
246 B
YAML
---
|
|
- name: "(Setup: NGINX Plus) Setup NGINX Plus API"
|
|
template:
|
|
src: api.conf.j2
|
|
dest: "{{ (http_template_enable) | ternary('/etc/nginx/conf.d/http/api.conf','/etc/nginx/conf.d/api.conf')}}"
|
|
notify: "(Handler: All OSs) Reload NGINX"
|