servers/roles/reverse-proxy/tasks/main.yml

6 lines
146 B
YAML

- name: Set up nginx site
template:
dest: '/etc/nginx/http.d/{{ inventory_hostname }}.conf'
src: 'nginx.conf.j2'
notify: reload nginx