ansible-role-nginx/tasks/conf/setup-rest-api.yml
Alessandro Fael Garcia 15385c9cb1 Minor formatting fix
2018-03-02 15:00:07 -08:00

7 lines
247 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"