--- - name: 'Template proxy config: {{ faucet_cont_name }}' template: src: faucet-proxy.conf.j2 dest: '/etc/nginx/sites-available/{{ faucet_cont_name }}.conf' notify: reload nginx - name: 'Symlink proxy config: {{ faucet_cont_name }}' file: src: '/etc/nginx/sites-available/{{ faucet_cont_name }}.conf' dest: '/etc/nginx/sites-enabled/{{ faucet_cont_name }}.conf' state: link notify: reload nginx