this post was submitted on 02 Mar 2021
13 points (100.0% liked)

Open Source

32814 readers
659 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I am playing around with Lemmy in a VPC but getting this when I run the command

ansible-playbook lemmy.yml --become

following this instruction

https://join.lemmy.ml/docs/en/administration/install_ansible.html

This is on debian 10

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 years ago (15 children)

I just tried, and it runs fine for me with Ansible 2.10 and Python 3.9. Which versions do you have?

[–] [email protected] 2 points 4 years ago (14 children)

Thanks com, I am on debian 10 so have python 3.7 and ansible 2.7

[–] [email protected] 3 points 4 years ago (13 children)

Ah wait, its specifically the docker-compose step, because you have to install a plugin for that. Please try the instructions on the following page. We need to add this to the docs.

https://docs.ansible.com/ansible/latest/collections/community/docker/docker_compose_module.html#ansible-collections-community-docker-docker-compose-module

[–] [email protected] 3 points 4 years ago (1 children)

Thanks comm

So I ran this

ansible-galaxy collection install community.docker

But get

-downloading role 'collection', owned by  

[WARNING]: - collection was NOT installed successfully: Content has no field named 'owned' 

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list 
[–] [email protected] 2 points 4 years ago (1 children)

I have never used this Ansible Galaxy, there are also instructions below for installing it via Python.

[–] [email protected] 2 points 4 years ago (1 children)

doh this explains why!

Just gotta figure out how to install 2.9 on debian standard now

NOTE: Installing collections with ansible-galaxy is only supported in ansible 2.9+

[–] [email protected] 1 points 4 years ago (1 children)

You should just be able to do pip install docker or something like that.

[–] [email protected] 1 points 4 years ago (2 children)

Yes I've got that working now. I was hoping to host this on my VPC and just do some testing on my desktop to see the site was up etc.

I got this now, is there anything I need to do?

[–] [email protected] 2 points 4 years ago

Also you can just copy paste text, its much easier for us to read.

[–] [email protected] 1 points 4 years ago* (last edited 4 years ago) (1 children)

You need to put your ssh user@host in the inventory file (and adjust the other settings).

[–] [email protected] 2 points 3 years ago* (last edited 3 years ago) (1 children)
[–] [email protected] 2 points 3 years ago (2 children)

Does ssh root@that-ip work? It seems there is something broken.

[–] [email protected] 2 points 3 years ago (1 children)
[–] [email protected] 1 points 3 years ago (1 children)

Try to run the ansible command with verbose output (-v), maybe that helps. Otherwise you need some google-fu.

[–] [email protected] 1 points 3 years ago

no one works same problems and errors show errors messages some settings bimberspot.com domain IP 207.246.65.92

load more comments (11 replies)
load more comments (11 replies)
load more comments (11 replies)