Commit Graph

19 Commits (c55e4e6787e4e75dc99e42939d2713b33a01d9ed)

Author SHA1 Message Date
Brian Coca c55e4e6787 fixed misppelled description 9 years ago
Toshio Kuratomi b87e3ce362 Quote strings that make the module docs fail to build 9 years ago
Toshio Kuratomi 19374903ac Switch StrictVersion for LooseVersion since some distros ship
beta versions and StrictVersion would fail on that.

Also clean up some minor style things
9 years ago
Olaf Kilian c629d5b013 Add requirement and check for compatible version of docker-py 9 years ago
Olaf Kilian 66964f660a Set no_log for password argument 9 years ago
Olaf Kilian 98b21ee7f3 Improve registry key parity between clients
* Don't extract hostname part from docker_url since this leads to
  docker CLI client not recognizing Docker Hub credentials set by
  docker_login module anymore (looks for the full URL as a key).
9 years ago
Olaf Kilian 988be3458d Rework change detection 9 years ago
Olaf Kilian 9d39885d18 Adapt to new dockercfg file location and structure 9 years ago
Olaf Kilian ef64423683 Make module importable for unit tests 9 years ago
Olaf Kilian c3d15a56cf Set default for email parameter to None 9 years ago
Olaf Kilian e86131c62f Add requirement for python >= 2.6 9 years ago
Olaf Kilian 85cc47c9e1 Default registry to docker hub 9 years ago
Olaf Kilian 3bcb24e656 Added more meaningful fail messages on Docker API 10 years ago
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