Commit Graph

11417 Commits (912674bd2b5e918ebbabba930e2e02057517156e)
 

Author SHA1 Message Date
Hector Acosta f870120b3c Check at most 16 characters of the key. Fixes #7936
Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
11 years ago
James Cammarata 539426f612 Performance tuning inventory functions for large inventories 11 years ago
Hector Acosta d3268d05ec Correctly handle .repo files in zypper_repository module
Before the changes, removing a repository required a repo url. This shouldn't be required since zypper allows removing a repo based on its alias (mapped to name in this module).

The name variable was always required, which is misleading since repofiles provide their own alias. So a runtime check was added to avoid this confusion.

Additionaly, running this module on .repo files weren't idempotent. e.g

Before:
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo name=foo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": true}
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo name=foo"
{"msg": "Repository named 'devel_languages_python' already exists. Please use another alias.\n", "failed": true}

After:
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": true}
$ ./hacking/test-module -m library/packaging/zypper_repository -a "repo=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo"
{"repo": "http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/devel:languages:python.repo", "state": "present", "changed": false}

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
11 years ago
James Cammarata 29434b06b8 Merge pull request #7942 from sidred10/devel
Fixed FreeBSD ports install issue
11 years ago
sid 08370b3caf Fixed FreeBSD ports install issue 11 years ago
James Cammarata 5c959e7a20 Merge pull request #7939 from PinGwynn/feature
portage: Successful exit if sync=yes and no package provided
11 years ago
Maxim Odinintsev 82c026387f Successfull exit if sync=yes and no package provided 11 years ago
Maxim Odinintsev a58912773d Success exit if sync=yes and no package provided 11 years ago
James Cammarata 05eb6aacec Merge pull request #7925 from devpopol/fixes/api_error
fixes the now-incorrect module for ApiError -- noticed since 0.3.2
11 years ago
James Cammarata 2305ac9881 Merge pull request #7930 from trbs/apt_key_fetch_url_failure_codes
apt_key clear message when downloading key returns an (http) error code
11 years ago
James Cammarata f5a4bd8af6 Backporting packaging updates from 1.6 branch 11 years ago
Michael DeHaan 86481c891d Update CHANGELOG.md 11 years ago
Michael DeHaan 4de8c8ebf0 Update RELEASES.txt 11 years ago
James Cammarata 35368e531b Additional fixes for safe_eval 11 years ago
Michael DeHaan 373fa0f722 Merge pull request #7934 from chrishepner/patch-1
Fix missing code block in playbook variables doc
11 years ago
Michael DeHaan f6c7e34527 Merge pull request #7931 from quiver/fix-yum-module-doc
In yum module example, use present/absent instead of installed/removed
11 years ago
Michael DeHaan a91ab1ed55 Merge pull request #7928 from timruffles/grammar
grammar fix
11 years ago
Michael DeHaan 42691685dd Merge pull request #7935 from mscherer/patch-1
Fix small typographic error
11 years ago
mscherer 5ca8482d51 Fix small typographic error 11 years ago
James Cammarata 5429b85b9f Change safe_eval to a strict white list 11 years ago
Chris Hepner 49f3a794b1 Fix missing code block in playbook variables doc
A code sample was not being rendered as a code block. This adds the preceding '::' reStructuredText markup.
11 years ago
George Yoshida 779c6cb7f8 In the yum module example, use present/absent instead of installed/removed 11 years ago
trbs dfc625a7df apt_key clear message when downloading key returns an (http) error code 11 years ago
Tim Ruffles 676f0a6e76 grammar fix 11 years ago
Stephen Paul Suarez 49cf5831c5 support old and new versions of APIError 11 years ago
Stephen Paul Suarez dfabf2707a fixes the now-incorrect module for ApiError
https://github.com/dotcloud/docker-py/blob/0.3.2/docker/errors.py
- ApiError is now(0.3.2) under the docker.errors
11 years ago
James Cammarata d8a7b49b59 Merge branch 'inventorytree' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-inventorytree 11 years ago
Matt Martz 19f5ce2c9c Allow --vault-password-file to work with a script as well as a flat file 11 years ago
James Cammarata 375edbd087 Check to make sure key exists in tag list before using it
Fixes #7910
11 years ago
James Cammarata 98f8438236 Updating the other classes in the group module to match #7249 11 years ago
James Cammarata bdd9b4cac4 Merge pull request #7249 from jfchevrette/implement-group-checking-if-state-present
Allow group module to handle check_mode properly when group.state=present and group already exists
11 years ago
James Cammarata 5951f14dcb Merge pull request #7915 from gitaarik/devel
Add examples for `shell` and `command` modules.
11 years ago
James Cammarata e4a4152f39 Merge pull request #7912 from adrienbrault/patch-1
Fix typo in playbook roles doc
11 years ago
James Cammarata 0fee40774d Merge pull request #7909 from Elemecca/t-apt-list
Restore #6484 (YAML lists in apt) reverted by c751168.
11 years ago
James Cammarata 1adb6dfa05 Remove redundant 'self.user or' added by 0f91add 11 years ago
Rik 59d98993eb Added examples to the command module 11 years ago
Rik 1146c09f9d Added examples to the shell module 11 years ago
Adrien Brault be22ed632c Fix typo in playbook roles doc 11 years ago
Sam Hanes 769ee61f66 Restore #6484 reverted by c751168. 11 years ago
James Cammarata bbaf803227 Merge pull request #7176 from leucos/devel
Arch PKGBUILD fixes : removes man3 section and adds contributor list
11 years ago
Michael Peters 45cf1dbbc5 Fixing issue #7906
Catch any InvalidInstanceID.NotFound errors coming from the boto library
when trying to find the newly created instance. When this happens We should
just wait and try again.
11 years ago
Thomas Mangin 0f91add86f Explicitly set the user option for ssh connections
Fixes #7170
11 years ago
Paul Sokolovsky f8bf9cdeec Handle TemplateNotFound to render more helpful error message.
At the point the exception is handled, it is likely due to error loading
a sub-template included from main template. Besides file not found, it
can be caused also by include path failing Jinja2 checks. Now, when
rendering the exception from Jinja, it will include exception name. This
will give basic context or *what* the error is.

Fixes #7103
Fixes #7105
11 years ago
Frédéric de Villamil 126d15cc43 Adds support for Cloudwatch detailled monitoring in ec2_lc module.
Enabling detailled monitoring in the launch config is mandatory to be able to activate cloudwatch in the to be created autoscaling group.
11 years ago
James Cammarata 52c7d50f1e Merge pull request #6824 from sivel/make-rpm-from-release
Allow 'make rpm' work from a release tarball
11 years ago
James Cammarata 5d65c1c4a4 Merge branch 'Mbosco-patch-1' into devel 11 years ago
James Cammarata 6bd0621037 Merge branch 'devel' of https://github.com/ansible/ansible into devel 11 years ago
James Cammarata 1702c2fd50 Merge branch 'patch-1' of https://github.com/Mbosco/ansible into Mbosco-patch-1 11 years ago
James Cammarata 5ad7dcf4f0 Merge pull request #6766 from Jmainguy/mysql_db_bug
mysql_db module now correctly fails on import if bz2 or gz fails.
11 years ago
James Cammarata 9564818e1e Merge branch 'fix_lineinfile_newlines' into devel 11 years ago