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:
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue