Giter VIP home page Giter VIP logo

Comments (10)

nickjj avatar nickjj commented on August 20, 2024 1

No problem, thanks for reporting back.

from ansible-docker.

nickjj avatar nickjj commented on August 20, 2024

If jdoe and sdoe exist on your system before running this role then both of those users will be able to run docker commands without needing root.

If neither user exist on your system before running this role you'll likely get an error because the role doesn't create users for you.

from ansible-docker.

benyanke avatar benyanke commented on August 20, 2024

In my case, I do have the user already created, but when I run it, it indicates that the user group-add command was run on zero hosts. Is there something I'm missing here about the intended usecase of this var?

image

from ansible-docker.

nickjj avatar nickjj commented on August 20, 2024

Are you running v1.3.0?

from ansible-docker.

benyanke avatar benyanke commented on August 20, 2024

Ansible? I'm on version 2.7.1 of ansible

from ansible-docker.

nickjj avatar nickjj commented on August 20, 2024

I mean the Docker role. If you're using anything under v1.3.0 then docker__users won't work because v1.3.0 is when I introduced renaming variables to docker__* instead of docker_*, so if you have a lesser version it's like you're not configuring anything from the role's POV so it thinks it's an empty list.

from ansible-docker.

benyanke avatar benyanke commented on August 20, 2024

Ah - I'm on 1.2.0. I assume that's the issue!

from ansible-docker.

nickjj avatar nickjj commented on August 20, 2024

I'm in the process now of rewriting documentation which will help prevent issues like this by warning you that you're looking at documentation from the master branch which may be newer than the latest (or any) release.

from ansible-docker.

benyanke avatar benyanke commented on August 20, 2024

The version upgrade did it. Thanks!

from ansible-docker.

benyanke avatar benyanke commented on August 20, 2024

And thanks for the excellent package!

from ansible-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.