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?

  • ⲇⲅⲇ@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    10 months ago

    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 (capitalised)OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      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!

      • ⲇⲅⲇ@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        10 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
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 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.