Commit Graph

6 Commits (30fa6e3ea4f5177d6d8d3732d26452792264777e)

Author SHA1 Message Date
Olaf Kilian 30fa6e3ea4 Added default email address 10 years ago
Olaf Kilian 3d3efa3614 Removed unused import of sys module 10 years ago
Olaf Kilian f5e7ce00e7 Extract only the hostname part from self.registry
This is needed for update_dockercfg() to register only the host part
of a specified registry URL in the .dockercfg.
10 years ago
Olaf Kilian 7a2a75f6c0 Remove registry from exit_json because misleading
docker-py is not returning the name of the registry
if already logged in. It can differ from the registry
specified by the user, which was return as registry.
10 years ago
Olaf Kilian feb20eeadd Update PR based on review from @resmo 10 years ago
Olaf Kilian 772e92eca9 Add docker_login module
- Ansible version of "docker login" CLI command
- Persists Docker registry authentification in .dockercfg (only login once - no need to specify credentials over and over again anymore)
- Works for all other docker-py based modules (docker, docker_images) as well as the Docker CLI client
10 years ago