Dagobert Michelsen
8c5f7207f0
Use termios instead of stty for compatibility
10 years ago
Michael Scherer
daa3f2be55
Do not assume that stdin is a tty
...
This can be used from another non interactive software, see #9695
for details.
10 years ago
Jon Hadfield
31978121e1
correct typo that breaks hashing on python 2.4.
10 years ago
Toshio Kuratomi
2013d95e53
Correct filter specification
10 years ago
Toshio Kuratomi
b30cb192e8
Wrap some filters so they return unicode.
...
The rules are -- if the filter returns str type and the str may contain
non-ascii characters then wrap it to convert to unicode type. Not
needed if the function already returns unicode type or only returns
ascii characters
Conflicts:
lib/ansible/runner/filter_plugins/core.py
10 years ago
Toshio Kuratomi
a1a69d6dc5
Add v2's unicode.py to utils so we can use unicode_wrap in the filter_plugins
10 years ago
Toshio Kuratomi
d615f2a076
Fix for v1 handling of unicode extra-vars
10 years ago
Toshio Kuratomi
ad6183a322
Be explicit about unicode str transformation
...
Fixes #10126
10 years ago
Andreas Reischuck
b160026fea
fix suggested by @aikomastboom
10 years ago
Toshio Kuratomi
66e5515f88
Fix for unicode filenames for template module
...
Fixes #10110
10 years ago
Toshio Kuratomi
6b315d57d6
ansible.utils to_unicode/to_bytes isn't robust in the face of
...
non-strings. Do some value checking in the calling code
10 years ago
Toshio Kuratomi
71934a118c
Another place that needs to be json_dict_bytes_to_unicode
...
Conflicts:
v2/ansible/inventory/script.py
10 years ago
Toshio Kuratomi
1771413c23
Make py2.4 remote checksum large-file-enabled as well
...
Conflicts:
v2/ansible/plugins/shell/sh.py
10 years ago
Toshio Kuratomi
ac0de5a9db
jinja2 cannot handle byte strs with non-ascii. So we need to transform potential byte str into unicode type. This fix is for dynamic inventory.
...
Fixes #10007
Conflicts:
v2/ansible/inventory/script.py
v2/ansible/module_utils/basic.py
10 years ago
Akos Vandra
8b8700d365
do not use with, it is not supported all the way down to 2.4
...
Conflicts:
v2/ansible/plugins/shell/sh.py
10 years ago
Akos Vandra
8150b14d8d
fixes #10086
...
Conflicts:
v2/ansible/plugins/shell/sh.py
10 years ago
Toshio Kuratomi
f32e9f0e54
Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
...
Fixes #682
Conflicts:
test/integration/roles/test_unarchive/tasks/main.yml
v2/ansible/plugins/shell/sh.py
10 years ago
Toshio Kuratomi
ec2a9cbd11
Do not send stat all the parameters that unarchive received
...
Fixes #546
10 years ago
Michael Scherer
d5ff09659f
Fix various inventory scripts to use env python
...
Fix https://github.com/ansible/ansible/issues/9948
10 years ago
Brian Coca
30ef52c805
fixed bad exampel for library that was library_path, which of course did
...
not work
10 years ago
Luke Macken
1f34e464ad
Use send instead of sendv on the systemd.journal ( fixes #9886 )
10 years ago
Costi Ciudatu
b1f611fedb
run_once tasks are skipped without checking the delegate_to host #9784
10 years ago
Toshio Kuratomi
a16d0a8dd6
Restore json import for redis as well. Switch preference to simplejson for speed
10 years ago
Rene Moser
bf656e35e0
facts caching: fix missing json in jsonfile caching
10 years ago
Brian Coca
eedd659444
fixed json encoding issue with redis
10 years ago
Toshio Kuratomi
90ac8d621c
Update changelog for the git clone parameter
10 years ago
Toshio Kuratomi
49d47a8241
git module now with clone parameter and update=no reverted
...
Conflicts:
lib/ansible/modules/core
10 years ago
Michael Scherer
ad823766d2
Strip the line to filter lines composed of only whitespaces
...
Fix #9395
10 years ago
Nicolas Rémond
4fa5db9a03
Variables lookup in a template should handle properly the undefined case
10 years ago
jszwedko
25801f939b
Allow retries to be templatable
...
Fixes #5865
10 years ago
Toshio Kuratomi
573dbe1775
file does not exist is not an error when checksumming for the template modules
10 years ago
Toshio Kuratomi
53a94a1fde
Fix comment
10 years ago
Toshio Kuratomi
f6e7f318a2
Fix remote_checksum with delegate_to and add tests for several ways that delegate_to works
10 years ago
Toshio Kuratomi
fc638fd371
Fix template module to fail if remote checksumming failed
10 years ago
Toshio Kuratomi
3a68c09888
Fix for delegate_to with hosts that aren't in inventory
10 years ago
James Keener
dddfc0b9c5
Issue-9704 Better handling of missing python
...
When they python interpreter is set incorrectly for the machine the file
is being checked for (e.g. for the local or the remote), the error
manifests as a readability or directory missing error which can be very
misleading.
10 years ago
Toshio Kuratomi
04c8ecce56
Be careful not to set the permissions of the destination of a symlink.
...
It's up to the module using the set_fs_attributes*/set_mode* methods to
specify the filename of the destination of the symlink if that's really
the file that should be modified.
Half of the fix for:
https://github.com/ansible/ansible-modules-core/issues/778
10 years ago
James Cammarata
6f568bd649
Version bump for release 1.8.2
10 years ago
Toshio Kuratomi
1545c73d27
Make test for skipping agree with the way current output formats a skip
10 years ago
Brian Coca
bff88271ee
fixed integration test as with_items always returns a list, even if
...
empty
10 years ago
Brian Coca
b9f1503870
Merge pull request #9715 from bcoca/listify_revert_errorhandling
...
Listify revert errorhandling
10 years ago
Brian Coca
ecdeed4342
changed plugin load priority to be path based, not suffix based.
10 years ago
Toshio Kuratomi
e81a6da49b
Fix checksum code to work with delegate_to/local_action
...
Fixes #9704
10 years ago
Toshio Kuratomi
0a52913dfa
Have remote_expanduser honor sudo and su users.
...
Fixes #9663
10 years ago
James Cammarata
1393272632
Use more variable sources when templating the play ds
...
Fixes #9699
10 years ago
James Cammarata
4cd87ec93e
Revise patch from earlier using even more variable sources for HostVars
...
Superceeds e61e8a3
Fixes #9684
10 years ago
Chris Church
8dd3d84250
Fix PowerShell plugin issues affecting fetch module when used against Windows hosts.
10 years ago
James Cammarata
e728ff97d9
Use additional vars when templating included file names
...
Fixes #9669
10 years ago
James Cammarata
2f1e78ffee
Use extra vars when creating HostVars
...
Fixes #9667
10 years ago
Michael DeHaan
38e2757c85
Need to include extras in setup to accomodate future windows extras modules
10 years ago