- name: create nginx letsencrypt config file template: src=letsencrypt.conf.j2 dest={{nginx_servers_directory}}letsencrypt.conf notify: restart nginx - name: flush nginx service meta: flush_handlers