• 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 
      
      • nutomicA
        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+

          • nutomicA
            link
            fedilink
            arrow-up
            1
            ·
            4 years ago

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

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

              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?

              • DessalinesA
                link
                fedilink
                arrow-up
                2
                ·
                4 years ago

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

              • nutomicA
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                4 years ago

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