Commit graph

9442 commits

Author SHA1 Message Date
Michael DeHaan 29c32890d5 Add notes about module.run_command to coding guidelines. 2014-03-12 15:19:16 -04:00
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.
2014-03-12 13:45:16 -05:00
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. 2014-03-12 14:11:45 -04:00
Richard Isaacson ebfc776533 Merge pull request #6444 from risaacson/setup_unsafe_shell
setup module: Mark unsafe commands as use_unsafe_shell=True.
2014-03-12 11:18:05 -05:00
Richard C Isaacson 154f123b7f setup module: Mark unsafe commands as use_unsafe_shell=True. 2014-03-12 11:13:20 -05:00
Michael DeHaan 6d841d120e Don't process shell commands as arrays. 2014-03-12 11:57:28 -04:00
James Cammarata 86d2ee4b97 Don't append tags from roles to the plays tags list
Fixes #6393
2014-03-12 10:41:18 -05:00
James Cammarata d8a81c488e Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
James Cammarata a9017af2bb Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
Michael DeHaan cfabc2e28a module.run_command is intended to bypass the shell here, so can't do ">>" 2014-03-12 10:57:49 -04:00
James Cammarata 7f38cff989 Remove unused code from get_ca_certs() function 2014-03-12 09:33:19 -05:00
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
2014-03-12 09:21:19 -05:00
Michael DeHaan 0b0ca95731 Expand environment variables and tildes passed to commands generically across the board. 2014-03-12 10:11:09 -04:00
James Tanner 0e38f5dfdc Check for hash availability during vault operations 2014-03-12 09:38:29 -04:00
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.
2014-03-12 09:37:12 -04:00
Michael DeHaan c8db3c2db9 Revert "Fix issue#6430 by instantiating Network() with expected arguments"
This reverts commit 2a723e908e.
2014-03-12 09:23:13 -04:00
Michael DeHaan 2d3296d7bd Merge pull request #6433 from jlaska/integration_ec2
Always run cleanup after running cloud_integration tests
2014-03-12 08:11:26 -05:00
Michael DeHaan f2a1887f1c Merge pull request #6436 from jlaska/issue_6430
Fix issue#6430 by instantiating Network() with expected arguments
2014-03-12 08:10:16 -05:00
James Laska 2a723e908e Fix issue#6430 by instantiating Network() with expected arguments 2014-03-12 09:04:42 -04:00
Michael DeHaan e0147f18b1 Merge pull request #6421 from bcoca/stat_noread_nomd5
now stat skips md5 if file isn't readable
2014-03-12 07:55:17 -05:00
James Laska 551cb1892b Always run cleanup after running cloud_integration tests 2014-03-12 08:37:01 -04:00
Richard Isaacson 681dcf437a Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:54 -05:00
Richard Isaacson 0fd80f3f6f Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:44 -05:00
Richard Isaacson d0795a8336 Merge pull request #6427 from risaacson/migrate_booleans_bool_rax_files_objects
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:40 -05:00
Richard Isaacson a6c89a86f6 Merge pull request #6426 from risaacson/migrate_booleans_bool_rax_files
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:30 -05:00
Richard Isaacson 9bb8c2aa42 Merge pull request #6425 from risaacson/migrate_booleans_bool_rax
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:25 -05:00
Richard Isaacson 2bd97dc8b6 Merge pull request #6424 from risaacson/migrate_booleans_bool_quantum_subnet
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:17 -05:00
Richard Isaacson 125775dc3d Merge pull request #6423 from risaacson/migrate_booleans_bool_gce
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:08 -05:00
Richard Isaacson e784ba533a Merge pull request #6422 from risaacson/migrate_booleans_bool_ec2_vpc
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:24:54 -05:00
Richard C Isaacson c1af272ba1 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00
Richard C Isaacson c2bf201bce Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:56:51 -05:00
Richard C Isaacson c3dc195362 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:53:24 -05:00
Richard C Isaacson 3121a7f3ec Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:50:03 -05:00
Richard C Isaacson 86adb60a82 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:46:53 -05:00
Richard C Isaacson 05a1883cb9 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:43:01 -05:00
Richard C Isaacson 1ea5b04e05 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:39:42 -05:00
Richard C Isaacson e40fd9bb0d Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:36:44 -05:00
Brian Coca 463a1c21ea now stat skips md5 if file isn't readable 2014-03-11 22:50:05 -04:00
jctanner f1301f6fd9 Merge pull request #6415 from devoncrouse/devel
Fixed references to missing method in ec2 modules
2014-03-11 22:37:19 -04:00
James Tanner 6da2c37112 Fixes #6411 Return None for ec2 api endpoints that return 404 2014-03-11 21:38:00 -04:00
Michael DeHaan bb047b9e89 Changelog updates for things merged already into 1.6 2014-03-11 21:12:25 -04:00
James Tanner bd3322824f Remove duplicate digital_ocean_droplet module 2014-03-11 20:59:46 -04:00
Devon Crouse b853778a93 Fixed references to missing method in ec2 modules
Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24
2014-03-11 18:19:03 -06:00
Michael DeHaan a689e42d32 Fix ec2_facts module by removing stray fail statement 2014-03-11 19:17:22 -04:00
Michael DeHaan 3b79a36641 Merge pull request #6409 from risaacson/migrate_booleans_bool_ec2_eip
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:59:05 -05:00
Michael DeHaan 9b7da52ed7 Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:58:46 -05:00
Richard Isaacson d88b00aff9 Merge pull request #6410 from risaacson/at_module_docstring
Fix docstring issue.
2014-03-11 16:24:00 -05:00
Richard C Isaacson a1c87e6deb Fix docstring issue. 2014-03-11 16:23:18 -05:00
Richard C Isaacson 1b28e3bf41 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 15:44:34 -05:00
Richard C Isaacson 10f70bee49 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 15:42:45 -05:00