--- # template domain config # ng_domain_name (no default) # ng_location_name (no default) # ng_location_content (no default) - name: template location config template: src: location.conf.j2 dest: "{{ nginx_location_mountpoint }}/{{ ng_domain_name }}/{{ ng_location_name|regex_replace('[^0-9a-zA-Z_.-]','_') }}.conf" notify: restart nginx container