Forem Creators and Builders 🌱

Andrey Remesnyk
Andrey Remesnyk

Posted on

The task includes an option with an undefined variable

fatal: [forem]: FAILED! =>
msg: |-
 The task includes an option with an undefined variable. The 
error was: 'item' is undefined

The error appears to be in '/root/selfhost/playbooks/providers/digitalocean.yml': line 125, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  - name: Tag a resource; creating the tag if it does not exist
    ^ here
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

ellativity profile image
Ella (she/her/elle) • Edited

Hey @andrey I'm guessing you're experiencing this error when attempting to run the playbook, at Step 7 of the Self-Host Installation Guide, but can you please confirm this?

How many times did you attempt to run it? This error might be due to a delay in installing Fedora CoreOS on your DO droplet, so sometimes rerunning the playbook after waiting a while resolves it.

benjaminb profile image
Benjamin Bilgehan

he is using offical forem installation.

just replaced name: "forem" it worked.