Michael DeHaan
d1753046e0
Revert "Correctly catch template errors without returning invalid data"
...
This reverts commit 3cd7d47b7e
.
11 years ago
Richard Isaacson
e6f6a73328
Merge pull request #6461 from risaacson/modules_make_run_command_safer
...
Modules make run command safer
11 years ago
Richard C Isaacson
2b53ece3ab
mysql_db module: typo fix
...
Tests clean.
11 years ago
Richard C Isaacson
427221786c
Shell updates.
11 years ago
James Cammarata
bd16cce3e9
Merge pull request #6460 from jsmartin/riak-bugfix
...
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
11 years ago
James Cammarata
ccc0a8cbb0
Fix regression in dnsmadeeasy module caused by fetch_url change
...
Also:
* changed this module to use https for requests to the API
* fixed a bug in which a traceback was caused when the domain wasn't found
Fixes #6457
11 years ago
James Martin
3d032b9db9
Fixes various typos introduced in a9017af2bb
.
...
Fixes odd encoding problem with wait_for_service.
11 years ago
James Laska
9cc4be2683
Correct test integration ec2 cleanup script
11 years ago
Michael DeHaan
e753b39eae
Merge pull request #6453 from jlaska/test_git
...
Additional test scenarios in roles/test_git
11 years ago
Michael DeHaan
78ebf5d266
Still more shell fixes.
11 years ago
Michael DeHaan
98500b335b
Fixup shell handling in monit module.
11 years ago
Michael DeHaan
dac90278db
More shell fixes
11 years ago
James Tanner
6067d826e4
Close parens in portinstall
11 years ago
Michael DeHaan
4e8b97ddeb
More shell updates
11 years ago
James Tanner
e7f74251c8
Fix missing colons in cpanm
11 years ago
James Tanner
89024f5d9f
Fix typo in portinstall
11 years ago
Michael DeHaan
c193604f60
Some more run_command updates.
11 years ago
James Cammarata
303e085f8b
Only use cwd in run_command kwargs if the directory exists
11 years ago
Michael DeHaan
81b4ebbe1d
Fixes for run_command shell usage in remainder of packaging modules, save portinstall.
11 years ago
Michael DeHaan
6010e74839
Various commits to enable no-shell or safe-shell usage, more to come.
11 years ago
James Laska
bc678e7d7b
Add credentials.template and support custom INVENTORY
...
Testers may override the inventory and vars-file using the environment
variables 'INVENTORY' and 'VARS_FILE'.
11 years ago
James Laska
5c9dc33e41
Additional test_git scenarios
...
Includes coverage for accept_hostkey and additional scm URL formats.
11 years ago
James Cammarata
60a7f57300
Make sure the cwd exists in run_command before trying to use it
11 years ago
James Cammarata
751510141f
Merge branch 'patch-1' of https://github.com/dmkoch/ansible into dmkoch-patch-1
11 years ago
James Cammarata
21d629f012
Merge pull request #6446 from patricksmith/fix-git
...
git: Execute git commands in `dest` directory
11 years ago
Michael DeHaan
29c32890d5
Add notes about module.run_command to coding guidelines.
11 years ago
Dan Koch
bbf320fd22
Work around for cwd stat problems with run_command and sudo
...
This fixes issue #6443
11 years ago
James Cammarata
2c7d58abe0
Compile ca certs into a temp file to reduce number of attempts
...
For those who may have a large number of certs found, this can reduce
the number of ssl connections attempted.
11 years ago
Michael DeHaan
d37f0c6d12
Use same implementation as ssh.py for "is in host file" checks in module code, prevents git module from adding keys more than once.
11 years ago
Patrick Smith
4173608b58
git: Execute git commands in `dest` directory
11 years ago
Richard Isaacson
ebfc776533
Merge pull request #6444 from risaacson/setup_unsafe_shell
...
setup module: Mark unsafe commands as use_unsafe_shell=True.
11 years ago
Richard C Isaacson
154f123b7f
setup module: Mark unsafe commands as use_unsafe_shell=True.
11 years ago
Michael DeHaan
6d841d120e
Don't process shell commands as arrays.
11 years ago
James Cammarata
86d2ee4b97
Don't append tags from roles to the plays tags list
...
Fixes #6393
11 years ago
James Cammarata
d8a81c488e
Remove validate_certs parameter from fetch_url calls
11 years ago
James Cammarata
a9017af2bb
Adding validate_certs to all modules that use fetch_url
11 years ago
Michael DeHaan
cfabc2e28a
module.run_command is intended to bypass the shell here, so can't do ">>"
11 years ago
James Cammarata
7f38cff989
Remove unused code from get_ca_certs() function
11 years ago
James Cammarata
804e4166c8
Rewriting ssl validation to try multiple certs found in paths
...
Previously, the function checked only for a single CA root cert, however
some distributions may have multiple certs in a directory. This will now
try any .crt or .pem file contained within several common paths for
each platform.
Fixes #6412
11 years ago
Michael DeHaan
0b0ca95731
Expand environment variables and tildes passed to commands generically across the board.
11 years ago
James Tanner
0e38f5dfdc
Check for hash availability during vault operations
11 years ago
Ryan
e4805fe411
add module param to Network & sub-classes
...
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
11 years ago
Michael DeHaan
c8db3c2db9
Revert "Fix issue#6430 by instantiating Network() with expected arguments"
...
This reverts commit 2a723e908e
.
11 years ago
Michael DeHaan
2d3296d7bd
Merge pull request #6433 from jlaska/integration_ec2
...
Always run cleanup after running cloud_integration tests
11 years ago
Michael DeHaan
f2a1887f1c
Merge pull request #6436 from jlaska/issue_6430
...
Fix issue#6430 by instantiating Network() with expected arguments
11 years ago
James Laska
2a723e908e
Fix issue#6430 by instantiating Network() with expected arguments
11 years ago
Michael DeHaan
e0147f18b1
Merge pull request #6421 from bcoca/stat_noread_nomd5
...
now stat skips md5 if file isn't readable
11 years ago
James Laska
551cb1892b
Always run cleanup after running cloud_integration tests
11 years ago
Richard Isaacson
681dcf437a
Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson
0fd80f3f6f
Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago