You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The conditional check 'reg_enabled['stat isreg']' failed. The error was: error while evaluating conditional (reg_enabled['stat isreg']): 'dict object' has no attribute 'stat isreg'
#35
Closed
DMTryptamines opened this issue
Apr 9, 2022
· 0 comments
Was setting up a new instance and ran into this after running the ansible playbook.
fatal: [root@ip.ip.ip.ip]: FAILED! => {
"msg": "The conditional check 'reg_enabled['stat isreg']' failed. The error was: error while evaluating conditional (reg_enabled['stat isreg']): 'dict object' has no attribute 'stat isreg'\n\nThe error appears to be in '/home/ubuntu/lemmy-ansible/lemmy.yml': line 80, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: remove if regular file (legacy) instead of symlink\n ^ here\n"
}
The issue is exactly where it says it is and changing when: reg_enabled.stat.isreg to when: reg_enabled in lemmy.yml fixes the problem and let's the install finish. Doesn't appear to be any issues with changing......so far.
The text was updated successfully, but these errors were encountered:
DMTryptamines
added a commit
to DMTryptamines/lemmy-ansible-dual-frontend-jae-prom
that referenced
this issue
Apr 10, 2022
* Update lemmy.yml
#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!
Was setting up a new instance and ran into this after running the ansible playbook.
The issue is exactly where it says it is and changing
when: reg_enabled.stat.isreg
towhen: reg_enabled
inlemmy.yml
fixes the problem and let's the install finish. Doesn't appear to be any issues with changing......so far.The text was updated successfully, but these errors were encountered: