diff --git a/roles/mastodon-nginx/tasks/main.yml b/roles/mastodon-nginx/tasks/main.yml index 4ad75eb..23cbcef 100644 --- a/roles/mastodon-nginx/tasks/main.yml +++ b/roles/mastodon-nginx/tasks/main.yml @@ -16,10 +16,9 @@ path: /etc/nginx/sites-enabled/default state: absent - name: Copy Mastodon nginx vhost template to sites-available - copy: + template: src: mastodon-nginx.conf dest: /etc/nginx/sites-available/{{ mastodon_hostname }}.conf - backup: yes - name: Enable Mastodon nginx vhost template file: src: /etc/nginx/sites-available/{{ mastodon_hostname }}.conf