Michael DeHaan
b35337a629
Merge pull request #4476 from mscherer/fix_4433
...
Fix issue 4433, make sure status is a int rather than a string
2013-10-12 14:42:51 -07:00
Michael DeHaan
9ea54fcaaf
Fixes a dev branch glitch where a conditional could be applied to multiple tasks. Also improves the errors on parsing bad conditionals to make them less confusing to users.
2013-10-12 17:39:28 -04:00
Michael Scherer
914226afc3
Fix issue 4433, make sure status is a int rather than a string
2013-10-12 22:10:40 +02:00
Michael DeHaan
a20d5462b6
Fix rst doc macro
2013-10-12 12:41:29 -04:00
Michael DeHaan
8faaae142c
Fix REST anchor targets
2013-10-12 11:20:56 -04:00
Michael DeHaan
b119adf684
Add note about role search path.
2013-10-12 11:05:22 -04:00
Michael DeHaan
f27a9986c1
Document standardized task/handler include syntax.
2013-10-12 10:57:11 -04:00
Michael DeHaan
6bec262b8e
Add an example of failed_when.
2013-10-12 10:51:32 -04:00
Michael DeHaan
1a7d051ab3
Update the changelog for recent 1.4 development branch activity.
2013-10-12 10:44:35 -04:00
Michael DeHaan
fee360f33e
Add example.config and main documentation of the roles_path feature.
2013-10-12 10:15:30 -04:00
Thomas Omans
632232259a
Adding config flag role_path for common/global roles
...
Using ANSIBLE_ROLE_PATH environment variable or role_path in ansible.cfg
can configure paths where roles will be searched for
extra paths will only be used as a backup once regular locations are exhausted
2013-10-12 10:15:30 -04:00
Michael DeHaan
43df00550d
Merge pull request #3827 from mscherer/disable_callbacks
...
add a way for callback to disable itself
2013-10-12 07:03:06 -07:00
Michael DeHaan
cf667fc4ba
Merge pull request #4473 from harrisongu/patch-1
...
Fix bug for setting ec2 tags
2013-10-12 06:20:53 -07:00
Harrison Gu
b5500d9a4d
Fix bug for setting ec2 tags
2013-10-12 20:57:32 +08:00
Michael DeHaan
61c2eb9cb0
Just clarify there are load balancer modules :)
2013-10-12 08:34:41 -04:00
Michael DeHaan
1b2d4c328c
Cache patterns a bit higher up to make things a little more efficient. See #4469 .
2013-10-11 22:24:37 -04:00
Julian Yap
76cec9d360
Assume state='directory' if recurse is set and previous state was 'directory'
...
Resolves this issue: https://github.com/ansible/ansible/issues/2067
2013-10-11 15:56:14 -10:00
Michael DeHaan
d168c709d5
Fix an issue where the ordering of an include statement is processed ahead of the conditional in the included statement,
...
which required a redundant check to see if a variable was defined rather than short circuiting.
Fixes #4469
2013-10-11 20:43:58 -04:00
Michael DeHaan
f51c19aaec
Merge pull request #4468 from drewlll2ll/devel
...
Fixed broken force=yes on files for directories
2013-10-11 17:33:25 -07:00
Michael DeHaan
2032489617
Prune legacy tests -- many of these are not part of the official API or documented syntax.
2013-10-11 19:31:26 -04:00
Michael DeHaan
e8b043332f
Remove some obsolete tests (mechanism of error detection suboptimal, replacements pending)
2013-10-11 19:28:53 -04:00
Michael DeHaan
add45d2ca9
Fixup legacy var detector.
2013-10-11 19:16:36 -04:00
Michael DeHaan
709ffda3d1
Tweak only_if deprecation detector.
2013-10-11 19:12:25 -04:00
Michael DeHaan
25dc0ef8d7
Remove out of date tests.
2013-10-11 19:09:10 -04:00
Michael DeHaan
800f12618e
Remove out of date tests.
2013-10-11 19:08:53 -04:00
Michael DeHaan
a45494a896
Add warnings feature.
2013-10-11 19:04:26 -04:00
Michael DeHaan
9637f620d7
Deprecation warnings of several flavors, nice and purple and can be disabled
...
in ansible.cfg.
2013-10-11 18:37:39 -04:00
Andrew Pope
6342046da6
Fixed broken force=yes on files for directories
2013-10-11 18:02:18 -04:00
Michael DeHaan
a017a69bb3
Have the parser explain another type of YAML gotcha to reduce the need for users to ask how to resolve it.
2013-10-11 17:34:26 -04:00
Michael DeHaan
861f076df5
Tweak the syntax-detector-warning-suggester-message (SDWSM) a little.
2013-10-11 17:34:26 -04:00
James Cammarata
49130c688d
Adding 'unique' option to authorized_key module and cleanup
...
A small refactoring of the authorized_key module to accomodate these
changes, plus fixing some things like not rewriting the file on every
new key. These changes bring the original feature for ssh options in-
line with the comments in #3798
Fixes #3785
2013-10-11 16:22:37 -05:00
David Minor
ed7d3f92a0
Add ssh key options parameter to authorized_key module
2013-10-11 16:22:37 -05:00
Michael DeHaan
41aaad69aa
Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442 .
2013-10-11 16:37:10 -04:00
jctanner
9c9ec52b04
Merge pull request #4463 from AndydeCleyre/patch-3
...
Corrected docs
2013-10-11 11:24:29 -07:00
Andy Kluger
f97871e0d9
Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples)
2013-10-11 13:32:23 -04:00
jctanner
65ef6a62dc
Merge pull request #4425 from jeromew/ansible_sudo_user_with_items
...
Template sudo_user via with_items
2013-10-11 10:18:46 -07:00
James Tanner
d21a0287a2
Remove all sys.exit calls in the cloud/s3 module
...
Fixes #4458
2013-10-11 11:28:47 -04:00
jctanner
861779bb6e
Merge pull request #4457 from mbarrin/devel
...
Fixed crash when s3 bucket did not exist for put operation
2013-10-11 08:18:51 -07:00
Matthew Barrington
ce0bf71245
Fixed crash when s3 bucket did not exist for put operation
2013-10-11 16:01:54 +01:00
Michael DeHaan
cef7aaad2e
Merge pull request #4456 from jcftang/devel
...
This oneliner change allows apt-key to inherit the http_proxy variable.
2013-10-11 07:28:18 -07:00
James Cammarata
d73a5da9e5
Merge pull request #4453 from pschwartz/fix_cfg_load_order_to_match_docs
...
GH-4452 Corrected config load order to match docs
2013-10-11 07:25:05 -07:00
Jimmy Tang
a4c8d3ee68
This oneliner change allows apt-key to inherit the http_proxy variable.
...
Before this fix
TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
failed: [134.226.115.202] => {"cmd": ["apt-key", "adv", "--recv-keys", "--keyserver", "keyserver.ubuntu.com", "CFFB779AADC995E4F350A060505D97A41C61B9CD"], "failed": true, "rc": 2}
stderr: gpg: requesting key 1C61B9CD from hkp server keyserver.ubuntu.com
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
After the fix
TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
changed: [134.226.115.202]
2013-10-11 15:19:52 +01:00
Philip Schwartz
65c8c691f7
GH-4452 Corrected config load order to match docs with
...
cwd > ~ > /etc
Signed-off-by: Philip Schwartz <philip.schwartz@rackspace.com>
2013-10-11 08:33:54 -05:00
Michael DeHaan
e4036b1bfc
Merge pull request #4342 from pileofrogs/devel
...
mysql_replication switch to DictCursor for compatibility with more mysql server versions
2013-10-11 06:21:22 -07:00
Michael DeHaan
ce79efc34a
Add missing version_added doc to mysql login port parameter.
2013-10-11 09:14:14 -04:00
James Tanner
e3849f1be7
Fixes #4312 for older versions of usermod which do not have --append
2013-10-11 09:10:46 -04:00
Michael DeHaan
119b6d73dd
Remove examples of module antipattern of setting the choices array for boolean types.
2013-10-11 08:45:13 -04:00
Michael DeHaan
a9225d0c7a
Merge pull request #4437 from sergevanginderachter/changed_filter
...
Implement a |changed filter plugin
2013-10-10 17:26:56 -07:00
Serge van Ginderachter
c4d20094b4
make changed filter understand results lists
2013-10-10 22:08:38 +02:00
Serge van Ginderachter
e5d45311f9
Implement a |changed filter plugin
2013-10-10 21:34:37 +02:00