Joshua Conner
7a6c60b437
docker: use type instead of manually casting strings to lists
2014-03-28 11:19:48 -04:00
Joshua Conner
7bba229838
docker bugfixes: trim whitespace around list param elements, handle list params being coerced to int or long type
2014-03-28 11:19:13 -04:00
Michael DeHaan
2ddb251538
Merge pull request #6597 from tarka/handle-uncreated-symlink-tmpfile
...
Handle missing symlink tempfile
2014-03-28 11:11:32 -04:00
Michael DeHaan
0bec29a626
Merge pull request #6524 from tyll/update_rc_d_disable
...
service module: Properly disable Debian services
2014-03-28 11:10:46 -04:00
Michael DeHaan
2a656b2cf4
Merge branch 'devel' of https://github.com/drewblas/ansible into devel
2014-03-28 11:07:40 -04:00
Michael DeHaan
df3bb70797
Merge pull request #6630 from bigl0af/devel
...
Modified library/system/user so that password change date is set on Sola...
2014-03-28 10:57:59 -04:00
Michael DeHaan
3b285d736c
Merge pull request #6296 from jdauphant/devel
...
Add linux module parameters for the modprobe module
2014-03-27 17:12:21 -04:00
Michael DeHaan
9921f804f9
Merge pull request #6643 from herbygillot/fact-full-hostname
...
Add a fact providing the full hostname, without the domain portion
2014-03-27 17:09:34 -04:00
Michael DeHaan
9870784d80
Merge pull request #6733 from jjshoe/patch-1
...
Add meta to the directory layout for roles
2014-03-27 16:54:12 -04:00
Michael DeHaan
6a4bae3b73
Merge pull request #6735 from echohead/with_first_found_typo
...
Fix typo in with_first_found doc.
2014-03-27 16:53:47 -04:00
Tim Miller
0306096fee
Fix typo in with_first_found doc.
2014-03-27 13:42:40 -07:00
jjshoe
647c92791c
Add meta to the directory layout for roles
2014-03-27 15:08:20 -05:00
Michael DeHaan
ac18d289aa
Merge pull request #6732 from ciupicri/micro-optimizations
...
Micro-optimizations
2014-03-27 15:25:34 -04:00
Cristian Ciupitu
96ff1444f0
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
1eaf85b89f
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
Michael DeHaan
cda90e3ff6
Merge pull request #6720 from ahtik/issue-ufw-reset-fix
...
Fixed ufw module doc reset vs reseted
2014-03-27 14:14:35 -04:00
James Tanner
95a283ccaa
Addresses #4109 Remove debug print statement
2014-03-27 11:51:22 -04:00
James Tanner
c1f4142a29
Fixes #4109 Filter plays by tags when using --list-hosts
2014-03-27 11:47:49 -04:00
Ahti Kitsik
4d55f86f95
Fixed ufw module doc tags, it's reset everywhere, not reseted.
2014-03-27 17:22:39 +02:00
Michael DeHaan
1faa840b67
Merge pull request #6713 from hfinucane/sshconfdotpy
...
Make ssh_config paramiko 1.12/1.13 compatible
2014-03-27 10:36:14 -04:00
Henry Finucane
7626eacc7a
Make ssh_config paramiko 1.12/1.13 compatible
2014-03-26 17:34:04 -07:00
Michael DeHaan
cf434df6a4
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
78bdb078fe
Fix for bug related to async jid polling change plus a new test
2014-03-26 15:49:15 -05:00
James Tanner
88462729aa
Addresses #6708 fill in missing keywords for ssh.py _communicate
2014-03-26 15:55:54 -04:00
jctanner
7dc3dc5279
Merge pull request #6708 from sivel/put-file-control-master
...
Share p.communicate alternative logic between exec_command and put_file
2014-03-26 15:02:14 -04:00
James Cammarata
e09313120c
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
James Tanner
38de8cc87e
Addresses #6705 Only set the role_uuid inside the role vars
2014-03-26 14:43:07 -04:00
Matt Martz
b8cb23d309
Share p.communicate alternative logic between exec_command and put_file
2014-03-26 13:41:33 -05:00
Matt Martz
e093b216ff
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
Michael DeHaan
2ce77b8ccf
Merge pull request #6706 from geerlingguy/devel
...
Fix template validation docs and example.
2014-03-26 13:45:01 -04:00
Jeff Geerling
8960cba4a3
Fixed template validation docs and example.
2014-03-26 12:42:15 -05:00
James Tanner
8991e403e8
Fixes #6705 Give each role a unique uuid and apply tags only to tasks matching the uuid
2014-03-26 13:29:41 -04:00
Michael DeHaan
c9f93ccd16
Merge pull request #6699 from clconway/devel
...
Fixes minor typos in the GCE guide, one of which causes a code block to ...
2014-03-26 13:16:01 -04:00
James Cammarata
9ede6f7f49
Convert gather_facts to a boolean value if it is not None
...
Fixes #5618
2014-03-26 12:04:06 -05:00
James Tanner
2a976ac313
Fixes #5059 Ignore lookup failures when templating a task name
2014-03-26 11:28:43 -04:00
Chris Conway
f1ab5109ea
Fixes minor typos in the GCE guide, one of which causes a code block to fail to render.
2014-03-26 07:37:34 -07:00
jctanner
21054798a5
Merge pull request #6696 from jjshoe/patch-1
...
Show argument dependency
2014-03-26 09:55:20 -04:00
jjshoe
12c84dd6bd
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
b3cdcbff75
Adding in a test for subversion export option
2014-03-25 22:21:31 -05:00
James Cammarata
19c92b3a42
Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export
2014-03-25 21:25:50 -05:00
James Cammarata
7a3fa63db5
Fix for unicode environment variable handling
...
Fixes #5395
2014-03-25 20:45:04 -05:00
James Cammarata
18d82d1eb6
Documentation/examples updates for new 1.6 accelerate options
...
Fixes #6692
2014-03-25 19:32:48 -05:00
Michael DeHaan
22e6293e8b
Update CHANGELOG.md
...
Correct module name in changelog
2014-03-25 18:38:34 -04:00
James Tanner
3194fbd365
Fixes #6655 catch unicode encoding errors before sending to syslog
2014-03-25 16:07:12 -04:00
jctanner
7b8d1c0ffd
Merge pull request #6580 from ramondelafuente/fix-vault-editor-call
...
Changed call to EDITOR to allow for parameters
2014-03-25 15:48:59 -04:00
Ramon de la Fuente
c79c001bfb
Changed call to EDITOR to allow for parameters
...
The EDITOR environment variable is used to create and edit files in the vault.
But if the EDITOR variable contains parameters, subprocess.call() breaks.
This fixes the EDITOR environment variable to be safely split into a list.
It adds a dependency on shlex.
2014-03-25 20:29:03 +01:00
James Cammarata
c9bf7eb9bb
Don't run {failed|changed}_when checks until async_status is done
...
Fixes #5117
2014-03-25 14:18:47 -05:00
James Cammarata
4ea12c1b86
Make sure stat of dest is available in atomic_move
...
Fixes #6682
2014-03-25 14:03:21 -05:00
jctanner
adbd6865da
Merge pull request #6681 from zytek/devel
...
Properly revert changes introduced in #6579
2014-03-25 13:52:34 -04:00
James Tanner
f9018a6f1d
Ensure handlers run when meta tasks are defined and add handler integration tests
...
Fixes #6678
Fixes #6670
2014-03-25 13:33:52 -04:00