Update lemmy.yml (#36)
* Update lemmy.yml https://github.com/LemmyNet/lemmy-ansible/issues/35 * Update lemmy.yml Tested it with reg_enabled.stat.exists and reg_enabled.stat.isreg and can confirm it completed a fresh install just fine!
This commit is contained in:
parent
745829c2a2
commit
5cb678847f
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
||||||
file:
|
file:
|
||||||
path: "/etc/nginx/sites-enabled/{{domain}}.conf"
|
path: "/etc/nginx/sites-enabled/{{domain}}.conf"
|
||||||
state: absent
|
state: absent
|
||||||
when: reg_enabled.stat.isreg
|
when: reg_enabled.stat.exists and reg_enabled.stat.isreg
|
||||||
|
|
||||||
- name: enable nginx site
|
- name: enable nginx site
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue