James Cammarata
f6e1bdabea
Ensure ports are set correctly in accelerate module
2013-09-05 09:52:10 -05:00
James Cammarata
eae0cb5d81
Merge pull request #4029 from guersam/patch-1
...
Fix: raise correct error in accelerate mode
2013-09-05 06:44:52 -07:00
guersam
64db327411
Fix: raise correct error in accelerate mode
2013-09-05 15:10:45 +09:00
TERAOKA Yoshinori
43464b6243
fix get_db_info
...
using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.
2013-09-05 12:40:16 +09:00
James Cammarata
7e849ac7e0
Merge pull request #4015 from sergevanginderachter/changeflatlog
...
fix flattened plugin name in changelog
2013-09-04 18:47:07 -07:00
kavink
a075ec9831
Bug fix for a crash, when any_errors_fatal is true
...
Reported by Rumen:
TASK: [fail FAIL] *************************************************************
skipping: [hostname.com]
failed: [hostname.com] => {"failed": true}
msg: Failed as requested from task
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 268, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/bin/ansible-playbook", line 208, in main
pb.run()
File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 262, in run
if not self._run_play(play):
File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 580, in _run_play
if (hosts_count - len(host_list)) > int((play.max_fail_pct)/100.0 * hosts_count):
TypeError: object of type 'NoneType' has no len()
2013-09-04 18:30:33 -07:00
James Cammarata
fff497a1ae
Make sure the accelerated port is set to a sane value
2013-09-04 15:52:39 -05:00
James Cammarata
cc21e5c90c
Adding hostvars to injected variables in accelerate ssh runner
...
Also some minor cleanup of some fb* variables and functions, which
were remnants of the old fireball2 name
Fixes #4021
2013-09-04 15:29:46 -05:00
James Cammarata
7b13b1e03e
Minor fix to dependency dupe patch
2013-09-04 11:26:49 -05:00
James Cammarata
16258edd7a
Merge branch 'devel-duplicates2' of https://github.com/smoothify/ansible into smoothify-devel-duplicates2
2013-09-04 10:13:06 -05:00
James Cammarata
a202adcae1
Merge branch 'doublecallback' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-doublecallback
2013-09-04 09:58:06 -05:00
smoothify
5337397abd
Second Attempt: Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file.
2013-09-04 15:50:39 +01:00
James Cammarata
c0fecf87d1
Increase default socket timeout to 5 minutes
2013-09-04 09:47:40 -05:00
James Cammarata
2c6baf6845
Merge branch 'devel-duplicates' of https://github.com/smoothify/ansible into smoothify-devel-duplicates
2013-09-04 08:54:56 -05:00
smoothify
0411ea2867
Ensure duplicate roles are not loaded in the case of a missing meta/main.yml file.
2013-09-04 12:38:42 +01:00
James Cammarata
82ed1b8d97
Updated CHANGELOG with accelerated mode/role defaults updates
2013-09-04 04:49:46 -05:00
Serge van Ginderachter
1de6094d22
fix flattened plugin name in changelog
2013-09-04 09:10:23 +02:00
James Cammarata
d27372ff08
Modified ec2_elb doc per issue #3849
2013-09-03 16:13:25 -05:00
James Cammarata
4eedfa46a2
Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel
2013-09-03 15:05:13 -05:00
James Cammarata
2e49d2003d
Fix bug where accelerate keyword was not checked for boolean value
...
The play was just checking for the presence of the keyword in the
YAML datastructure, and not the value of the field, so doing something
like variable substitution was always causing the play to be accelerated
2013-09-03 14:20:56 -05:00
James Cammarata
2696135b3b
Display error during launch of accelerated daemon
...
* also minor tweak to the # of retries in the connection attempt
Fixes #4012
2013-09-03 12:28:32 -05:00
James Cammarata
8a016bb374
Adding the facility to the accelerate daemon syslog calls
2013-09-03 11:30:29 -05:00
James Cammarata
7c1c9b3d10
Fix message in utils related to python-keyczar and fireball/acc mode
2013-09-03 11:16:50 -05:00
James Cammarata
53c2f4c1bb
Fix race condition on creating the temp directory for ControlPersist
...
Fixes #3943
2013-09-03 11:00:33 -05:00
James Cammarata
26a8d4ce9f
Added 'reloaded' state to list of states checked for bounced services
...
Fixes #3556
2013-09-03 09:49:19 -05:00
James Cammarata
ff203dda45
Adding docs for the new accelerated mode
2013-09-02 23:08:00 -05:00
James Cammarata
d05c61d1f0
Merge branch 'devel' into fireball2
...
Conflicts:
lib/ansible/playbook/__init__.py
lib/ansible/playbook/play.py
2013-09-02 21:54:02 -05:00
James Cammarata
50f54f6bda
Making variable names more descriptive for the default variables work
2013-09-02 21:37:50 -05:00
James Cammarata
02b7b79d7e
Re-adding capability of tasks to see a unique view of their own defaults
2013-09-02 21:37:50 -05:00
Serge van Ginderachter
8abb49bd78
fix debian release version
2013-09-02 21:32:16 +02:00
James Pharaoh
137a32ca36
make rds handle vpc security groups properly
2013-09-02 20:40:41 +02:00
James Pharaoh
dc5ffb688c
fix for rds region variable
2013-09-02 20:40:32 +02:00
Michael DeHaan
6dd3505c9e
Merge pull request #3987 from succhiello/feature/fix_extra_vars_json_docs
...
fix JSON extra vars quotation.
2013-09-02 09:59:06 -07:00
James Cammarata
266d2008d8
Reverting the role default variables change
...
Loading the default variables in _build_role_dependencies() lead to
a side-effect where those variables were over-riding inventory variables.
2013-09-01 08:53:59 -05:00
James Cammarata
47a89a57fa
Fixing bug in playbook use of default variables in roles
2013-09-01 08:49:41 -05:00
kiri
633eda957d
fix JSON extra vars quotation.
2013-09-01 22:36:30 +09:00
James Cammarata
e0df5b5888
A couple more tweaks to role default variables/dependencies
...
* Default variables are now fed directly into roles, just like the
other variables, so that roles see their unique values rather
than those set at the global level.
* Role dependency duplicates are now determined by checking the params used
when specifying them as dependencies rather than just on the name of the
role. For example, the following would be included twice without having
to specify "allow_duplicates: true":
dependencies:
- { role: foo, x: 1 }
- { role: foo, x: 2 }
2013-09-01 00:43:16 -05:00
Michael DeHaan
6f76ccf10e
Merge pull request #3981 from jerm/devel
...
Adding regions_exclude parameter to be able to do subtractive region exc...
2013-08-31 17:00:38 -07:00
Jeremy Price
ad75350919
adding regions_exclude parameter to be able to do subtractive region exclusion. Defaults to us-gov-west-1 so as to not cause errors for people who don't have govcloud credentials but get it in their regions list
2013-08-31 17:58:37 -04:00
James Cammarata
d69d5c294f
Renaming fireball2 as 'accelerate' and removing old references
2013-08-30 13:26:27 -05:00
James Cammarata
736c8b19d3
Added ability to limit role dependencies to just one inclusion
2013-08-30 12:42:27 -05:00
James Cammarata
8bfba5c0b4
Adding documentation for role default variables
2013-08-30 10:13:22 -05:00
James Cammarata
6f6efa268b
Merge branch 'smoothify-defaults' into devel
2013-08-30 08:40:47 -05:00
James Cammarata
25e3eed519
Fixing a bug in variable precedence for roles and dependencies
2013-08-30 01:20:45 -05:00
James Cammarata
637d3070dc
Allow default variables to be overridden by inventory variables
2013-08-29 17:21:28 -05:00
James Cammarata
9806f89a04
Revert "Construct the multiprocessing manager only once."
...
This reverts commit 1d13ec2da3
.
2013-08-29 11:00:25 -05:00
Serge van Ginderachter
a311ee35b3
Fix bug in uri where redirect check fails.
...
When the redirect check fails, the 'status' key is not set in
resp_redir, so we need to check this.
2013-08-29 15:58:01 +02:00
James Cammarata
7d3ae9fc75
Fixing a few bugs related to fireball2
...
* ssh port not being picked up, always uses default of 22
* forgot to 'import time' in the fireball2 connection plugin
2013-08-28 19:27:18 -05:00
James Cammarata
f66683863e
Merge branch 'defaults' of https://github.com/smoothify/ansible into smoothify-defaults
2013-08-28 16:24:37 -05:00
Michael DeHaan
39fe40bb60
Merge pull request #3953 from melodous/issue-3908
...
Fix issue 3908. There was some ilegal operations over the sets
2013-08-28 14:01:38 -07:00