Commit Graph

87 Commits (012085263fc269e0b564e9c700064be8bb296e7e)

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
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
James Cammarata 2fac1fd865 Ensure port in docker expose list is a string
Fixes #8731
10 years ago
Toshio Kuratomi 3f4bdce67e My fix was wrong again. Base this try off of @mantiz's fix in #9016 10 years ago
Toshio Kuratomi e51bcf90a0 Fix the case where a docker image is not part of a namespace.
Fixes #9016
10 years ago
Toshio Kuratomi 4094edf92f Fix splitting the tag from the image name
Fixes #8983
10 years ago
Toshio Kuratomi 732b6f0a23 Omit tag from parsed image name
Fixes #8925
10 years ago
James Cammarata fa21b336f8 Stop/remove existing docker container if the specified tag is different
Fixes #8278
10 years ago
Eric D. White 6f9cb7ab61 Issue 8735 - module docker - expose values should be striped to ensure port forwarding works. 10 years ago
James Cammarata 3373e82d83 Fixing bug with image/tag pulling in docker module
Fixes #8670
10 years ago
James Cammarata d6375cd3c1 Fix bad commit from #8095 and fix bad splitting on :'s in the image
Fixes #8095
Fixes #8658
10 years ago
James Cammarata f729ab8e67 Make env param a dict type instead of list
Also modifies param type checking code to remove whitespace from
around params before splitting them into k=v pairs.

Fixes #8199
10 years ago
James Cammarata f367adc021 Update version_added field for docker_api_version param 10 years ago
James Cammarata 30ead6a17c Merge branch 'add-docker-api-version-parameter' of https://github.com/jmoretti/ansible into jmoretti-add-docker-api-version-parameter 10 years ago
James Cammarata 74847bfbfa Merge branch 'devel' of https://github.com/kolloch/ansible into kolloch-devel 10 years ago
James Cammarata aa0a904b2b Updating version_added for docker net param and adding an example 10 years ago
James Cammarata a9b6d5a516 Merge branch 'docker-add-net-parameter' of https://github.com/discordianfish/ansible into discordianfish-docker-add-net-parameter 10 years ago
James Cammarata 18618b47b0 Merge branch 'fixes/docker-volumes' of https://github.com/devpopol/ansible into devpopol-fixes/docker-volumes 10 years ago
Kurt Yoder 2f74c0bade Fix Docker image name parsing
Fixes #8357
10 years ago
Joe Moretti ca7498aeb7 Add optional docker_api_version parameter to Docker Module 10 years ago
Peter Kolloch 0f67a94820 Hack to fix #7738: Allow tag in image parameter of docker module
It also defaults to the "latest" tag for pulling the image
instead of pulling all versions.
10 years ago
Paul Myjavec 267d107fe6 Docker links and required alias
If no alias is passed one will now be created for you with the same name
as the target link container, as per the documentation
10 years ago
Johannes 'fish' Ziemke b16cad7cd9 Add networking mode parameter (net) to docker
Since 0.11 Docker supports different networking modes (see docker run
--net). This commit add support for that to the ansible docker module.

This depends on
2d58351164
10 years ago
Stephen Paul Suarez 834168f17b fix spacing 10 years ago
Stephen Paul Suarez bb0a56ad1d fix typo 10 years ago
Stephen Paul Suarez 6b84f7093f support rw bind mode in docker module 10 years ago
Matt Bray 901feb91fc docker: fix targetting images by name 11 years ago
James Cammarata 8622a3f396 Merge pull request #7404 from jimi-c/issue_7363_docker_names
Make sure the docker data has a "Names" field before using it
11 years ago
Konstantin Shabanov f9e6db7886 Fix env splitting in docker module
ENV variable value could contain '=' (for example mysql://host/db?pool=10)
11 years ago
James Cammarata b59e4e8222 Make sure the docker data has a "Names" field before using it
Fixes #7363
11 years ago
Johannes 'fish' Ziemke ac14a016c4 Fix: Remove check for Ghost state
This fixed the just committed change handling non existent Ghost state.
11 years ago
James Cammarata b5ba1c4527 Merge pull request #7338 from discordianfish/remove-ghost-state
Remove check for Ghost state
11 years ago