Commit graph

13593 commits

Author SHA1 Message Date
Kim Johansson
576832e4c9 Always define error before using it
When the error reason is "Forbidden", the code throws a Python exception
rather than simply outputting the exception reason.

It's not nice to throw a Python exception when all the info to display
a proper message is available.
2015-03-27 10:46:01 +01:00
Brian Coca
75f933cf64 Merge pull request #10551 from deimosfr/devel
fix consul inventory issue (missing method param)

merging as this does not seem to have worked before
2015-03-26 17:58:50 -04:00
deimosfr
7b63a57993 fix consul inventory issue (missing method param) 2015-03-26 21:40:36 +01:00
Toshio Kuratomi
b7936009c2 Correct typo 2015-03-26 12:09:36 -07:00
Toshio Kuratomi
0ec1b025a9 Update the module pointers 2015-03-26 11:59:53 -07:00
Toshio Kuratomi
ea2d00c558 v2 equivalent for https://github.com/ansible/ansible/pull/8564
Looks like there's currently no code for the ansible_*_interpreter but
modified the note abouot adding it
2015-03-26 11:57:27 -07:00
Toshio Kuratomi
5bf9ea6298 make sure the shebang we inject into the module is a str
Fixes #8564
2015-03-26 11:52:19 -07:00
Brian Coca
e9c8e89c77 added cloudtrail to changelog 2015-03-26 01:16:32 -04:00
Brian Coca
3615171651 added maven artifact to changelog 2015-03-25 23:56:26 -04:00
Brian Coca
74ef30cec1 added pushover module to changelog 2015-03-25 23:16:05 -04:00
Brian Coca
51d6db136c updated changelog 2015-03-25 22:06:54 -04:00
Brian Coca
ff71f06b3f Merge pull request #10538 from tobarja/patch-1
Fix some typos in CHANGELOG.md
2015-03-25 22:03:43 -04:00
Andrew Thompson
c697bc2546 Fix some typos in CHANGELOG.md 2015-03-25 21:58:24 -04:00
Toshio Kuratomi
60f972dfe4 Fix the command module handling of non-ascii values.
We can't depend on the args being unicode text because we're in module
land, not in the ansible controller land
2015-03-25 13:57:48 -07:00
Toshio Kuratomi
38892e986e Convert exceptions to unicode using to_unicode rather than str. that stops unicode errors if the string has non-ascii text 2015-03-25 13:56:46 -07:00
Toshio Kuratomi
aaa25eb75c Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
Fix and test.

Fixes #10536
2015-03-25 12:24:49 -07:00
Toshio Kuratomi
c024057e97 Fix assert to work with unicode values 2015-03-25 12:24:49 -07:00
James Cammarata
1eed3edc2f tweaking the CHANGELOG 2015-03-25 14:17:16 -05:00
Brian Coca
d3d343c751 Merge pull request #10534 from matthieucan/patch-1
doc: building debian package: 'asciidoc' is a required dependency
2015-03-25 14:54:29 -04:00
Toshio Kuratomi
2c3e58ad59 And all of core module changes added 2015-03-25 10:15:19 -07:00
Toshio Kuratomi
9b20ca31d6 Add a unch of changelog entries for 1.9 2015-03-25 09:24:48 -07:00
Toshio Kuratomi
1aaf444943 Put all module changes in the same location 2015-03-25 08:51:35 -07:00
Matthieu Caneill
1b11e45f3c doc: building debian package: 'asciidoc' is a required dependency 2015-03-25 16:34:07 +01:00
Brian Coca
00b9364699 added modules from extras 2015-03-25 10:57:13 -04:00
Toshio Kuratomi
34cd6deb9f Spelling 2015-03-25 07:41:13 -07:00
Brian Coca
699f6b16db a few more updates 2015-03-25 10:36:20 -04:00
Brian Coca
aca4e292fa some updates of what 1.9 includes 2015-03-25 09:55:39 -04:00
Brian Coca
b6ec502983 added missing element to make google groups link a actual link 2015-03-24 21:09:45 -04:00
Brian Coca
ff8ef048e0 Merge pull request #10529 from famousgarkin/patch-1
rst.j2 template better core module source wording
2015-03-24 15:01:51 -04:00
Ján Dzurek
cf6155f1c2 rst.j2 template better core module source wording 2015-03-24 20:00:51 +01:00
Brian Coca
19ba26e9a5 makes raw module have quiet ssh so as to avoid extra output when not requried 2015-03-24 14:48:50 -04:00
Toshio Kuratomi
131683523b Add some comments to explain how the property code for Attributes works 2015-03-23 23:16:06 -07:00
Brian Coca
8a0b8629e8 readded -u option 2015-03-24 00:18:04 -04:00
Toshio Kuratomi
bc69ad8147 Rename munge methods to preprocess_data.
Remove the call to preprocess_loop data from playbook_include as
includes can't be used with loops.
2015-03-23 18:42:28 -07:00
Toshio Kuratomi
6ba24e9fa1 Remove comment on changing Base.munge => it's used by become.py 2015-03-23 17:41:02 -07:00
Toshio Kuratomi
63c54035de Get rid of iteritems usage when we only care about the keys 2015-03-23 16:38:51 -07:00
Toshio Kuratomi
fdf51e9a96 Use class.mro() instead of custom base_class finder code 2015-03-23 16:14:34 -07:00
Brian Coca
ede94dd7f8 Merge pull request #10522 from ciupicri/doc-quotes
Doc: use literal code blocks for YAML examples
2015-03-23 17:22:58 -04:00
Cristian Ciupitu
577cdcadb3 Doc: use literal code blocks for YAML examples
Without this, the straight double quotes (") are displayed as curved
quotes (“ and ”).
2015-03-23 22:52:42 +02:00
James Cammarata
79cf7e7292 Modifying sample for test_become to show more test cases 2015-03-23 15:22:34 -05:00
Toshio Kuratomi
095990b4d8 Moving from getattr to properties for the v2 base class 2015-03-23 15:19:13 -05:00
James Cammarata
317728f649 Allow ansible-galaxy to install symlinks 2015-03-23 09:21:12 -05:00
Toshio Kuratomi
7115d37933 Merge pull request #10518 from pilou-/file_mode_v2
Port #10258 to v2
2015-03-22 19:56:03 -07:00
Pierre-Louis Bonicoli
5942144868 Port #10258 to v2 2015-03-23 01:25:18 +01:00
James Cammarata
bda83fdf84 Fixing bug in v2 dynamic include code, pointed out by apollo13 2015-03-22 19:17:25 -05:00
Brian Coca
c5d5ed17ea added tag resolution mirroring updated v1 2015-03-22 02:05:27 -04:00
Brian Coca
49ba9d4bc2 Merge pull request #10516 from caphrim007/fixing-small-spelling-error
Fixes a brief spelling error
2015-03-21 23:39:00 -04:00
Tim Rupp
9a680472f8 Fixes a brief spelling error
Fixes a simple spelling mistake that was bugging me when I read the online
docs. Trying to make the docs as great as possible.
2015-03-21 19:22:12 -07:00
Brian Coca
e5edce8e5d Merge pull request #10513 from hjst/patch-1
Update add_host example in AWS Guide
2015-03-21 01:35:44 -04:00
Brian Coca
ca540ef9f8 added vault password to dataloder creation 2015-03-21 01:33:10 -04:00