Commit graph

3892 commits

Author SHA1 Message Date
James Laska
2638cc9a49 Correct check_mode conditional logic
The desired behavior is to _not_ add the ppa signing key when check_mode is
enabled.  This fix corrects the conditional logic to comply with the stated
behavior.
2014-03-14 10:24:52 -04:00
Patrick Gerken
0c70cc123e Properly catch import errors in apt
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
2014-03-14 02:13:20 +01:00
Michael DeHaan
ec8b67bea8 Merge pull request #6468 from philpep/fix_apt_key
apt_key: Fix traceback when key_id format is invalid
2014-03-13 17:58:40 -05:00
Michael DeHaan
931c527397 Merge pull request #6470 from patrickheeney/doc-git-fix
Fix documentation for accept_hostkey in GIT module
2014-03-13 17:57:56 -05:00
Paul Durivage
66fe9c0ac4 Documentation updates 2014-03-13 16:18:50 -05:00
James Cammarata
564fbb55de Fix small typo resulting in a traceback for the apt_key module 2014-03-13 13:51:59 -05:00
patrickheeney
4bc663092f Fix documentation for accept_hostkey 2014-03-13 07:58:12 -07:00
Philippe Pepiot
f9d1809a70 apt_key: Fix traceback when key_id format is invalid
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2014-03-13 15:28:37 +01:00
Richard Isaacson
35b4cf001c Merge pull request #6461 from risaacson/modules_make_run_command_safer
Modules make run command safer
2014-03-12 23:28:06 -05:00
Richard C Isaacson
122917019c mysql_db module: typo fix
Tests clean.
2014-03-12 23:25:22 -05:00
Richard C Isaacson
d9da5cf084 Shell updates. 2014-03-12 22:15:56 -05:00
James Cammarata
7f7802c26d Merge pull request #6460 from jsmartin/riak-bugfix
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
2014-03-12 21:56:39 -05:00
James Cammarata
6b492de1ee 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
2014-03-12 20:48:22 -05:00
James Martin
0a74cb484c Fixes various typos introduced in a9017af2bb.
Fixes odd encoding problem with wait_for_service.
2014-03-12 21:26:16 -04:00
Daniel Jaouen
002099cdbc Fix Homebrew._current_package_is_installed 2014-03-12 19:52:16 -04:00
Michael DeHaan
e811a9b603 Still more shell fixes. 2014-03-12 17:44:53 -04:00
Michael DeHaan
376237d9d9 Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
Michael DeHaan
980653f20b More shell fixes 2014-03-12 17:43:31 -04:00
James Tanner
ae3bbec489 Close parens in portinstall 2014-03-12 17:36:48 -04:00
Michael DeHaan
29138b1872 More shell updates 2014-03-12 17:31:00 -04:00
James Tanner
ffe325cdae Fix missing colons in cpanm 2014-03-12 17:25:32 -04:00
James Tanner
7c3831ab16 Fix typo in portinstall 2014-03-12 17:12:38 -04:00
Michael DeHaan
349063743f Some more run_command updates. 2014-03-12 17:04:34 -04:00
Michael DeHaan
d4d87c420f Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
Michael DeHaan
cb9059b250 Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
Patrick Smith
0f9cb7a24f git: Execute git commands in dest directory 2014-03-12 13:28:39 -04:00
Jakub Jirutka
f39b8cae95 Fix #5679 again after recent changes in core 2014-03-12 18:21:53 +01:00
Richard C Isaacson
9e9f43272a setup module: Mark unsafe commands as use_unsafe_shell=True. 2014-03-12 11:13:20 -05:00
James Cammarata
c68be8b418 Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
James Cammarata
72217c297d Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
Ryan
3494d67f30 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
65c4e388eb Revert "Fix issue#6430 by instantiating Network() with expected arguments"
This reverts commit 2a723e908e.
2014-03-12 09:23:13 -04:00
James Laska
cb63352aff Fix issue#6430 by instantiating Network() with expected arguments 2014-03-12 09:04:42 -04:00
Michael DeHaan
92871f8e2e 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
Andy Trevorah
5c021fec3c reworked apt-repository auto-install to be like yum 2014-03-12 11:15:27 +00:00
Richard Isaacson
c9714dc2eb 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
16f7deb47c 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
4edaa6c617 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
ba4cd661cf 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
7a7b81e20d 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
23413641fa 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
dff1a9b8e7 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 C Isaacson
24327b39b2 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00
Richard C Isaacson
525e811d9b Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:56:51 -05:00
Richard C Isaacson
6467eb7b6d Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:53:24 -05:00
Richard C Isaacson
2b4c65d956 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:50:03 -05:00
Richard C Isaacson
07f6d29503 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:46:53 -05:00
Richard C Isaacson
7b488f0bd8 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:43:01 -05:00
Richard C Isaacson
c4d8e6abf6 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:39:42 -05:00
Richard C Isaacson
37b15ab45a Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:36:44 -05:00