| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Conflicts:
cloud/docker/docker.py
|
|
|
|
|
|
|
| |
this to determine the location of the Memory value depending on the version used.
In v1.18 and earlier it was ['Config']['Memory'], but in v1.19 it
changed to ['HostConfig']['Memory'].
|
|
|
|
|
|
|
| |
#1766
Conflicts:
cloud/docker/docker.py
|
|
|
|
|
| |
mem_limit got lost in the #1744; this restores it. Thanks to @dgromov
for the report.
|
|
|
|
|
|
|
|
|
| |
This is mlosev's patch (from #1208), rebased against devel as of
2790af2. It resolves #1707, which was caused by an API incompatibility
between the docker module and server API version 1.19.
Conflicts:
cloud/docker/docker.py
|
|\
| |
| | |
#1842 backport fixup: module is now self.module
|
|/ |
|
|
|
|
|
| |
If it's Ubuntu, use UbuntuSourcesList; if it's any other apt-friendly
distribution, use SourcesList; otherwise, fail.
|
|
|
|
| |
Error was: AttributeError: 'SourcesList' object has no attribute 'repos_urls'
|
|
|
|
|
|
|
|
|
| |
This was originally required to allow other methods in SourcesList to
fail, but subsequent changes rendered that unnecessary, and it's just
a cleanup now, and avoids passing in module separately to save().
Conflicts:
packaging/os/apt_repository.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Don't test check_mode in both the caller and in the callee.
2. Don't test HAVE_PYTHON_APT inside an if that tests HAVE_PYTHON_APT
3. Don't be irritatingly vague about why the module fails ("You may be
seeing this because…").
Note that if «apt-get -y install python-apt» succeeds with rc==0, but
for some reason python_apt is not usable afterwards, this will break
because the imports in install_python_apt aren't wrapped inside a
try/except.
In other words, we assume that install_python_apt either succeeds or
fails with a traceback. This commit doesn't affect that behaviour.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If `docker.__version__` contains non-digit characters, such as:
>>> import docker
>>> docker.__version__
'1.4.0-dev'
Then `get_docker_py_versioninfo` will fail with:
ValueError: invalid literal for int() with base 10: '0-de'
This patch corrects the parsing of the version string so that
`get_docker_py_versioninfo` in this example would return:
(1, 4, 0, '-dev')
|
|
|
|
| |
validate the certificate
|
|
|
|
|
| |
Conflicts:
cloud/amazon/ec2_ami_search.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a catch-all `except` statement in `create_containers`:
try:
containers = do_create(count, params)
except:
self.pull_image()
containers = do_create(count, params)
This would mask a variety of errors that should be exposed, including
API compatability errors (as in #1707) and common Python exceptions (KeyError, ValueError, etc) that could result from errors in the code.
This change makes the `except` statement more specific, and only attempts to pull the image and start a container if the original create attempt failed due to a 404 error from the docker API.
|
| |
|
|
|
|
|
|
|
| |
yum transaction
Conflicts:
packaging/os/yum.py
|
| |
|
| |
|
|
|
|
|
| |
Fixes https://github.com/ansible/ansible/issues/10938
Fixes https://github.com/ansible/ansible/issues/7606
|
|
|
|
| |
https://github.com/ansible/ansible-modules-core/pull/1671
|
|\
| |
| | |
Backport issue #133 fix to stable-1.9 branch
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Ignore accelerate.py
* Don't use a lambda or a ternary
Conflicts:
.travis.yml
|
|/
|
|
|
|
|
| |
The original problem is: apt_repository.py connect to launchpad on
every playbook run. In this patch apt_repository.py checks if required
repository already exists or not. If no - paa will be added, if yes -
just skip actions.
|
|
|
|
|
|
| |
confusion
fixes #1667
|
|\
| |
| | |
fixed win_file state=touch
|
| | |
|
|\ \
| | |
| | | |
apache2_module documetation update
|
| |/
| |
| |
| | |
requires a2enmod and a2dismod
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
parameter to the function
* Revert "Remove unused code"
This reverts commit bcfba0c05098696b6e770335870a9c22792fec38.
* Re-add the changes to remove cachedir as a parameter
|
| |
|
| |
|
|
|
|
| |
latest is a little more complex due to '*' support.
|
| |
|
|
|
|
| |
supplied packages. This is necessary when performing a yum upgrade involving multiple dependent packages installed from RPM, for example when upgrading from PostgreSQL 9.0.11 to 9.0.21 on a Red Hat server.
|
| |
|
|
|
|
|
|
| |
https://github.com/ansible/ansible-modules-core/issues/1404
and update documentation.
|
| |
|
| |
|
|
|
|
| |
in tracebacks
|
| |
|
|
|
|
|
|
| |
needed updating by state latest.
- Replaced some unsafe practice with default parameters. However looking at the code this does not seem to matter much as the calling functions always seem to supply these parameters anyway.
|
|
|
|
| |
fixes #1371
|
| |
|
| |
|
|
|
|
| |
when the cert is invalid
|