You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Adam Williamson 64b8596250 fix #2043: strip empty dict from end of 'pull' stream
When pulling an image using Docker 1.8, it seems the output
JSON stream has an empty dict at the very end. This causes
ansible to fail when pulling an image, as it's expecting a
status message in that dict which it uses to determine whether
it had to download the image or not. As a bit of an ugly hack
for that which remains backward compatible, try the last item
in the stream, and if it's an empty dict, take the last-but-one
item instead.

The strip() is needed as the exact value appears to be '{}/r/n';
we could just match that, but it seems like the kind of thing
where maybe it'd happen to just be '{}/n' or '{}' or something
in some cases, so let's just use strip() in case.
10 years ago
cloud fix #2043: strip empty dict from end of 'pull' stream 10 years ago
commands returned version added 11 years ago
database Actually remove the section we are replacing 11 years ago
files Fixed confusion in the docs 10 years ago
inventory Add missing GPLv3 License header 11 years ago
network restored quotes to checksum description to avoid breaking docs 10 years ago
packaging Fix for state=latest with wildcard or virtual provide package names 10 years ago
source_control Fix detached head detection in is_not_a_branch() 10 years ago
system Merge pull request #2209 from gekmihesg/devel 10 years ago
utilities A few bug fixes and tweaks for the accelerate module 10 years ago
web_infrastructure Use is_executable from its new location 10 years ago
windows Merge pull request #2256 from jhawkesworth/fix_amc_2147 10 years ago
.gitignore Add basic top level files. 11 years ago
.travis.yml Disable travis docs checks 11 years ago
CONTRIBUTING.md Add new policy guidelines for Core 11 years ago
COPYING Add basic top level files. 11 years ago
README.md updated to keep same info as in extras repo 11 years ago
VERSION Adding version file for core modules on devel branch 10 years ago
__init__.py package files 11 years ago
test-docs.sh Add testing of docs to the core repo 11 years ago

README.md

ansible-modules-core

This repo contains Ansible's most popular modules that are shipped with Ansible.

New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.

Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.

Reporting bugs

Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module documentation page at docs.ansible.com.

Testing modules

Ansible module development guide contains the latest info about that.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.

Installation

There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.