Michael DeHaan
fba2f1f9a9
Merge pull request #6639 from fvieira/devel
...
Add missing sha1 import on known_hosts.py
2014-03-23 16:23:55 -04:00
Michael DeHaan
ebc9ca9504
Merge pull request #6635 from pilou-/debconf
...
Fix ValueError when selection contains a colon
2014-03-23 16:19:54 -04:00
Michael DeHaan
a24d3f78d9
Merge pull request #6634 from pilou-/fix
...
Remove print statements
2014-03-23 16:12:04 -04:00
James Cammarata
31628d86a1
Adding in a configurable option for the accelerate daemon timeout
...
This was apparently an oversite, as it has never been configurable
despite having a module parameter for the timeout.
2014-03-23 14:45:49 -05:00
James Cammarata
1fa0fab6cb
Documentation updates for accelerate mode improvements
2014-03-23 14:45:49 -05:00
James Cammarata
3ea5d573aa
Acclerate improvements
...
* Added capability to support multiple keys, so clients from different
machines can connect to a single daemon instance
* Any activity on the daemon will cause the timeout to extend, so that the
daemon must be idle for the full number of minutes before it will auto-
shutdown
* Various other small fixes to remove some redundancy
Fixes #5171
2014-03-23 14:45:49 -05:00
Ian Pointer
bebb11afeb
Adding type int for count (in line with other cloud modules)
2014-03-23 13:51:54 -04:00
Francisco José Marques Vieira
e9d7476c28
Add missing sha1 import on known_hosts.py
2014-03-23 17:19:23 +00:00
Pierre-Louis Bonicoli
d3a470db0c
Remove print statements
...
"print item" raises an exception when type of item is
jinja2.runtime.StrictUndefined
2014-03-23 03:58:44 +01:00
Pierre-Louis Bonicoli
1bb5b0f6bd
Fix ValueError when selection contains a colon
2014-03-23 03:35:10 +01:00
Max Riveiro
9f7342d46d
Add tesing deps installation into hacking/README
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2014-03-23 00:42:51 +04:00
Max Riveiro
9114fd6d7a
Add rollbar_deployment module
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2014-03-23 00:38:53 +04:00
David Fox
6b0ef5f10e
Modified library/system/user so that password change date is set on Solaris when updating password
2014-03-22 15:12:56 -04:00
Brent Langston
ca14df4790
Make the default URI a constant
2014-03-22 13:56:49 -04:00
Brent Langston
712e114dff
Allow custom hipchat urls
2014-03-21 23:22:05 -04:00
Michael DeHaan
f82ac9f8e9
Merge pull request #6620 from cmattson/apt-docs
...
Clarify documentation for apt pkg, state, install_recommends
2014-03-21 17:38:19 -04:00
Colin Mattson
3e6bf9640c
Clarify documentation for apt pkg, state, install_recommends
2014-03-21 13:52:36 -07:00
Michael DeHaan
50aa3f6a09
Fix documentation for twilio module.
2014-03-21 14:26:20 -04:00
James Tanner
5b3b9ba267
Addresses #4407 Caculate failed percentage based on serial and number of hosts in play
2014-03-21 13:31:47 -04:00
Michael DeHaan
d0cbb51170
Merge pull request #6615 from 8191/devel
...
Addresses #6591 Hide diff for lineinfile if file did not change.
2014-03-21 10:46:29 -04:00
Michael DeHaan
5b9b5fd00d
Merge pull request #6612 from willthames/npm_fix_nonexistent_path
...
Allow npm to install to a directory that doesn't yet exist
2014-03-21 10:42:23 -04:00
Michael DeHaan
b204419ad3
Merge pull request #6609 from joshuaconner/etcd_lookup_use_env_var_if_set
...
etcd lookup: use $ANSIBLE_ETCD_URL if it exists in the env
2014-03-21 10:37:09 -04:00
willthames
c0ac615a07
Allow state=absent for ec2_vol
...
Add methods to the module to make it more readable and allow reuse
2014-03-21 22:10:55 +10:00
Manuel Faux
b8158f5f6a
Addresses #6591 Hide diff for lineinfile if file did not change.
2014-03-21 08:40:38 +01:00
Maykel Moya
6a92d48b0f
ec2_group: Document group_desc rule param
2014-03-21 08:35:25 +01:00
willthames
7272877df6
Allow npm to install to a directory that doesn't yet exist
...
If path is specified but does not exist, create it.
Fail if path is specified but is not a directory
2014-03-21 13:30:12 +10:00
Joshua Conner
1c504eff68
etcd lookup: use $ANSIBLE_ETCD_URL if it exists in the env
2014-03-20 15:16:28 -07:00
James Tanner
14499e8bf3
Fixes #4325 allow async and poll parameters to be templated vars
2014-03-20 16:09:58 -04:00
James Tanner
ea5186ca63
Fixes #6590 add set_remote_user parameter to synchronize
...
This allows usage of custom ssh configs for remote hosts where
the inventory user does not match the configured user.
2014-03-20 13:56:07 -04:00
Michael DeHaan
c729bf209c
Update documentation YAML syntax.
2014-03-20 13:22:19 -04:00
James Tanner
95c79ad483
Fixes #4239 merge injects with new vars loaded from files
2014-03-20 13:12:33 -04:00
Maykel Moya
a429ff26dc
ec2_group: Add documentation for rules_egress
2014-03-20 17:24:22 +01:00
Maykel Moya
b642e39e67
ec2_group: rules are not a required task argument
2014-03-20 17:24:22 +01:00
Maykel Moya
3156df9931
ec2_group: Request a fresh group object after creation
...
When a group is created, an egress_rule ALLOW ALL to 0.0.0.0/0 is added
automatically but it's not reflected in the object returned by the AWS API
call. After creation we re-read the group for getting an updated object.
2014-03-20 17:24:22 +01:00
Maykel Moya
649fcd3e1c
ec2_group: Auto create missing groups referenced in rules
...
Suppose a pair of groups, A and B, depending on each other. One solution
for breaking the circular dependency at playbook level:
- declare group A without dependencies
- declare group B depending on A
- declare group A depending on B
This patch breaks the dependency at module level. Whenever a depended-on
group is missing it's first created. This approach requires only two tasks:
- declare group A depending on B (group B will be auto created)
- declare group B depending on A
When creating a group EC2 requires you to pass the group description. In
order to fullfil this, rules now accept the `group_desc` param. Note
that group description can't be changed once the group is created so
it's nice to keep descriptions in sync.
Concrete example:
- ec2_group:
name: mysql-client
description: MySQL Client
rules_egress:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-server
group_desc: MySQL Server
- ec2_group:
name: mysql-server
description: MySQL Server
rules:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-client
2014-03-20 17:24:17 +01:00
James Tanner
d327e3d11a
Fixes #5622 included tasks in roles now inherit tags from the role
2014-03-20 11:56:13 -04:00
Maykel Moya
77d7165dde
ec2_group: Deduplicate rule parsing/validation code
2014-03-20 16:19:35 +01:00
Maykel Moya
f97243d6ed
ec2_group: Add support for handling egress rules
2014-03-20 15:50:08 +01:00
Michael DeHaan
9db652a21b
Merge pull request #6600 from jjshoe/patch-1
...
assign_public_ip was actually added in 1.5
2014-03-20 10:43:51 -04:00
jjshoe
1f980b6880
assign_public_ip was actually added in 1.5
...
Checked 1.4.5 and this option doesn't exist. Will check/update/pull docs next.
2014-03-20 09:21:10 -05:00
Steve Smith
e157355fd6
Only unlink the symlink tempfile on error if it was created in the
...
previous operation.
2014-03-20 13:14:24 +01:00
Michael DeHaan
2156e87e62
Update cpanm
2014-03-20 08:10:02 -04:00
Brian Coca
1b38bd8a40
fixed issue with tmp file (path can include filename) and added missing
...
else which made it try to link x2
2014-03-20 07:55:53 -04:00
Brian Coca
6e6ad97239
now correctly checks absolute path for src= existance for links
...
also updated docs to be a bit clearer on symlink behaviour
2014-03-20 07:49:25 -04:00
Till Maas
898a38b074
module_utils/atomic_move(): Use tempfile module
...
Fix a potential race condition by using the tempfile module.
2014-03-20 12:34:19 +01:00
Till Maas
8f778a83df
module_utils/atomic_move(): Restore owner/group
...
Manually restore owner and group if both src and dest are on a separate
file system.
2014-03-20 12:34:19 +01:00
Till Maas
c21fa8ebee
service module: Properly disable Debian services
...
Services on Debian need to be disabled with 'disable' instead of 'remove'
to avoid them being enabled again when 'update-rc.d $service defaults' is run,
e.g. as part of a postinst script.
2014-03-20 09:19:42 +01:00
Michael DeHaan
991399edf0
Update comments about redis config.
2014-03-19 18:15:52 -04:00
Michael DeHaan
b0639b16cf
Merge branch 'devel' of git://github.com/mleventi/ansible into devel
2014-03-19 18:15:06 -04:00
Michael DeHaan
f2d9e064ec
Merge branch 'hash-behavior-plugins' of git://github.com/echohead/ansible into devel
...
Conflicts:
lib/ansible/inventory/__init__.py
2014-03-19 18:07:17 -04:00