Lemmy.eus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
XiangMai@lemmygrad.ml to Open Source@lemmy.ml · 4 years ago

Troubles Installing Lemmy

lemmygrad.ml

message-square
24
fedilink
11

Troubles Installing Lemmy

lemmygrad.ml

XiangMai@lemmygrad.ml to Open Source@lemmy.ml · 4 years ago
message-square
24
fedilink

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

alert-triangle
You must log in or # to comment.
  • Nutomic@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    4 years ago

    Your screenshot is almost unreadable, could you paste that as text? Did you make any changes to ansible/lemmy.yml?

    • ufra@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 years ago

      deleted by creator

    • XiangMai@lemmygrad.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      4 years ago
      ERROR! no actio detected in task. This often indicates a misspelled module name, or incorrect module path. 
      
      The error appears to have been in /home/derfen/lemmy/ansible.yml': line 104, column 5, but may be elsewhere in the file depending on the exact syntax of the problem. 
      
      The offending line appears to be: 
      
      -name: start docker-compose
      
       ^here
      

      No I’ve not made any changes to the lemmy.yml file

      • Nutomic@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 years ago

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

        • XiangMai@lemmygrad.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          4 years ago

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

          • Nutomic@lemmy.ml
            link
            fedilink
            arrow-up
            3
            ·
            4 years ago

            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

            • XiangMai@lemmygrad.mlOP
              link
              fedilink
              arrow-up
              3
              ·
              4 years ago

              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 
              
              • Nutomic@lemmy.ml
                link
                fedilink
                arrow-up
                2
                ·
                4 years ago

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

                • XiangMai@lemmygrad.mlOP
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  4 years ago

                  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+

  • XiangMai@lemmygrad.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    @muad_dibber@lemmygrad.ml Hi com I ping you as you will most likely know :)

  • datendefekt@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    Did you install docker and docker-compose?

    • Nutomic@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      Ansible does that automatically ;)

      • datendefekt@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        Yeah right, debian… D’oh!

  • WhitePaperKat@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    4 years ago

    i would but i already have an Epicyon instance and a irc server on muh pi

Open Source@lemmy.ml

opensource@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !opensource@lemmy.ml

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

Useful Links

  • Open Source Initiative
  • Free Software Foundation
  • Electronic Frontier Foundation
  • Software Freedom Conservancy
  • It’s FOSS
  • Android FOSS Apps Megathread

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !libre_culture@lemmy.ml
  • !libre_software@lemmy.ml
  • !libre_hardware@lemmy.ml
  • !linux@lemmy.ml
  • !technology@lemmy.ml

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 295 users / day
  • 1.2K users / week
  • 3.8K users / month
  • 9.83K users / 6 months
  • 20 local subscribers
  • 36.6K subscribers
  • 2.87K Posts
  • 22.2K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • kevincox@lemmy.ml
  • CrypticCoffee@lemmy.ml
  • Lettuce eat lettuce@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org