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:
Tryps 2022-04-12 18:25:40 -03:00 committed by GitHub
parent 745829c2a2
commit 5cb678847f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@
file:
path: "/etc/nginx/sites-enabled/{{domain}}.conf"
state: absent
when: reg_enabled.stat.isreg
when: reg_enabled.stat.exists and reg_enabled.stat.isreg
- name: enable nginx site
file: