Commit Graph

26 Commits (621fcbb9de43303ac99534462b2511b9efd9498c)

Author SHA1 Message Date
Michael DeHaan 7db784687d Merge pull request #6486 from discordianfish/docker-module-add-running
Rename present to running, add new present state
11 years ago
Joshua Conner 7a6c60b437 docker: use type instead of manually casting strings to lists 11 years ago
Joshua Conner 7bba229838 docker bugfixes: trim whitespace around list param elements, handle list params being coerced to int or long type 11 years ago
Matt Bray 79b3efc989 docker: add tty and stdin_open options
Useful for development environments.  Setting these options to true
allows you to `docker attach` to a docker container started with
ansible.
11 years ago
Johannes 'fish' Ziemke 32fa21c95f Rename present to running, add new present state
The new present state just makes sure that a container exists, not that
it's running, although it get started one creation.
This is very useful for data volumes. This also changes the old
present, now running (default) state to only create the container if
it's not found, otherwise it just get started.

See also discussion on mailinglist:
https://groups.google.com/forum/#!topic/ansible-devel/jB84gdhPzLQ

This closes #6395
11 years ago
Joshua Conner 9c72b52c01 docker: add 'version_added' to the appropriate documentation entries 11 years ago
Joshua Conner 66eb91c2f8 docker: update to docker-py 0.3.0, plus full port binding support, container names, links 11 years ago
Pavel Antonov dddd4b2522 Added modules description and examples 11 years ago
Pavel Antonov df41ed90b8 Docker supports links and port binding. Added docker_image module 11 years ago
Timur Batyrshin 658c15930e reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 11 years ago
Michael DeHaan 6f49642286 All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
Fixing for standardization purposes.
11 years ago
Michael DeHaan 27199dc219 Merge pull request #5133 from joshuaconner/add_docker_max_version_to_docs
add supported docker version to docs
11 years ago
Joshua Conner c2f128f737 add supported docker version to docs 11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Michael DeHaan f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
11 years ago
Tom Berger 8a39e0a615 Update cloud/docker: if the image name containes a repository, strip it.
When using repositories other than the main one at docker.io, the image name contains the repo name (which itself contains ":" as a separator between domain and port). We don't really care about it here, so just get rid of it before looking at the image name.
11 years ago
Cove Schneider 1ea17dee11 Fixes from docker-ansible, update license to be same as other modules 11 years ago
Cove Schneider 94574f7296 update with current fixes from docker-ansible 11 years ago
Cove Schneider 5f7e1fc306 Un-camelcase DockerContainers, rename class to DockerManager(). 11 years ago
Cove Schneider 565db64a04 remove comment about requirements 11 years ago
Cove Schneider a4922bc74c add requirements back 11 years ago
Cove Schneider 618004f87b clean up a few warnings 11 years ago
Cove Schneider c51981b5b7 add python requirements to docs 11 years ago
Cove Schneider fbca1ebc04 add example docs 11 years ago
Cove Schneider 1fe45c4f6c add docker module 11 years ago