James Cammarata
2d77c643e4
Merge pull request #12723 from mgedmin/py3k
...
Make ansible.vars.unsafe_proxy Python 3 friendly
9 years ago
Marius Gedminas
e511d6d458
Make UnsafeProxy work on Python 3
...
Instead of str and unicode we have to deal with bytes and str.
9 years ago
Marius Gedminas
af6a316d9b
Remove unused import
...
Fixes ImportError: No module named '__builtin__' on Python 3.
9 years ago
James Cammarata
426187489f
Add variable for format parameter
9 years ago
Marius Gedminas
9802c006a2
Typo: TOKENV -> TOXENV
...
This is purely cosmetic: the logic worked correctly, since tox never saw
the TOKENV environment variable.
9 years ago
=
e141101314
integration tests for ansible modules core 2147
9 years ago
Toshio Kuratomi
8277747a04
Fix password lookup when password file exists and the password is not encrypted
9 years ago
James Cammarata
cd2cb178ae
Totally rework the way UnsafeProxy does things
9 years ago
Toshio Kuratomi
723dcba486
Merge pull request #12614 from ansible/py3-module_utils-log
...
AnsibleModules.log() fix for python3
9 years ago
Toshio Kuratomi
15d7f53846
AnsibleModules.log() fix for python3
...
Also add unittests for AnsibleModules.log()
Fixes #12586
9 years ago
Toshio Kuratomi
b49e0995cb
Fix typo
9 years ago
Toshio Kuratomi
b58d7470d4
Cleanup logic and be more paranoid about passwords with spaces
9 years ago
James Cammarata
5c5806d669
Fixing bugs related to jfonfile cache plugin
...
* corrupt/invalid file causes tracebacks
* incorrect initialization of display/_display in BaseCacheModule class
* tweaking the way errors in get() on jsonfile caches work, to raise
a proper AnsibleError in that situation so the playbook/task is stopped
Fixes #12708
9 years ago
Toshio Kuratomi
b441bcb678
Fix display when run through a testing framework that overrides stderr/stdout
9 years ago
James Cammarata
d15fcf05f0
Fix bug in the way temp vars were created for templating vars_files
...
Fixes #12711
9 years ago
Sandra Wills
32cb2fa215
removed repetition of note and replaced with an include directive
...
ansible_ssh_* changes from 1.9 to 2.0, original note made into a separate file
for easier editing, and an include for this new file added to each of the 6 file affected
by this change
9 years ago
Brian Coca
2c24fbbd6a
Merge pull request #12618 from AdThrive/devel
...
Added an option to use the private network IP address for DigitalOcean dynamic inventory
9 years ago
Brian Coca
f5f3bf06e4
Merge pull request #12550 from redrampage/remove-pw-salt-deletion
...
Removed deletion of salt by 'password' lookup
9 years ago
James Cammarata
73661d1761
Merge branch 'devel' of https://github.com/ansible/ansible into devel
9 years ago
James Cammarata
424b623c5d
Merge branch 'klshxsh-serial_should_be_string' into devel
9 years ago
James Cammarata
0e1a5919c8
Adding unit tests for PlaybookExecutor _get_serialized_batches
9 years ago
Charles Paul
3d533cb423
fixing calls to fail_json
9 years ago
Brian Coca
50372eecc9
Merge pull request #12455 from privateip/devel
...
added methods for retrieving vapp and vm
9 years ago
James Cammarata
82e76e42e5
Tweak to the way serial percentages are handled
9 years ago
James Cammarata
63e288354e
Fix bug in way omitted values were set
9 years ago
James Cammarata
4c85ae0712
Merge branch 'serial_should_be_string' of https://github.com/klshxsh/ansible into klshxsh-serial_should_be_string
9 years ago
Sandra Wills
748ff72b6b
fixed typo, depricated --> deprecated, in all 6 notes
9 years ago
klshxsh
ac00c9ced7
changed 'string' to 'percent' for _serial
...
Note that this allows both integers (e.g. 3) and percentages (e.g. "30%")
Also changed default back to 0 rather than '0'
9 years ago
Marius Gedminas
43a65c7de4
Revert "Can we even ask for Python 2.4 on Travis?"
...
Becaue we can't: https://travis-ci.org/mgedmin/ansible/jobs/84866458
This reverts commit e31e866e79
.
9 years ago
Marius Gedminas
e31e866e79
Can we even ask for Python 2.4 on Travis?
9 years ago
Marius Gedminas
29202454c6
Run Travis integration tests with the right Python version
9 years ago
James Cammarata
eb60ce1b6e
Merge pull request #12703 from keitwb/inventory_file_var
...
Adding the inventory_file var back
9 years ago
James Cammarata
71a1a3c903
Submodule pointer update
9 years ago
Ben Keith
1f82971283
Adding the inventory_file var back
9 years ago
Toshio Kuratomi
6292520c45
Merge pull request #12444 from knakayama/bugfix/update-docs
...
Update docs (playbooks_loops.rst, playbooks_filters.rst)
9 years ago
James Cammarata
297aaeac2d
Backporting version release stuff from stable-1.9
9 years ago
Toshio Kuratomi
d660381f98
Merge pull request #12450 from glnds/devel
...
Installation update for people using Fishshell
9 years ago
Toshio Kuratomi
45a161b0a1
Merge pull request #12429 from edmstudio/devel
...
Update synchronize module plugin to work on OS X
9 years ago
Petr Mifek
6e035a3e94
Move nested function test for ipv6 to top level in synchronize module.
9 years ago
Toshio Kuratomi
676e4232e3
Merge pull request #12438 from lekum/doc_shelvefile_lookup
...
Update lookups doc with shelvefile example
9 years ago
Brian Coca
45788fbfad
<homer>doh!</homer>
9 years ago
Brian Coca
d24532757c
remove fix for local_action/connection local that is now not needed
9 years ago
klshxsh
4a5e52b2d2
The serial keyword can be specified as a percentage, e.g '30%' or a number e.g. '3'; therefore it needs to be a string to allow both types
9 years ago
Toshio Kuratomi
17c75df0ae
Merge pull request #12627 from mgedmin/tox
...
Add Python 3.5 to tox.ini and Travis
9 years ago
Brian Coca
b9d54e9a01
corrects previous fix to deal with missing item key in results dict
9 years ago
Brian Coca
abf2e13955
Revert "Track local_action internally to prevent it from being overridden"
...
This reverts commit 49ca0eb797
.
9 years ago
Brian Coca
101c8785ec
removed changes to make local action equate connection=local and brought it back to equate delegate_to=localhost
9 years ago
Brian Coca
bcb173996b
Merge pull request #12695 from matburt/fix_cache_plugins_for_v2
...
Fix an issue where cache plugins weren't updated in certain scenarios
9 years ago
Brian Coca
fbf4cafab5
on skipped you 'might' not have an item, changed to getattr to avoid keyerror
...
fixes #12683
9 years ago
Matthew Jones
7da478a4f4
Fix an issue where cache plugins weren't updated
...
The first call to persisting facts would work due to the assignment of a
MutableMapping calling __setitem__ but subsequent module fact data would
not be propogated to the fact cache plugins because update() doesn't
invoke __setitem__. This changes the behavior a little bit and ensures
set() is called on cache plugins.
9 years ago