--- - name: Configure server for {{ domain }} template: src: server.conf dest: "{{ nginx_sites_directory }}/{{ domain }}" owner: root group: root mode: "u=rw,g=r,o=r" notify: reload nginx