Commit graph

3867 commits

Author SHA1 Message Date
Cristian Ciupitu
7a4270184a Micro-optimization: replace s.find(x)==0 with s.startswith(x)
timeit shows a speedup of ~1.4x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-27 20:35:20 +02:00
Cristian Ciupitu
368e3c8310 Micro-optimization: replace s.find(x)!=-1 with x in s
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-27 20:35:20 +02:00
Ahti Kitsik
c757b6624f Fixed ufw module doc tags, it's reset everywhere, not reseted. 2014-03-27 17:22:39 +02:00
Michael DeHaan
4d1d8870f5 Merge pull request #6707 from sivel/rax-extra-args
rax module: Support arbitrary extra args
2014-03-26 17:50:25 -04:00
James Cammarata
edf6fe3431 Make async jid's unique per host
The jid will now also contain the PID of the async_wrapper process,
and can each unique jid from each host is tracked rather than just
relying on one global jid per task.

Fixes #5582
2014-03-26 13:48:47 -05:00
Matt Martz
88a91acfde Support arbitrary extra args in rax module
Add extra_create_args and extra_client_args to rax module to support passing
advanced configuration options to client instantiation and server create calls.
2014-03-26 12:50:44 -05:00
Jeff Geerling
177bf3eb20 Fixed template validation docs and example. 2014-03-26 12:42:15 -05:00
jjshoe
e62b38c250 Show argument dependency
failed: [192.168.1.2] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --delete-after --rsh 'ssh -i /home/jjshoe/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no' --rsync-path 'sudo rsync' --out-format='<<CHANGED>>%i %n%L' /tmp/app vagrant@192.168.1.2:/home/ubuntu/app", "failed": true, "item": "", "rc": 1}
msg: rsync: --delete does not work without --recursive (-r) or --dirs (-d).
rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9]
2014-03-26 08:32:55 -05:00
James Cammarata
98c62f6b1c Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export 2014-03-25 21:25:50 -05:00
James Cammarata
68327fa172 Cleanup from merge of replace module and CHANGELOG update 2014-03-25 11:13:51 -05:00
James Cammarata
2c05e337cb Merge branch 'devel' of https://github.com/EvanK/ansible into EvanK-devel 2014-03-25 10:38:59 -05:00
James Cammarata
d6a2befb0d Merge branch 'file_fixes_agg' of https://github.com/bcoca/ansible into bcoca-file_fixes_agg 2014-03-24 16:38:35 -05:00
James Cammarata
d77f1976a6 Revert "add yum module downgrade support"
This reverts commit cbd1da6457.
2014-03-24 12:27:32 -05:00
Seth Woodworth
21b7c358ee adds missing ' to debconf examples 2014-03-23 18:52:08 -04:00
Michael DeHaan
24b3f7c681 Merge pull request #6640 from falloutdurham/ec2_count
ec2: Adding type int for count (in line with other cloud modules)
2014-03-23 16:24:11 -04:00
Michael DeHaan
92a79c185b Merge pull request #6635 from pilou-/debconf
Fix ValueError when selection contains a colon
2014-03-23 16:19:54 -04:00
James Cammarata
6f38595ba2 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
5a5e16776f Adding type int for count (in line with other cloud modules) 2014-03-23 13:51:54 -04:00
Pierre-Louis Bonicoli
9a140881be Fix ValueError when selection contains a colon 2014-03-23 03:35:10 +01:00
Colin Mattson
3b710005ad Clarify documentation for apt pkg, state, install_recommends 2014-03-21 13:52:36 -07:00
Michael DeHaan
1f25eb596f Fix documentation for twilio module. 2014-03-21 14:26:20 -04:00
willthames
0b87bbe839 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
James Tanner
7c263fcdad 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
595689a9ef Update documentation YAML syntax. 2014-03-20 13:22:19 -04:00
jjshoe
2a80987436 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
Michael DeHaan
5e557c6d29 Update cpanm 2014-03-20 08:10:02 -04:00
Brian Coca
a395eb3aba 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
4fd957620a 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
Michael DeHaan
ff5560f00c Update comments about redis config. 2014-03-19 18:15:52 -04:00
Michael DeHaan
fbb15ad52f Merge branch 'devel' of git://github.com/mleventi/ansible into devel 2014-03-19 18:15:06 -04:00
Michael DeHaan
7f36630dd5 Add capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
2daee9ed20 Bugfix for xattrless files and the capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
c19e4a7d0b Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8). 2014-03-19 17:48:17 -04:00
Michael DeHaan
4888b9266f Merge pull request #6549 from mattjbray/docker-tty-stdin_open-params
docker: add tty and stdin_open options
2014-03-19 17:28:12 -04:00
Michael DeHaan
319fceb64d add notes about new AWS modules. 2014-03-19 17:26:59 -04:00
Michael DeHaan
65a84667a2 Merge pull request #6540 from Zeekin/devel
Add cloud modules ec2_scaling_policy and ec2_metricalarm
2014-03-19 17:25:44 -04:00
Michael DeHaan
3fde0e3826 Add notes about new notification module. 2014-03-19 17:23:30 -04:00
Michael DeHaan
e20d173115 Merge branch 'devel' of git://github.com/tksmd/ansible into devel 2014-03-19 17:23:01 -04:00
Michael DeHaan
62ea445b47 Add note about IRC library default change. 2014-03-19 17:21:41 -04:00
Michael DeHaan
430969781c Merge pull request #5443 from nirvinehh/devel
irc module: Make default irc color none; add color none
2014-03-19 17:20:07 -04:00
James Tanner
69d40b861f Fixes #6582 Re-add regex to ignore untracked files that were never tracked 2014-03-19 15:42:40 -04:00
James Cammarata
2d4315020d Merge pull request #6571 from bcoca/file_fixes_copydir
fixed issue with directory permissions on copy
2014-03-19 13:54:12 -05:00
James Tanner
6c8980c1a4 Fixes #6567 put the git wrapper script in the module temp dir 2014-03-19 10:30:10 -04:00
Brian Coca
402cd11c52 fixed issue with directory permissions on copy #6552 2014-03-18 22:29:22 -04:00
James Tanner
9efcbd8ef2 Fixes #6548 correct issues from rhn_register refactoring 2014-03-18 21:21:18 -04:00
Michael DeHaan
d10de23f39 Merge pull request #6565 from fabianfreyer/devel
Fixed bug that occurred when pkgsite not specified
2014-03-18 17:13:05 -04:00
Michael DeHaan
ae42f4d4a5 Merge pull request #6564 from joehack3r/devel
Update example to include delete on termination
2014-03-18 17:12:29 -04:00
Michael DeHaan
43440c1034 Merge pull request #6561 from patrickheeney/slack-url-fix
Fix domain name in slack module
2014-03-18 17:11:29 -04:00
Fabian Freyer
a061440828 Fixed bug that occurred when pkgsite not specified 2014-03-18 21:55:05 +01:00
joehack3r
e4842b5df2 Update example to include delete on termination 2014-03-18 15:49:27 -05:00