this post was submitted on 19 Feb 2024
2 points (66.7% liked)

Lemmy Support

4654 readers
10 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

The instructions for Lemmy-Ansible say to install Ansible on my local machine, not on my destination server. My destination server is running ubuntu, but my local machine is windows, so Ansible won't work on it. Do I need two Linux machines in order to use the Ansible installation?

top 4 comments
sorted by: hot top controversial new old
[–] Aradia@lemmy.ml 4 points 9 months ago* (last edited 9 months ago) (1 children)

Ansible is just a tool to do the operations. You will need Python also, and a terminal, basic stuff to do the commands. Do not worry. There is a way to run Ansible without installing via docker, but you still need to install docker to run the commands.

Ansible works on Windows, but you need to install Python, then pip install ansible https://pypi.org/project/ansible .

Looks like you need more skills to be able to install it, anyway if you want to learn to do it, the way to do it on your windows is via Python, create a virtual environment and install there the Ansible.

[–] Grail@aussie.zone 2 points 9 months ago (1 children)

Looks like you need more skills to be able to install it

I used to be with ‘it’, but then they changed what ‘it’ was. Now what I’m with isn’t ‘it’ anymore and what’s ‘it’ seems weird and scary. It’ll happen to you!

[–] Aradia@lemmy.ml 1 points 9 months ago

I don't get what you want to say with it, I don't know what will happen to me.

What I know is that "tech" is something I know.

And I can tell you that what you are trying to do seems some basic operation, you can find documentation https://docs.ansible.com/ansible/latest/os_guide/windows_faq.html#windows-faq-ansible and using search engines to understand how to solve it.

I really dislike Windows, so I suppose you will need to use WSL and use python directly (the same docs works) or "Docker Desktop.exe" to emulate a Linux to then run docker.

[–] Helix@feddit.de 1 points 9 months ago

You can use the WSL2 to run Ansible on Windows. If that is already scary to you I wouldn't recommend running insecure beta software with internet access.