Brian Coca
7ea2aff272
Merge pull request #9772 from jszwedko/allow-template-for-retries
...
Allow retries to be templatable
2015-02-03 07:08:22 -05:00
Toshio Kuratomi
930bdd1f2f
Better names for the test_binary tests
2015-02-02 19:33:05 -08:00
Toshio Kuratomi
788e47b693
Correct filter specification
2015-02-02 19:21:26 -08:00
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
2015-02-02 19:11:12 -08:00
Toshio Kuratomi
a04138a887
Add v2's unicode.py to utils so we can use unicode_wrap in the filter_plugins
2015-02-02 19:09:08 -08:00
Toshio Kuratomi
cea2f2a7cf
remove broken nad commented unicode conversion -- in v2, this is done when the data first enters ansible.
2015-02-02 19:08:10 -08:00
Toshio Kuratomi
d50089ca9f
Add a function to change output from a str to unicode
2015-02-02 18:28:47 -08:00
Toshio Kuratomi
5d1e468bda
Don't bash TMPDIR env var unnecessarily. Other programs might rely on it
2015-02-02 16:17:40 -08:00
Toshio Kuratomi
c655e91436
For now throw an exception if decoding a non-utf8 extra var
2015-02-02 14:14:18 -08:00
Toshio Kuratomi
5b279c1c15
Fix for v1 handling of unicode extra-vars
2015-02-02 14:12:16 -08:00
Toshio Kuratomi
1ed1af6cb4
Make extra_vars into unicode string type early
...
Fixes v2 for #10106
2015-02-02 13:58:21 -08:00
Toshio Kuratomi
6d788629a2
Be explicit about unicode str transformation
...
Fixes #10126
2015-02-02 13:37:31 -08:00
Toshio Kuratomi
bd7ac7fd7d
Error message has changed; scrape the new message
2015-02-02 12:05:01 -08:00
Toshio Kuratomi
97438f0039
Update the modules
2015-02-02 10:25:59 -08:00
Toshio Kuratomi
b2c7b911bc
v2/plugins/filter is now a symlink as it does not differ between v1 and v2
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
03e213a272
Change the v2 filter plugins into a symlink to v1 as the plugins are the same for both
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
0e5f86cce4
Import hash functions for filters from the new location so the plugins will work on v1 and v2
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
1011959d88
Move the hashing util functions to their own file to mirror v2
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
e702a28496
Comment for why we have checksum and checksum_s
2015-02-02 10:25:09 -08:00
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.
2015-02-02 12:58:58 -05:00
Toshio Kuratomi
d7f5979870
Merge pull request #10151 from ansible/pr-9560
...
Modified version of PR 9560
2015-02-02 08:56:15 -08:00
Toshio Kuratomi
b3af2f9bee
Better error message
2015-02-02 08:52:19 -08:00
Toshio Kuratomi
f6e8ddfd5f
Use pass instead of bare None value
2015-02-02 08:52:19 -08:00
Toshio Kuratomi
624a8dd1d9
Replace large if-elif-else blocks with a dict-dispatcher
2015-02-02 08:52:19 -08:00
Toshio Kuratomi
616fda5767
First try at only failing if the filter is actually used.
2015-02-02 08:52:19 -08:00
Maciej Delmanowski
7e46554160
Add ipaddr() filter plugin
2015-02-02 08:52:19 -08:00
Brian Coca
4198b0a9a5
Merge pull request #6641 from kavu/6346_accept_hostkey_and_key_file
...
Add key_file and accept_hostkey to ansible-pull
2015-02-02 09:48:41 -05:00
Brian Coca
3d858b7c02
Merge pull request #10150 from erikaheidi/patch-2
...
[Vagrant guide] Updating private key location
2015-02-02 08:35:16 -05:00
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 )
2015-02-02 13:30:17 +01:00
Toshio Kuratomi
607ee95836
Merge pull request #10146 from mscherer/fix_doc
...
Fix documentation on hostfile vs inventory , follow up of #10130
2015-02-01 14:27:43 -08:00
Michael Scherer
d6edbeb4d0
Fix documentation on hostfile vs inventory , follow up of #10130
2015-02-01 12:12:40 +01:00
Max Riveiro
9e8dae7498
Fix #6346 . Add key_file and accept_hostkey to ansible-pull
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2015-01-31 18:40:20 +03:00
Michael DeHaan
4fb7c1bff4
Set email to my personal address, thanks everyone!
...
http://michaeldehaan.net/post/109595670406/happy-trails-ansible
2015-01-30 17:28:37 -05:00
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
2015-01-30 15:18:58 -05:00
Brian Coca
540d13cf52
Merge pull request #9404 from mmoya/configure-retry-files
...
Configure retry file usage and location
2015-01-30 15:14:27 -05:00
Toshio Kuratomi
363a47b48b
Merge pull request #10133 from netroby/feature/update-repo-sh
...
Add shell script to fast update ansible repo
2015-01-30 07:52:42 -08:00
Toshio Kuratomi
4b89eb293f
port fix for https://github.com/ansible/ansible/pull/10129 to v2
2015-01-30 07:51:19 -08:00
Toshio Kuratomi
ca35d138f1
Update modules
2015-01-30 07:46:36 -08:00
Toshio Kuratomi
f355c11a3f
Merge pull request #10129 from RadishTheHut/memfacts-fix
...
Fix for memory fact gathering
2015-01-30 07:44:58 -08:00
Brian Coca
dfe629a872
Merge pull request #10137 from nmeum/devel
...
Saner ansible-pull output
2015-01-30 10:18:35 -05:00
Sören Tempel
773849d421
Only write actual errors to stderr
2015-01-30 15:55:37 +01:00
Brian Coca
7ab95e10f0
updated to latest core devel
2015-01-30 08:29:58 -05:00
ZhiFeng Hu
e63c03d60f
Move update.sh to hacking repository ,see #10081
2015-01-30 14:19:47 +08:00
Patrick McConnell
04b2c698ba
Updated memory facts fix using dict.get() to avoid KeyError
2015-01-30 05:59:34 +01:00
Toshio Kuratomi
747cc26ae1
Update modules
2015-01-29 18:31:15 -08:00
Toshio Kuratomi
be9b445245
Document the force=no changes for version control modules
2015-01-29 18:30:43 -08:00
ZhiFeng Hu
d4864eabdc
Add shell script to fast update ansible repo
2015-01-30 08:45:46 +08:00
James Cammarata
c978c77796
Fixing more v2 bugs
2015-01-29 16:44:01 -06:00
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
2015-01-29 12:09:19 -08:00
Toshio Kuratomi
d57f7b4b9e
Merge pull request #10130 from bcoca/inventory_consistent_naming
...
made inventory consistent in config file, deprecated old config hostfile
2015-01-29 10:48:03 -08:00