Commit graph

12895 commits

Author SHA1 Message Date
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
Michael Scherer
58dbf2446c Fix various inventory scripts to use env python
Fix https://github.com/ansible/ansible/issues/9948
2015-01-07 01:29:19 +01: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
fe53d86a83 inventory is ini-like but not quite like other implementations 2015-01-05 09:18:52 -08:00
Brian Coca
ed7d1d7e6a Merge pull request #9940 from bcoca/library_example_config_fix
fixed bad exampel for library that was library_path
2015-01-05 11:50:05 -05:00
Toshio Kuratomi
eb19ff9d62 Update extras modules to fix docs building 2015-01-05 08:41:19 -08:00
Brian Coca
83e6c166f6 fixed bad exampel for library that was library_path, which of course did
not work
2015-01-05 11:40:45 -05: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
James Cammarata
7f7e9914aa Changing tag evaluation method to match when conditional method 2014-12-29 23:30:37 -06:00
Brian Coca
8760392a95 Merge pull request #9910 from NateEag/patch-3
Fix some typos in developing_modules.rst
2014-12-29 17:40:33 -05:00
Brian Coca
26b3e5c7e0 Merge pull request #9908 from NateEag/patch-2
Improve wording in playbooks_intro.rst
2014-12-29 17:39:50 -05:00
James Cammarata
62d79568be Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
Nate Eagleson
410c8fc825 Fix some typos in developing_modules.rst 2014-12-29 08:39:39 -05:00
Nate Eagleson
d2cae91dcf Improve wording in playbooks_intro.rst
I was reading the docs and thought "that wording seems off."
2014-12-29 08:03:38 -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
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
Toshio Kuratomi
ec2fc3adf8 Merge pull request #9881 from resmo/fix/missing-json-jsonfile-caching
facts caching: fix missing json in jsonfile caching
2014-12-23 12:58:22 -08:00
Toshio Kuratomi
fb5b682989 Use "override" instead of "loaded second" to be clear about what happens
Need for clarification brought up here:
https://github.com/ansible/ansible/issues/9877
2014-12-23 12:37:42 -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
Toshio Kuratomi
cb64cd5afb Merge pull request #9860 from rohanpm/test_git_refspec
test_git: add tests for `refspec' argument
2014-12-22 11:32:30 -08:00
Brian Coca
241be0d6c5 Merge pull request #9875 from astorije/patch-2
Fix conditionals doc example
2014-12-22 09:16:14 -05: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
Brian Coca
cefe0974d9 Merge pull request #9870 from bcoca/jsonfile_fixes
cache json fixes
2014-12-22 07:23:14 -05:00
Jérémie Astori
35b94948b9 Fix conditionals doc example
Use most recent parameters for yum
2014-12-21 23:42:01 -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
Brian Coca
a55c6625d4 Merge pull request #9864 from mscherer/add_error_jsonfile
Add a explicit error when fact_caching_connection is not set
2014-12-19 09:50:55 -05:00
Brian Coca
0069809251 Merge pull request #6676 from danjenkins/add-vpc-inventory-group
Add a new inventory group so you can see instances in a particular VPC
2014-12-19 09:25:40 -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
Dan Jenkins
d7b36dd9e7 Add a new inventory group so you can see instances in a particular VPC 2014-12-19 10:39:56 +00:00
Rohan McGovern
1ac57a8a8f test_git: add tests for `refspec' argument
Includes a basic test of the clone and update cases.
2014-12-19 12:29:01 +10:00
Toshio Kuratomi
ade083a2e3 Update changelog for the git clone parameter 2014-12-17 13:54:39 -08:00
Toshio Kuratomi
64c256b356 git module now with clone parameter and update=no reverted 2014-12-17 13:46:14 -08: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
6a3c26eb70 removed stray j 2014-12-16 17:49:32 -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
f998e65701 Merge pull request #9809 from mscherer/fix_9695
Make sure ansible-doc work when stdin is not a tty
2014-12-16 13:02:47 -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