Toshio Kuratomi
0f6b87d33e
Revert "Fix import statements" -- those impotrt statements were right
...
before... something else is fishy
This reverts commit 8ab536fbf2
.
2015-01-26 22:01:52 -08:00
Toshio Kuratomi
8ab536fbf2
Fix import statements
2015-01-26 21:49:09 -08:00
Toshio Kuratomi
d3666f3265
Make py2.4 remote checksum large-file-enabled as well
2015-01-26 21:44:42 -08:00
Toshio Kuratomi
6f5d18a20e
Merge pull request #10087 from axos88/devel
...
fix checksum calculation for large files
2015-01-26 21:40:09 -08:00
Toshio Kuratomi
335cf2f05f
Update module repos
2015-01-26 20:39:53 -08:00
Toshio Kuratomi
915d232d5f
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
2015-01-26 20:39:09 -08:00
Brian Coca
9d190c8d8d
Revert "Support variable values with dashes"
2015-01-26 12:54:50 -05:00
Brian Coca
13bbf9bfbb
Merge pull request #9834 from nathancahill/fix-variables-with-dashes
...
Support variable values with dashes
2015-01-26 12:51:56 -05:00
Akos Vandra
03fa421f3f
do not use with, it is not supported all the way down to 2.4
2015-01-25 18:42:59 +01:00
Akos Vandra
e8144b3b90
fixes #10086
2015-01-25 14:51:01 +01:00
Toshio Kuratomi
53a3644ecd
Update the modules
2015-01-22 23:17:58 -08:00
Toshio Kuratomi
364f772cc5
Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
...
Fixes #682
2015-01-22 12:33:06 -08:00
Brian Coca
54c25a101b
Merge pull request #10029 from gaqzi/devel
...
Add filter to turn a string into a UUID
2015-01-22 14:51:40 -05:00
Toshio Kuratomi
f2b1a289ed
Update modules to pull in fixes
2015-01-22 10:27:50 -08:00
Toshio Kuratomi
cce87acfed
Fix integration test for unarchive to test zipfiles
2015-01-21 16:17:49 -08:00
Brian Coca
0e969aee06
updated submodules to latest devel
2015-01-21 19:09:22 -05:00
Björn Andersson
65e4f2b2bc
Add filter to turn a string into a UUID
...
This filter was made because I needed to create idempotent UUIDs when
installing the agent for Go (http://go.cd ), which uses UUIds to
distinguish the agents from each other.
It uses a newly created Ansible namespace to distinguish UUIDs created
by Ansible from any other source. The new namespace is a random one
created by uuidgen on OSX.
2015-01-21 08:07:17 +08:00
Brian Coca
82abe63eb2
Merge pull request #10055 from digi691/devel
...
Add the uuid of the device in ansible_mounts variable
2015-01-20 15:39:06 -05:00
Toshio Kuratomi
e6b5cc9ccb
Merge pull request #9887 from lmacken/devel
...
Use send instead of sendv on the systemd.journal (fixes #9886 )
2015-01-20 12:19:42 -08:00
cdigiovanni
99bcbe746f
Add the uuid of the device in ansible_mounts variable
2015-01-20 10:58:14 -06:00
Brian Coca
2ef5d6be1e
Merge pull request #9702 from bcoca/better_errors_on_delegate
...
better exception handling with delegated hosts
2015-01-19 15:25:01 -05:00
Brian Coca
23783a5228
Merge pull request #10014 from bcoca/inventory_script_errorhandle
...
ansible now captures returncode errors on inventory scripts
2015-01-19 15:17:56 -05:00
Brian Coca
2a9d5054bf
Merge pull request #9995 from bcoca/hash_filters
...
Hash filters
2015-01-19 15:17:39 -05:00
Toshio Kuratomi
46e486ba41
Update modules to fix docs build and unittests
2015-01-19 09:43:30 -08:00
Toshio Kuratomi
01be9f4399
Update modules to latest
2015-01-19 09:07:49 -08:00
Brian Coca
78e1a7ed93
Revert "Fix: Add support for SSL protocol version configuration option"
2015-01-19 08:36:17 -05:00
Brian Coca
9ccabbb95e
Merge pull request #9808 from swimlappy/sslconfig
...
Fix: Add support for SSL protocol version configuration option
2015-01-16 10:25:48 -05:00
Toshio Kuratomi
be4dbe76b9
Merge pull request #9997 from shawnsi/stdout_lines
...
Add stdout_lines to results when using with_items
2015-01-15 11:24:58 -08:00
Brian Coca
6b3d0f4788
now captures returncode errors on inventory scripts
2015-01-15 13:38:25 -05:00
Toshio Kuratomi
1b8faa68d9
Update extras to pick up doc build fix
2015-01-15 07:26:24 -08:00
Toshio Kuratomi
6326daa34e
Update modules for unarchive handling user,group,mode and add integration test for the same
2015-01-14 19:23:12 -08:00
Shawn Siefkas
682b987567
Add stdout_lines to results when using with_items
2015-01-13 13:34:25 -06:00
Brian Coca
35247fabb8
added hash and password_hash functions
...
documented new hashing filters and preexisting hashing filters
removed extra sha1 example in others, clarified some of the hashing examples
2015-01-13 14:05:57 -05:00
Toshio Kuratomi
f1fdddb640
Do not send stat all the parameters that unarchive received
...
Fixes #546
2015-01-13 09:42:37 -08:00
Toshio Kuratomi
edc27c5a5b
Fix to_nice_json on python2.6
2015-01-12 10:45:18 -08:00
Toshio Kuratomi
f2d37fba30
Update modules
2015-01-12 08:06:48 -08:00
Brian Coca
bd62530700
Merge pull request #9947 from maxamillion/issue-9759-fix-processor-facts
...
don't double the count of i for LinuxHardware cpuinfo keys on 'vendor_id' and 'model name' keys
2015-01-11 16:42:04 -05:00
Adam Miller
06b70e4f9c
When checking for Xen for LinuxHardware processor facts, don't check sysfs if already found in /proc/
2015-01-08 11:29:11 -06:00
Nate Coraor
60e815c844
Set ansible_distribution_version differently for Solaris variants.
2015-01-07 19:07:12 -05:00
Toshio Kuratomi
5354df8643
s/nexentaStor/Nexenta/
2015-01-07 15:18:52 -08:00
Toshio Kuratomi
04635333d0
Update fact gathering for solaris-family distributions
2015-01-07 14:38:16 -08:00
Brian Coca
058816237a
updated submodule refs
2015-01-07 13:48:08 -05:00
Toshio Kuratomi
6305864cca
Merge pull request #9814 from ccciudatu/devel
...
run_once tasks are skipped without checking the delegate_to host #9784
2015-01-07 09:33:21 -08:00
Toshio Kuratomi
364b5ac0ea
Do a daily update of the modules
2015-01-07 08:47:09 -08:00
Adam Miller
f274234824
Only add the overhead for each iteration of cpuinfo parsing if Xen is detected
2015-01-07 08:45:14 -06:00
Adam Miller
3729259b68
don't double the count of i for LinuxHardware cpuinfo keys on
...
'vendor_id' and 'model name' keys
Check for Xen paravirt and handle processor facts accordingly
2015-01-06 17:14:38 -06:00
Toshio Kuratomi
eb19ff9d62
Update extras modules to fix docs building
2015-01-05 08:41:19 -08:00
Toshio Kuratomi
bac086e705
Update modules
2015-01-05 08:30:58 -08:00
Brian Coca
1698b17b14
Merge pull request #8651 from ks888/enable-env-kw-at-play-level
...
Enable environment keyword at play level
2015-01-02 11:07:35 -05:00
Toshio Kuratomi
41399dedaf
Update core modules for docker fix
2014-12-27 17:12:22 -08:00
Toshio Kuratomi
641c6a2859
Pull in apt changes
2014-12-25 00:25:51 -08:00
Luke Macken
dea0ee663f
Use send instead of sendv on the systemd.journal ( fixes #9886 )
2014-12-24 14:37:10 -07:00
Costi Ciudatu
1ed9b6629e
run_once tasks are skipped without checking the delegate_to host #9784
2014-12-24 02:22:38 +02:00
Toshio Kuratomi
5ed7a55990
Restore json import for redis as well. Switch preference to simplejson for speed
2014-12-23 13:14:14 -08:00
Rene Moser
b5e99c852e
facts caching: fix missing json in jsonfile caching
2014-12-23 16:15:26 +01:00
Toshio Kuratomi
f9c203feb6
Another try at a git fetch fix
2014-12-22 15:15:29 -08:00
Toshio Kuratomi
89da873dff
Fix bug in merged git refspec code
2014-12-22 12:12:25 -08:00
Toshio Kuratomi
18536d6885
Pull in new refspec param for git module
2014-12-22 11:34:45 -08:00
Brian Coca
19038a71bf
Merge pull request #9419 from willthames/aws_frankfurt
...
There are still a couple of modules that use their own lists, but that should not prevent this merge, those should be adapted to use this list in subsequent patch
2014-12-22 08:46:20 -05:00
Jonathan Davila
a93db1948e
expanded facts
2014-12-22 08:24:22 -05:00
Brian Coca
e0f72d5861
fixed json encoding issue with redis
2014-12-19 20:09:57 -05:00
Brian Coca
ed380136bc
removed uneeded and posibly error producing json import
...
now uses utils.jsonify which does proper utf8 encoding
2014-12-19 20:05:00 -05:00
Michael Scherer
d4bf3127ec
Add a explicit error when fact_caching_connection is not set
...
By default, jsonfile is not documented, and the error message
when fact_caching_connection is not set is a bit puzzling, so
a error message would be beeter ( documentation too ). While redis
is faster for bigger setup, jsonfile is fine for a small setup
and is easier to deploy.
The module will then stop ansible-playbook, as this match better
the philosophy of Ansible being a fail-fast system.
2014-12-19 14:36:15 +01:00
Toshio Kuratomi
64c256b356
git module now with clone parameter and update=no reverted
2014-12-17 13:46:14 -08:00
Nathan Cahill
6d785ca081
support variables with dashes - fixes #9786
2014-12-16 20:58:38 -07:00
Toshio Kuratomi
2664de55fb
Fix math filters
2014-12-16 16:59:22 -08:00
Toshio Kuratomi
fa6e587654
Pull in some new fixes to core modules
2014-12-16 16:09:50 -08:00
Toshio Kuratomi
c808c8a22a
Fix some of the new math filters
2014-12-16 16:09:17 -08:00
Toshio Kuratomi
7ab1e52575
Merge pull request #9832 from bcoca/math_filters
...
math filters!
2014-12-16 15:42:22 -08:00
Brian Coca
b07ce8b942
removed redundant math functions as jinja2 provides abs() and round()
...
already
2014-12-16 17:57:21 -05:00
Brian Coca
7a43d40050
math filters!
2014-12-16 17:47:50 -05:00
Toshio Kuratomi
dc8207177e
Merge pull request #9830 from nathancahill/vars_prompt-no-value
...
Fix vars_prompt no/false default values
2014-12-16 13:42:26 -08:00
Toshio Kuratomi
d09b64884f
Merge pull request #9810 from mscherer/fix_7732
...
Do not use the variable name as a key for the result of the module
2014-12-16 13:09:06 -08:00
Toshio Kuratomi
828adbf788
Merge pull request #9807 from swimlappy/noproxy
...
Request: Honor the "no_proxy" environment variable in Ansible
2014-12-16 12:53:40 -08:00
Nathan Cahill
cc5a5978ef
fix vars_prompt no/false values
2014-12-16 13:43:23 -07:00
Toshio Kuratomi
d1e27fe819
Merge pull request #9805 from mscherer/fix_9395
...
Strip the line to filter lines composed of only whitespaces
2014-12-16 12:42:06 -08:00
Toshio Kuratomi
735c8d3c4b
Update core so docs build
2014-12-16 11:51:02 -08:00
Toshio Kuratomi
07e483b0c0
Update core modules
2014-12-16 11:18:15 -08:00
Jon Hawkesworth
e37b63386c
Revised following comments from Chris Church.
...
Now uses sha1 checksums following merge of 9688.
Also I undid the changes I made to fetch.py
win_template.py now uses conn.shell.has_trailing_slash and
conn.shell.join_path
updated integration tests.
2014-12-16 04:47:01 +00:00
root
bf916fb58a
Adding first pass at win_copy, win_file and win_template modules.
2014-12-16 04:47:01 +00:00
Jonathan Mainguy
8278626dd0
Added distribution facts for OpenSuse
2014-12-15 11:47:42 -05:00
Michael Scherer
9b8a55032d
Do not use the variable name as a key for the result of the module
...
Using the variable name can interfere with various systems
used to communicate between modules and ansible ( as
reported in #7732 , where ansible_facts is a reserved key for
updating the fact cache, for example ).
2014-12-14 19:27:17 +01:00
Jason Holland
eedc51f213
Add support for SSL protocol version configuration option. Also fix 2 places where the SSL version was not being set properly.
2014-12-13 21:20:33 -06:00
Jason Holland
38dbce1527
Allow Ansible to honor the "no_proxy" environment varaible.
2014-12-13 21:12:23 -06:00
Michael Scherer
b84fba4439
Strip the line to filter lines composed of only whitespaces
...
Fix #9395
2014-12-13 20:56:06 +01:00
Toshio Kuratomi
12968acd5f
Update the core modules to pull in some fixes
2014-12-12 12:09:34 -08:00
Brian Coca
215359084b
Merge pull request #9375 from mantiz/fix-osfamily-and-distribution-on-archlinux
...
Fix os_family and distribution on archlinux
2014-12-12 14:28:38 -05:00
Nicolas Rémond
3cf0c09ce9
Variables lookup in a template should handle properly the undefined case
2014-12-12 12:11:17 +01:00
jszwedko
462471209e
Allow retries to be templatable
...
Fixes #5865
2014-12-10 16:54:58 -05:00
Toshio Kuratomi
2d266ce401
Update core submodule for docs fix
2014-12-10 11:22:40 -08:00
Brian Coca
21bb12ee84
updated refs to module repos
2014-12-10 14:06:48 -05:00
Toshio Kuratomi
c16b83af14
Updat ecore to pull in new git module fixes
2014-12-09 09:09:29 -08:00
Toshio Kuratomi
35cfeefdc1
Update core modules
2014-12-09 08:03:07 -08:00
Toshio Kuratomi
55cb55d67a
Update the extras submodules to latest
2014-12-09 08:01:31 -08:00
Brian Coca
c725aa5e47
updated submodule refs
2014-12-08 17:28:30 -05:00
Michael DeHaan
d4da58e102
Merge pull request #9720 from vlajos/typofixes-vlajos-20141204
...
typofixes - https://github.com/vlajos/misspell_fixer
2014-12-08 14:00:52 -08:00
Toshio Kuratomi
3a5aec9743
file does not exist is not an error when checksumming for the template modules
2014-12-08 13:08:26 -08:00
Toshio Kuratomi
f2d2f425ae
Fix comment
2014-12-08 13:07:34 -08:00
Toshio Kuratomi
3269a349f3
Fix remote_checksum with delegate_to and add tests for several ways that delegate_to works
2014-12-08 12:44:44 -08:00
Toshio Kuratomi
2a288141d3
Fix template module to fail if remote checksumming failed
2014-12-08 10:55:04 -08:00