From 5cb678847f2bb6b72628edb0c6751b7e763acaf5 Mon Sep 17 00:00:00 2001 From: Tryps <86132393+DMTryptamines@users.noreply.github.com> Date: Tue, 12 Apr 2022 18:25:40 -0300 Subject: [PATCH] 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! --- lemmy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy.yml b/lemmy.yml index c188442..8388fbf 100644 --- a/lemmy.yml +++ b/lemmy.yml @@ -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: