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