Toshio Kuratomi
8fd7f4b121
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
10 years ago
Toshio Kuratomi
a04138a887
Add v2's unicode.py to utils so we can use unicode_wrap in the filter_plugins
10 years ago
Toshio Kuratomi
cea2f2a7cf
remove broken nad commented unicode conversion -- in v2, this is done when the data first enters ansible.
10 years ago
Toshio Kuratomi
d50089ca9f
Add a function to change output from a str to unicode
10 years ago
Toshio Kuratomi
5d1e468bda
Don't bash TMPDIR env var unnecessarily. Other programs might rely on it
10 years ago
Toshio Kuratomi
c655e91436
For now throw an exception if decoding a non-utf8 extra var
10 years ago
Toshio Kuratomi
5b279c1c15
Fix for v1 handling of unicode extra-vars
10 years ago
Toshio Kuratomi
1ed1af6cb4
Make extra_vars into unicode string type early
...
Fixes v2 for #10106
10 years ago
Toshio Kuratomi
6d788629a2
Be explicit about unicode str transformation
...
Fixes #10126
10 years ago
Toshio Kuratomi
bd7ac7fd7d
Error message has changed; scrape the new message
10 years ago
Toshio Kuratomi
97438f0039
Update the modules
10 years ago
Toshio Kuratomi
b2c7b911bc
v2/plugins/filter is now a symlink as it does not differ between v1 and v2
10 years ago
Toshio Kuratomi
03e213a272
Change the v2 filter plugins into a symlink to v1 as the plugins are the same for both
10 years ago
Toshio Kuratomi
0e5f86cce4
Import hash functions for filters from the new location so the plugins will work on v1 and v2
10 years ago
Toshio Kuratomi
1011959d88
Move the hashing util functions to their own file to mirror v2
10 years ago
Toshio Kuratomi
e702a28496
Comment for why we have checksum and checksum_s
10 years ago
Brian Coca
5eafa1e7c3
Merge pull request #9825 from kalefranz/ec2-inventory-tags
...
Allow ec2 tags to be used to address servers in ec2 dynamic inventory.
10 years ago
Toshio Kuratomi
d7f5979870
Merge pull request #10151 from ansible/pr-9560
...
Modified version of PR 9560
10 years ago
Toshio Kuratomi
b3af2f9bee
Better error message
10 years ago
Toshio Kuratomi
f6e8ddfd5f
Use pass instead of bare None value
10 years ago
Toshio Kuratomi
624a8dd1d9
Replace large if-elif-else blocks with a dict-dispatcher
10 years ago
Toshio Kuratomi
616fda5767
First try at only failing if the filter is actually used.
10 years ago
Maciej Delmanowski
7e46554160
Add ipaddr() filter plugin
10 years ago
Brian Coca
4198b0a9a5
Merge pull request #6641 from kavu/6346_accept_hostkey_and_key_file
...
Add key_file and accept_hostkey to ansible-pull
10 years ago
Brian Coca
3d858b7c02
Merge pull request #10150 from erikaheidi/patch-2
...
[Vagrant guide] Updating private key location
10 years ago
Erika Heidi
c20c6d4eb4
[Vagrant guide] Updating private key location
...
Since Vagrant 1.7.0, released in December 2014, the private key file is autogenerated and has a new location - check the changelog for more info: [version 1.7.0 changelog](https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md#170-december-9-2014 )
10 years ago
Toshio Kuratomi
607ee95836
Merge pull request #10146 from mscherer/fix_doc
...
Fix documentation on hostfile vs inventory , follow up of #10130
10 years ago
Michael Scherer
d6edbeb4d0
Fix documentation on hostfile vs inventory , follow up of #10130
10 years ago
Max Riveiro
9e8dae7498
Fix #6346 . Add key_file and accept_hostkey to ansible-pull
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
10 years ago
Michael DeHaan
4fb7c1bff4
Set email to my personal address, thanks everyone!
...
http://michaeldehaan.net/post/109595670406/happy-trails-ansible
10 years ago
Brian Coca
17666a1939
changed default for new retry path to be teh same as current
...
also added commented out entries in ansible.cfg to show other options
10 years ago
Brian Coca
540d13cf52
Merge pull request #9404 from mmoya/configure-retry-files
...
Configure retry file usage and location
10 years ago
Brian Coca
d4a89c8ead
moved from callback_output to popen to keep 2.6 compat
10 years ago
Brian Coca
368285b351
initial draft virtualbox inventory script
10 years ago
Toshio Kuratomi
363a47b48b
Merge pull request #10133 from netroby/feature/update-repo-sh
...
Add shell script to fast update ansible repo
10 years ago
Toshio Kuratomi
4b89eb293f
port fix for https://github.com/ansible/ansible/pull/10129 to v2
10 years ago
Toshio Kuratomi
ca35d138f1
Update modules
10 years ago
Toshio Kuratomi
f355c11a3f
Merge pull request #10129 from RadishTheHut/memfacts-fix
...
Fix for memory fact gathering
10 years ago
Brian Coca
dfe629a872
Merge pull request #10137 from nmeum/devel
...
Saner ansible-pull output
10 years ago
Sören Tempel
773849d421
Only write actual errors to stderr
10 years ago
Brian Coca
7ab95e10f0
updated to latest core devel
10 years ago
ZhiFeng Hu
e63c03d60f
Move update.sh to hacking repository ,see #10081
10 years ago
Patrick McConnell
04b2c698ba
Updated memory facts fix using dict.get() to avoid KeyError
10 years ago
Toshio Kuratomi
747cc26ae1
Update modules
10 years ago
Toshio Kuratomi
be9b445245
Document the force=no changes for version control modules
10 years ago
ZhiFeng Hu
d4864eabdc
Add shell script to fast update ansible repo
10 years ago
James Cammarata
c978c77796
Fixing more v2 bugs
10 years ago
Toshio Kuratomi
f20967078e
Fixes to @RadishTheHut's memory facts as discussed in
...
https://github.com/ansible/ansible/pull/10129#issuecomment-72077500
* Switch default value from 0 to None.
* Prefill keys with default value so that determining calculated values
is easier
10 years ago
Toshio Kuratomi
d57f7b4b9e
Merge pull request #10130 from bcoca/inventory_consistent_naming
...
made inventory consistent in config file, deprecated old config hostfile
10 years ago
Brian Coca
c73254543a
made env var also consistent
10 years ago