copy despite the var

This commit is contained in:
rene
2022-03-18 17:48:51 +01:00
parent 0e43a09c96
commit 1c42aa9cfd

View File

@@ -2,10 +2,8 @@
- name: mastodon | Copy nginx config
template:
src: ../files/nginx/mastodon.conf.j2
src: mastodon.conf.j2
dest: /etc/nginx/sites-available/mastodon.conf
when:
- mastodon_host is defined
notify: restart_nginx
- name: mastodon | Symlink enabled site
@@ -13,6 +11,4 @@
src: "/etc/nginx/sites-available/mastodon.conf"
dest: "/etc/nginx/sites-enabled/mastodon.conf"
state: link
when:
- mastodon_host is defined
notify: restart_nginx