Commit graph

11286 commits

Author SHA1 Message Date
George Yoshida
779c6cb7f8 In the yum module example, use present/absent instead of installed/removed 2014-06-25 23:21:43 +09:00
trbs
dfc625a7df apt_key clear message when downloading key returns an (http) error code 2014-06-25 15:30:34 +02:00
Tim Ruffles
676f0a6e76 grammar fix 2014-06-25 14:00:01 +01:00
Stephen Paul Suarez
49cf5831c5 support old and new versions of APIError 2014-06-25 14:52:00 +08:00
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
2014-06-25 14:20:07 +08:00
James Cammarata
d8a7b49b59 Merge branch 'inventorytree' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-inventorytree 2014-06-24 15:21:08 -05:00
Matt Martz
19f5ce2c9c Allow --vault-password-file to work with a script as well as a flat file 2014-06-24 15:02:24 -05:00
James Cammarata
375edbd087 Check to make sure key exists in tag list before using it
Fixes #7910
2014-06-24 13:54:33 -05:00
James Cammarata
98f8438236 Updating the other classes in the group module to match #7249 2014-06-24 12:28:43 -05:00
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
2014-06-24 12:27:31 -05:00
James Cammarata
5951f14dcb Merge pull request #7915 from gitaarik/devel
Add examples for `shell` and `command` modules.
2014-06-24 12:24:21 -05:00
James Cammarata
e4a4152f39 Merge pull request #7912 from adrienbrault/patch-1
Fix typo in playbook roles doc
2014-06-24 12:17:44 -05:00
James Cammarata
0fee40774d Merge pull request #7909 from Elemecca/t-apt-list
Restore #6484 (YAML lists in apt) reverted by c751168.
2014-06-24 11:48:31 -05:00
James Cammarata
1adb6dfa05 Remove redundant 'self.user or' added by 0f91add 2014-06-24 10:45:38 -05:00
Rik
59d98993eb Added examples to the command module 2014-06-24 13:47:23 +02:00
Rik
1146c09f9d Added examples to the shell module 2014-06-24 13:45:33 +02:00
Adrien Brault
be22ed632c Fix typo in playbook roles doc 2014-06-23 19:50:17 -07:00
Sam Hanes
769ee61f66 Restore #6484 reverted by c751168. 2014-06-23 17:12:19 -07:00
James Cammarata
bbaf803227 Merge pull request #7176 from leucos/devel
Arch PKGBUILD fixes : removes man3 section and adds contributor list
2014-06-23 16:13:29 -05:00
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.
2014-06-23 16:58:07 -04:00
Thomas Mangin
0f91add86f Explicitly set the user option for ssh connections
Fixes #7170
2014-06-23 15:57:49 -05:00
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
2014-06-23 15:02:58 -05:00
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.
2014-06-23 21:00:58 +02:00
James Cammarata
52c7d50f1e Merge pull request #6824 from sivel/make-rpm-from-release
Allow 'make rpm' work from a release tarball
2014-06-23 13:04:51 -05:00
James Cammarata
5d65c1c4a4 Merge branch 'Mbosco-patch-1' into devel 2014-06-23 13:00:51 -05:00
James Cammarata
6bd0621037 Merge branch 'devel' of https://github.com/ansible/ansible into devel 2014-06-23 12:59:12 -05:00
James Cammarata
1702c2fd50 Merge branch 'patch-1' of https://github.com/Mbosco/ansible into Mbosco-patch-1 2014-06-23 12:57:13 -05:00
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.
2014-06-23 12:42:42 -05:00
James Cammarata
9564818e1e Merge branch 'fix_lineinfile_newlines' into devel 2014-06-23 12:38:12 -05:00
James Cammarata
2bfdad1e86 Merge pull request #7904 from loglevel9/7903
force evaluation of vars memory_mb, num_cpus to be int fixes #7903
2014-06-23 12:35:08 -05:00
James Cammarata
59c5d6292b Merge pull request #7902 from jirutka/filter-relpath
Add os relpath filter
2014-06-23 12:33:30 -05:00
James Cammarata
eef05f7b31 Merge branch 'botify-labs-bug/fix-health-check-to-zero-bug/7898' into devel 2014-06-23 12:32:01 -05:00
James Cammarata
9137679e59 Merge branch 'bug/fix-health-check-to-zero-bug/7898' of https://github.com/botify-labs/ansible into botify-labs-bug/fix-health-check-to-zero-bug/7898 2014-06-23 12:31:15 -05:00
James Cammarata
ce41b02300 Merge pull request #7887 from s0x/funtoo-gathering-facts
Check for empty os-release file, fixes #7885
2014-06-23 12:28:32 -05:00
James Cammarata
5d4046204b Merge pull request #7893 from botify-labs/feature/add-launch-group-sport-support
Adding support for spot instances in ansible_lc.
2014-06-23 12:09:02 -05:00
James Cammarata
095dffcfc2 Merge branch 'amenonsen-upgrade-release' into devel 2014-06-23 11:12:57 -05:00
James Cammarata
67fb2e653e Merge branch 'upgrade-release' of https://github.com/amenonsen/ansible into amenonsen-upgrade-release 2014-06-23 10:35:48 -05:00
Dann Bohn
677e99e375 force evaluation of vars memory_mb, num_cpus to be int fixes #7903 2014-06-23 11:16:03 -04:00
Jakub Jirutka
726a61eb43 Add os relpath filter 2014-06-23 16:10:07 +02:00
Chris Church
65a8ffef6e Merge pull request #7900 from cchurch/fix_remote_chmod
Fix missing arg for _remote_chmod method.
2014-06-23 06:13:00 -04:00
Frédéric de Villamil
1f3663b196 Adds support for health_check_period and health_check_type in ec2_asg module.
Default is set to 300 seconds, which is AWS default.

This PR fixes a bug (#7898) where instances created within an autoscaling group using the `ec2_asg` module gets immediately terminated because the `health_check_period` is set to 0, which causes the instance to be checked without having the time to actually boot.

Adding `health_check_type` is needed because you may want to check your instance health against an ELB instead of just EC2 default cloudwatch.
2014-06-23 12:09:31 +02:00
Chris Church
6aaad5dc9b Fix missing arg for _remote_chmod method. 2014-06-23 06:09:08 -04:00
Frédéric de Villamil
93daebe1e2 Adding support for spot instances in ansible_lc.
AWS allows to define launch configuration with spot instances. This is also natively supported by boto (see http://boto.readthedocs.org/en/latest/ref/autoscale.html)
2014-06-23 09:05:47 +02:00
Michael DeHaan
9631309433 Update CHANGELOG.md 2014-06-22 12:26:49 -04:00
Michael DeHaan
4acc93b665 Merge pull request #7889 from chrishoffman/win_group
Adding win_group module
2014-06-22 11:26:27 -05:00
Michael DeHaan
558f4d7b1a Merge pull request #7886 from chrishoffman/win_service
Bugfix and better error propagation for win_service module
2014-06-22 11:24:49 -05:00
Chris Hoffman
0dab7b014b Adding win_group module 2014-06-22 09:01:04 -04:00
Ivo Senner
f4fd9d366b Check for empty os-release file, fixes #7885 2014-06-22 04:08:59 +02:00
Chris Hoffman
1c2d244964 Fixing bug with stopped state 2014-06-21 22:01:02 -04:00
Chris Hoffman
844e90093b Better propagation of cmdlet errors 2014-06-21 21:59:53 -04:00