copy despite the var
This commit is contained in:
1 parent
0e43a09c96
commit
1c42aa9cfd
1 file changed
+1
-5
@@ -2,10 +2,8 @@
|
|||||||
|
|
||||||
- name: mastodon | Copy nginx config
|
- name: mastodon | Copy nginx config
|
||||||
template:
|
template:
|
||||||
src: ../files/nginx/mastodon.conf.j2
|
src: mastodon.conf.j2
|
||||||
dest: /etc/nginx/sites-available/mastodon.conf
|
dest: /etc/nginx/sites-available/mastodon.conf
|
||||||
when:
|
|
||||||
- mastodon_host is defined
|
|
||||||
notify: restart_nginx
|
notify: restart_nginx
|
||||||
|
|
||||||
- name: mastodon | Symlink enabled site
|
- name: mastodon | Symlink enabled site
|
||||||
@@ -13,6 +11,4 @@
|
|||||||
src: "/etc/nginx/sites-available/mastodon.conf"
|
src: "/etc/nginx/sites-available/mastodon.conf"
|
||||||
dest: "/etc/nginx/sites-enabled/mastodon.conf"
|
dest: "/etc/nginx/sites-enabled/mastodon.conf"
|
||||||
state: link
|
state: link
|
||||||
when:
|
|
||||||
- mastodon_host is defined
|
|
||||||
notify: restart_nginx
|
notify: restart_nginx
|
||||||
Reference in new issue
Block a user