Code Monkey home page Code Monkey logo

Comments (5)

cfelder avatar cfelder commented on May 25, 2024

containers.podman.podman_image supports username and password.

isn't this sufficient?

from ansible-podman-collections.

sshnaidm avatar sshnaidm commented on May 25, 2024

Probably for most of cases, but I'd like to have it separate as well for one time login for the whole session.

from ansible-podman-collections.

istolpov avatar istolpov commented on May 25, 2024

@sshnaidm hi, Sergey.

No, that is not enough, since there is an ongoing community process of migration to podman.

Consider this:

  1. Company has a role that performs initial setup (including docker login)
  2. Company also has hundreds of roles for different containers, image pushes, whatever else.

Now, with your approach that's potentially hundreds upon hundreds lines of code in hundreds of files to add credentials to which is a) cumbersome, b) clutter. Even more so, that basically requires keeping 2 versions of every role with such tasks: one is for RHEL7 and one for RHEL8 (yeah, there's this whole RHEL switching to podman business too!)

With a login module that's 5 LOC of change in one file.

from ansible-podman-collections.

sshnaidm avatar sshnaidm commented on May 25, 2024

@istolpov I'm only for creating such module 😄

from ansible-podman-collections.

sshnaidm avatar sshnaidm commented on May 25, 2024

Docs: https://containers.github.io/ansible-podman-collections/podman_login_module.html#ansible-collections-containers-podman-podman-login-module

from ansible-podman-collections.

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.