Toshio Kuratomi
ca41dbb603
Testing whether this fixes jenkins
9 years ago
James Cammarata
6ad5c0f4f6
Conditionally import StringIO in template so we only use io.StringIO on py3
9 years ago
James Cammarata
435924f3de
Fixing bug in setup related to StringIO fixes
9 years ago
James Cammarata
d5801d76e8
Changing location of reduce import to not use six.moves
9 years ago
James Cammarata
e36834bd52
Adding py3 stub for reduce from six.moves
9 years ago
chouseknecht
d0656f948d
Fix bug 14715: Galaxy CLI paging error
9 years ago
nitzmahone
a74e97fa31
don't lock file when calculating checksum
9 years ago
Brian Coca
3a91a4321e
added package to special 'squashable' fields
...
apt has it as alias, this should fix https://github.com/ansible/ansible-modules-core/issues/3145
9 years ago
Toshio Kuratomi
f75be95936
We are actually taking the repr of a string so we need separate to_bytes and repr calls
9 years ago
Toshio Kuratomi
924fff7c85
Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
9 years ago
Toshio Kuratomi
f1b441e205
Fix mixing of bytes and str in module replacer (caused traceback on python3)
9 years ago
James Cammarata
6b1648f708
Mass update of test/ directory from devel
9 years ago
Brian Coca
43cd33888b
with_ loops always should want a list
9 years ago
Dag Wieers
f78caabeac
Avoid merging a dict and a AnsibleUnicode
...
This is the same fix we applied to v1.9 in PR #14565 , however it does not fix #14678 completely !
The dictionaries are not being merged as tey are on v1.9.
9 years ago
James Cammarata
a2080ad364
Rework the way ad-hoc filters inventory to match how cli/playbook does it
9 years ago
Brian Coca
2a6f2af697
make some options not mandatory to pass
...
this should simplify api calls
9 years ago
Matt Martz
ecdf07eebf
Add/improve tests for the uri module
9 years ago
Matt Martz
4655ab88b3
Add RedirectHandler class and factory function for controlling redirects in urllib2
9 years ago
James Cammarata
e88934e1d7
Tweak block integration tests to also test the free strategy
9 years ago
James Cammarata
5ee599f3ee
Removing .out file for integration tests and adding to .gitignore
9 years ago
James Cammarata
0e4ef296c0
Adding block integration tests
9 years ago
Toshio Kuratomi
f601d29ce2
Change url so that we don't test https in the tests for file perms
9 years ago
Toshio Kuratomi
e5debd37d5
Update to latest submodule refs
9 years ago
Toshio Kuratomi
890998d07e
Add integration test for #11821
9 years ago
Toshio Kuratomi
b12d2a55fb
Note vault fix
9 years ago
Toshio Kuratomi
20fb9f8e96
Catch ValueError as well because of El Capitan provoking a bug in python2's subprocess
...
Fixes #14895
9 years ago
Brian Coca
8141eacafc
ensure we use delegated vars on delegation
...
this prevents falling back to connection vars from the inventory_hostname
when matching connection var is not in delegated host.
9 years ago
James Cammarata
25bca5e59f
Make sure tuples returned by _get_item() are handled correctly in formatting
...
Fixes #14800
9 years ago
qqo
ba46b15826
fix TypeError: coercing to Unicode: need string or buffer, AnsibleParserError found
9 years ago
Dag Wieers
d011bbf8f2
Fix the color when unreachable in default cb plugin
...
The dedicated color for unreachable errors was not being used in the default cb plugin.
This corrects the color.
9 years ago
Brian Coca
45317ec205
fix lsb fact gathering
...
was erroring out when rc !=0 also fixed redundant paths
fixes #14965
9 years ago
Daniel Kempkens
ca35822aaa
Check return value of get_distribution()
...
On none-Linux systems `get_distribution()` returns `None`, which fails in `fetch_url`, because the return value of `get_distribution()` is not checked before calling `lower()` on the result.
9 years ago
Toshio Kuratomi
2c5468d270
Document the issue with modules being created world-readable on the client in certain circumstances
9 years ago
Brian Coca
ed4cf3d54b
don't raise exceptoins on bad hosts files
...
fixes #14969
9 years ago
Brian Coca
01115c7aec
now item callback honors display_skipped_hosts
...
fixes #14956
9 years ago
Brian Coca
0426b8e872
avoid creating extra tmp dirs we don't delete
...
fixes #14867
9 years ago
James Cammarata
a75e2204fa
Revert "Removing explicit setting of failed/failed_when"
...
This reverts commit 31f29a17d9
.
9 years ago
James Cammarata
31f29a17d9
Removing explicit setting of failed/failed_when
9 years ago
nitzmahone
db038252b8
Fix blind override in failed_when
...
caused all task failures to be success
9 years ago
nitzmahone
8187b23a6a
update core submodule ref for async_status fix
9 years ago
James Cammarata
1ccd534cec
Clean up jsonify unit test with format to remove json lib differences
9 years ago
James Cammarata
b71fbb9364
Fixing up jsonify and adding unit tests
9 years ago
Brian Coca
928a0863c2
corrected changed_when handling
9 years ago
James Cammarata
f7dc7e3aab
Make sure dict strings are unicode for jsonify
9 years ago
James Cammarata
b0c72c59e4
Adding coding header to action plugin unit test file
9 years ago
Brian Coca
500fc50a48
make all conditionals lists
...
this brings them to equivalence with when:
fixes #13905
9 years ago
Matt Clay
a5b0b96b25
Fix misplaced paren.
9 years ago
Brian Coca
d2345015db
fix assemble to not pass extra args to copy/file
...
also small refactor to dedupe code
fixes https://github.com/ansible/ansible-modules-core/issues/3154
9 years ago
Matt Martz
8b52e57529
Strip proc_1 before testing it. Fixes #14858
9 years ago
Brian Coca
5f7b573d61
template also when only comments present
9 years ago