docker and rabbitmq

Hello,

I’ve been going through the tutorial on setting up a production galaxy server but have gotten stuck setting up docker and rabbitmq. When running the playbook i keep getting this error:

ERROR! couldn’t resolve module/action ‘community.docker.docker_container’. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in ‘/home/ansible/galaxy/roles/usegalaxy_eu.rabbitmqserver/tasks/start.yml’: line 16, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

  • name: Start a rabbitmq container
    ^ here

I’ve checked the start.yml file referenced in the error message and can’t see any formatting issues with it. I’ve also copied the version of start.yml from the github page but keep getting the same error.

I’ve opened all the ports necesary that are listed on Networking and RabbitMQ | RabbitMQ . However, I am on a university network so these ports are only accessible on the uni network and not currently able to go through the firewall.

Has anyone came across this issue and found a resolution? Any help would be greatly appreciated.

Thanks.

Welcome, @joeyward

Let’s get some help from the community administrators. I’ve cross-posted your question over to their chat here. Feel free to join, and they might reply here or there. You're invited to talk on Matrix

You didn’t mention which version of Galaxy you are configuring, so maybe post that back for a bit more context. Running the most current master version is highly recommended. Galaxy Documentation — Galaxy Project 24.1.0.dev0 documentation

Let’s start there :slight_smile:

Hi Jenna,

I’ve updated my ansible playbook to use version 24.1. It wouldn’t allow 24.1.0.dev0 as there was no repository with that name on git. I’m still getting the same error. Let me know if there is any other info you require.

thanks.

issue was resolved by installing community.docker.docker_container with ansible-galaxy collection install community.docker

2 Likes