summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix more synchronize bugssynchronize-become-is-reversedToshio Kuratomi2016-01-251-13/+5
| | | | | | * More cases where synchronize and sudo are broken * synchronize copying to the wrong host when inventory_hostname is localhost
* Fix problem with unicode arguments (first seen as a bug on synchronize)Toshio Kuratomi2016-01-251-1/+3
| | | | Fixes #14041
* Fix some cases with delegate_to and sudoToshio Kuratomi2016-01-251-5/+36
|
* SimplifyToshio Kuratomi2016-01-251-17/+12
|
* For synchronize, fix sudo to execute on the remote end of the connectionToshio Kuratomi2016-01-251-3/+19
| | | | | | | | | | In 2.0.0.x become was reversed for synchronize. It was happening on the local machine instead of the remote machine. This restores the ansible-1.9.x behaviour of doing become on the remote machine. However, there's aspects of this that are hacky (no hackier than ansible-1.9 but not using 2.0 features). The big problem is that it does not understand any become method except sudo. I'm willing to use a partial fix now because we don't want people to get used to the reversed semantics in their playbooks.
* adhoc now respects limit when listing hostsBrian Coca2016-01-251-8/+4
| | | | | also removed cruft about localhost as if used it is specified inline fixes #13848
* ensure stdout callback alwasy is loaded firstBrian Coca2016-01-251-2/+4
| | | | | it is now called for every event prior to any other callbacks fixes #14114
* better error when host inventory script isnt dictBrian Coca2016-01-251-1/+4
|
* add webdocs as aliasBrian Coca2016-01-251-0/+2
|
* Merge pull request #14087 from grahamu/changelog_ssh_deprecatedBrian Coca2016-01-251-0/+1
|\ | | | | Note "ssh" deprecation for inventory variables
| * Update CHANGELOG.mdGraham Ullrich2016-01-231-0/+1
| |
* | Merge pull request #14102 from senk/fix_docuBrian Coca2016-01-251-1/+1
|\ \ | | | | | | Fixes documentation formatting
| * | Fixes documentation formattingRobin Naundorf2016-01-251-1/+1
| | | | | | | | | | | | Fixes documentation formatting
* | | Merge pull request #14110 from infracaninophile/develBrian Coca2016-01-251-1/+1
|\ \ \ | | | | | | | | Change example to use pkg rather than the obsolete pkg_add
| * | | Change example to use pkg rather than the obsolete pkg_addMatthew Seaman2016-01-251-1/+1
|/ / / | | | | | | | | | | | | | | | pkg_add has been obsoleted in all released versions of FreeBSD for several years. Change the example to use the appropriate pkg(8) command line.
* | | Make sure blocks use their parents dependency chainsJames Cammarata2016-01-251-1/+6
|/ / | | | | | | | | | | Fixes a bug inroduced in fb797a9 where included tasks in a role were not being executed because the child blocks had no dep chain set.
* | Allow certain base attributes to be used as role paramsJames Cammarata2016-01-241-1/+6
|/ | | | | | | | | Role definitions typically require params to be different from those which are specified as FieldAttributes on the playbook classes used for roles, however a certain subset should be allowed (typically those used for connection stuff). Fixes #14095
* Merge pull request #14071 from rozha/develJames Cammarata2016-01-231-2/+2
|\ | | | | Fix server numbers in first 10 next 10 example
| * Fix server numbers in first 10 next 10 exampleIlya Novickov2016-01-221-2/+2
| |
* | Use templated handler name during callbackJames Cammarata2016-01-231-0/+3
| | | | | | | | Fixes #14082
* | Fixing role dependency chain creationJames Cammarata2016-01-223-9/+22
| | | | | | | | | | | | | | | | | | | | The dep chain for roles created during the compile step had bugs, in which the dep chain was overwriten and the original tasks in the role were not assigned a dep chain. This lead to problems in determining whether roles had already run when in a "diamond" structure, and in some cases roles were not correctly getting variables from parents. Fixes #14046
* | Merge pull request #14054 from gregdek/develMatt Martz2016-01-221-0/+1
|\ \ | |/ |/| Add Python 2.4 requirement to module checklist
| * Tweaking Python 2.4 requirementGreg DeKoenigsberg2016-01-211-1/+1
| |
| * Put Python 2.4 in checklistGreg DeKoenigsberg2016-01-211-0/+1
| | | | | | It's in the travis check, but we don't spell it out explicitly in the guidelines.
| * Merge pull request #1 from ansible/develGreg DeKoenigsberg2016-01-2117-90/+144
| |\ | | | | | | sync to head
* | | Fix bug with any_errors_fatal where task was not availableJames Cammarata2016-01-211-1/+7
| | |
* | | Disallow setting state on template tasksJames Cammarata2016-01-211-1/+6
| | | | | | | | | | | | Fixes #14056
* | | Update submodule refsToshio Kuratomi2016-01-212-15/+13
| |/ |/|
* | Merge pull request #13993 from towolf/avoid_json_to_unicodeToshio Kuratomi2016-01-211-4/+8
|\ \ | | | | | | Avoid recursively checking JSON inventory for Unicode
| * | Avoid recursively checking JSON inventory for UnicodeTobias Wolf2016-01-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by moving to en-bloc unicode conversion to act on scripts stdout Both python-json and simplejson always return unicode strings when using their loads() method on unicode strings. This is true at least since 2009. This makes checking each substring unnecessary, because we do not need to recursively check the strings contained in the inventory dict later one-by-one This commit makes parsing of large dynamic inventory at least 2 seconds faster. cf: https://github.com/towolf/ansible-large-inventory-testcase
* | | avoid shredding empty files, also x/0Brian Coca2016-01-211-15/+17
| | | | | | | | | | | | also cleaned up unused import and exception var
* | | Template the run_once value in the linear strategy as we use it thereJames Cammarata2016-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | | This is pre-post_validation, so we have to template it on the fly as we use it to determine if we bypass the host loop. Fixes #11876
* | | Re-add cache clearing call to Inventory initJames Cammarata2016-01-201-0/+4
| | | | | | | | | | | | | | | | | | | | | This prevents a bug where the existing cache outside of the class is not cleared when creating a new Inventory object. This only really affects people using the API directly right now, but wanted to fix it to prevent weird errors from popping up.
* | | corrected host/group match in inventory_hostnamesBrian Coca2016-01-201-4/+9
| | | | | | | | | | | | | | | now the lookup works when using ! and & operators fixes #13997
* | | Merge pull request #14031 from selivan/develJames Cammarata2016-01-201-1/+1
|\ \ \ | | | | | | | | plugins/strategy: added significant details to parser error message.
| * | | plugins/strategy: added significant details to parser error message.Selivanov Pavel2016-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | See discussion at https://github.com/ansible/ansible/issues/13753
* | | | Merge pull request #14030 from matburt/add_rax_inventory_custom_cache_timeoutMatt Martz2016-01-202-1/+13
|\ \ \ \ | | | | | | | | | | Add a config option for rackspace inventory cache
| * | | | Add rax cache age ini documentationMatthew Jones2016-01-201-0/+9
| | | | |
| * | | | Add a config option for rackspace inventory cacheMatthew Jones2016-01-201-1/+4
| | |/ / | |/| | | | | | | | | | | | | | Adding a config and environment variable option for tuning the cache age check in the rackspace inventory module
* | | | Standardize removal of BECOME-SUCCESS method and use it for async tooJames Cammarata2016-01-203-4/+14
| | | | | | | | | | | | | | | | | | | | Fixes #13965 Fixes #13971
* | | | Update submodules to bring in yum fixToshio Kuratomi2016-01-202-15/+14
| | | |
* | | | Merge pull request #14025 from ansible/run_command-env-reworkToshio Kuratomi2016-01-202-31/+41
|\ \ \ \ | |_|/ / |/| | | rework run_command's env setting to not change os.environ for the res…
| * | | rework run_command's env setting to not change os.environ for the rest of ↵Toshio Kuratomi2016-01-202-31/+41
| |/ / | | | | | | | | | | | | | | | | | | the module. New param to run_command to modify the environment for just this invocation. Documentation and comment adjustments.
* | | Only use os.path.basename if get_file_content returned a value, and ensure ↵Matt Martz2016-01-201-2/+4
| | | | | | | | | | | | that service_mgr has line endings stripped. Fixes #14026
* | | Merge pull request #14021 from gregdek/develJames Cammarata2016-01-201-11/+18
|\ \ \ | | |/ | |/| Adding docs help for testing modules
| * | Update developing_test_pr.rstGreg DeKoenigsberg2016-01-201-6/+5
| | |
| * | format fix for github markupGreg DeKoenigsberg2016-01-201-3/+3
| | |
| * | Adding submodule helpGreg DeKoenigsberg2016-01-201-11/+19
| |/
* | Merge pull request #14006 from bcoca/always_shell_againBrian Coca2016-01-202-5/+4
|\ \ | | | | | | go back to always wrapping commands in shell
| * | go back to defaulting wrapping commands in shellBrian Coca2016-01-192-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | this was taken out in an effort to default to the user's shell but creates issues as this is not known ahead of time and its painful to set executable and shell_type for all servers, it should only be needed for those that restrict the user to specific shells and when /bin/sh is not available. raw and command may still bypass this by explicitly passing None. fixes #13882 still conditional