- name: Configure Nginx as HTTPS proxy template: src: proxy.conf.j2 dest: /etc/nginx/conf.d/proxy.conf tags: proxy - name: Restart Nginx service: name: nginx state: restarted tags: proxy