LemmyNet / lemmy-ansible

A docker deploy for ansible
GNU Affero General Public License v3.0
248 stars 92 forks source link

lemmy.yml giving syntax error (I think) when trying to run #219

Closed 3nderall closed 8 months ago

3nderall commented 8 months ago

I get the error

ERROR! couldn't resolve module/action 'community.docker.docker_compose'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/home/myname/lemmy/lemmy-ansible/lemmy.yml': line 257, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

    - name: Start docker-compose
      ^ here

when I try to run lemmy.yml. I've looked at the yml file but I'm new to ansible and it seems to be the same as the rest of the lines. How do I fix it? I haven't edited it at all

codyro commented 8 months ago

Please see if this resolves your issue:

ansible-galaxy collection install community.docker

We need to update requirements.yml with community.docker & update the README to to install the collections.

3nderall commented 8 months ago

fixed, thanks