ansible-role-nginx/tasks/conf/setup-rest-api.yml

7 lines
247 B
YAML
Raw Normal View History

---
- name: "(Setup: NGINX Plus) Setup NGINX Plus API"
template:
src: api.conf.j2
2018-03-03 00:00:07 +01:00
dest: "{{ (http_template_enable) | ternary('/etc/nginx/conf.d/http/api.conf','/etc/nginx/conf.d/api.conf') }}"
notify: "(Handler: All OSs) Reload NGINX"