copy despite the var
This commit is contained in:
@@ -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