Toshio Kuratomi
43c1a97447
Various unicode and backslash escape cleanups
...
* Do backslash escape parsing in parse_kv() [was being done in the copy
module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally. Warning, no bandaid for
things calling split_args without giving it unicode (shouldn't matter
as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
before writing to the file.
* Add initial unittests for split_args and parse_kv. 4 failing
tests.because split_args is injecting extra newlines.
10 years ago
Toshio Kuratomi
1cc2135a0d
Fix no closed parens
10 years ago
Toshio Kuratomi
4aa3ac41a1
Port sivel's fix for egg_info ( #10563 ) to v2
10 years ago
Toshio Kuratomi
ce512e18f0
Remove fireball connection plugin. v2 will have accelerate but not fireball
10 years ago
Toshio Kuratomi
dc9b36ccb0
Some notes on optimizing module_replacer
10 years ago
Toshio Kuratomi
68880a797d
Update core to fix cloudformation problem
10 years ago
Brian Coca
299314c6b6
Merge pull request #10545 from resmo/feature/cloudstack-utils
...
cloudstack: common code used in cloudstack modules
10 years ago
Brian Coca
2a8a302e7e
fixed corner case when counting backwards, added test cases for count=0 and backwards counts
10 years ago
joefis
3a70affb9a
Vagrant inventory: exit 0 on success
...
Current code has sys.exit(1) at the end of the codepath for the
options --help, --list and --host. These are not error conditions
so should be returning 0 for success, not 1 which is EPERM i.e.
"Operation not permitted". Newer Vagrant versions examine the exit
codes from subprocesses and interpret this as a failure.
10 years ago
Brian Coca
1ae5b9292c
Merge pull request #10571 from bcoca/community_docs
...
small updates to community and contribution page
10 years ago
Brian Coca
3afc54d298
added zabbix modules to changelog
10 years ago
Brian Coca
c90e3f0d16
small updates to community and contribution page
10 years ago
Brian Coca
7fdfb130bb
Merge pull request #10566 from bcoca/role_sudo
...
readded sudo/su vars to allow role/includes to work with passed sudo/su
10 years ago
Brian Coca
662b35cbce
readded sudo/su vars to allow role/includes to work with passed sudo/su
10 years ago
Brian Coca
35a2ca8a5d
made sequence more flexible, can handle descending and negative sequences and is skipped if start==end
10 years ago
Brian Coca
d628f3f591
Merge pull request #10563 from sivel/fix-gen-egg-info
...
egg_info is now written directly to lib
10 years ago
Matt Martz
104b2036f7
egg_info is now written directly to lib
10 years ago
Brian Coca
5ec1f3bd6e
removed folding sudo/su to become logic from constants as it is already present downstream in playbook/play/tasks
10 years ago
Brian Coca
1f2e60f251
Merge pull request #10558 from hagbarddenstore/devel
...
Always define error before using it
10 years ago
Brian Coca
35a8f94b52
Merge pull request #10557 from kristous/patch-2
...
Update README.md
10 years ago
Brian Coca
76e3a9c93a
Merge pull request #9894 from 47lining/cloud_modules_sts_support_redux_ansible
...
Cloud Modules STS Support Redux
10 years ago
Brian Coca
ecae993ead
Merge pull request #10554 from jxn/changelog-spellcheck
...
Fix a few spelling errors in the changelog
10 years ago
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.
10 years ago
kristous
e964439b99
Update README.md
...
to get debuild you need to install devscripts
10 years ago
jxn
bc2e6d4d0e
Fix a few spelling errors in the changelog
10 years ago
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
10 years ago
deimosfr
7b63a57993
fix consul inventory issue (missing method param)
10 years ago
Toshio Kuratomi
b7936009c2
Correct typo
10 years ago
Toshio Kuratomi
0ec1b025a9
Update the module pointers
10 years ago
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
10 years ago
Toshio Kuratomi
5bf9ea6298
make sure the shebang we inject into the module is a str
...
Fixes #8564
10 years ago
Rene Moser
3e7d959c9d
cloudstack: module utils are BSD licensed
10 years ago
Rene Moser
c066a60b7c
cloudstack: fail_json() if library cs is not found
10 years ago
Rene Moser
1ba05dd3a2
cloudstack: add doc fragment
10 years ago
Rene Moser
bb6d983290
cloudstack: add utils for common functionality
10 years ago
Brian Coca
e9c8e89c77
added cloudtrail to changelog
10 years ago
Brian Coca
3615171651
added maven artifact to changelog
10 years ago
Brian Coca
74ef30cec1
added pushover module to changelog
10 years ago
Brian Coca
51d6db136c
updated changelog
10 years ago
Brian Coca
ff71f06b3f
Merge pull request #10538 from tobarja/patch-1
...
Fix some typos in CHANGELOG.md
10 years ago
Andrew Thompson
c697bc2546
Fix some typos in CHANGELOG.md
10 years ago
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
10 years ago
Toshio Kuratomi
38892e986e
Convert exceptions to unicode using to_unicode rather than str. that stops unicode errors if the string has non-ascii text
10 years ago
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
10 years ago
Toshio Kuratomi
c024057e97
Fix assert to work with unicode values
10 years ago
James Cammarata
1eed3edc2f
tweaking the CHANGELOG
10 years ago
Brian Coca
d3d343c751
Merge pull request #10534 from matthieucan/patch-1
...
doc: building debian package: 'asciidoc' is a required dependency
10 years ago
Toshio Kuratomi
2c3e58ad59
And all of core module changes added
10 years ago
Toshio Kuratomi
9b20ca31d6
Add a unch of changelog entries for 1.9
10 years ago
Toshio Kuratomi
1aaf444943
Put all module changes in the same location
10 years ago