summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.5.1v2.5.1Matt Davis2018-04-1824-37/+245
|
* Clean up Grafana docs a bit (#37516)Dag Wieers2018-04-183-135/+112
| | | | | | | | | | | * Clean up Grafana docs a bit But more is needed, default values, missing choices, proper descriptions, actual sentences :-) * Remove validate-modules entries (cherry picked from commit 51662acc6c7934a2658b1d2f4dda18711583033e)
* Ensure non ansilbe exceptions keep tracebacks (#37523)Brian Coca2018-04-181-1/+1
| | | | (cherry picked from commit d9430b79f99362731282d675640057808abd79c9)
* show changed in onlineBrian Coca2018-04-181-3/+11
| | | | (cherry picked from commit 32cf79c0443d0e3a39eb85ec652c77ac72300a68)
* Load plugin config defs on first load only (fixes #37553) (#37584)Andrew Gaffney2018-04-181-3/+8
| | | | (cherry picked from commit 0d0bdbec621e37e428dc88ed44ca2caaaf74d851)
* Update porting_guide_2.5.rst (#37927)Jonas Meurer2018-04-181-2/+14
| | | | | | | The example regarding `include_*` is a bit unclear. First it seems like the v2.4 and v2.5 examples are the same. So I attempted to make the relevant change in the examples more obvious. label: docsite_pr (cherry picked from commit 55fd3d62fbcf8c29e2d84072a35327a916e3f332)
* remove unused optoins from inventory cliBrian Coca2018-04-181-2/+4
| | | | | | fixes #31929 (cherry picked from commit 1b9879ccbf4583a35cd87c2c35870c2ae489f94c)
* Some more fixes for the docs :ref: disambiguationToshio Kuratomi2018-04-183-3/+4
| | | | | | | | | The big one is that we needed to set plugin_type when we processed the by_support template. Also added to list_of_CATEGORY_plugins page (which might not be used) and corrected a place where I did module_name instead of name_module (cherry picked from commit 8cdd75a09f471961f949428f689e7083bbeff2b5)
* documented actual precedence (#38009)Brian Coca2018-04-181-2/+2
| | | | | fixes #22025 (cherry picked from commit 5ad13d66aae1b3c2198e9e17dadc25910cbfdee2)
* docs: Document disabling diff on task level (#37998)Christian Fetzer2018-04-181-0/+15
| | | | | | | | | | | | | | | * docs: Document disabling diff on task level Tasks that deal with secrets may leak sensitive information when running in Check Mode. This change updates the documentation explaining that the diff can be deactivated on task level. The feature was requested in #14860 and got introduced in Ansible 2.4 with #28581. * Updated for clarity (cherry picked from commit 9cca9a9c108124b56cd9e90130bf5ea02e3464be)
* module_common: handle None value for templar (#36651)Pilou2018-04-184-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | * module_common: set required parameter templar Fix the following error (related to b455901): $ ./hacking/test-module -m ./lib/ansible/modules/system/ping.py -I ansible_python_interpreter=/usr/bin/python Traceback (most recent call last): File "./hacking/test-module", line 268, in <module> main() File "./hacking/test-module", line 249, in main (modfile, modname, module_style) = boilerplate_module(options.module_path, options.module_args, interpreters, options.check, options.filename) File "./hacking/test-module", line 152, in boilerplate_module task_vars=task_vars File "ansible/lib/ansible/executor/module_common.py", line 910, in modify_module environment=environment) File "ansible/lib/ansible/executor/module_common.py", line 736, in _find_module_utils shebang, interpreter = _get_shebang(u'/usr/bin/python', task_vars, templar) File "ansible/lib/ansible/executor/module_common.py", line 452, in _get_shebang interpreter = templar.template(task_vars[interpreter_config].strip()) AttributeError: 'NoneType' object has no attribute 'template' * module_common.modify_module: templar is required (cherry picked from commit 7908f78fa6ba620b15c08ffb57f19631a2fe99ce)
* yaml callback fails on python3Jim Gu2018-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | When the URI module returns complex JSON objects, the YAML callback fails while trying to represent these objects. The problem arises because the filter method returns an iterator in Python 3, rather than a str object. Therefore, the str method expandtabs() is not available, and the callback fails with the following error: [WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.yaml.CallbackModule object at 0x7f7c7ed8aa20>): 'filter' object has no attribute 'expandtabs' Issue can be replicated by running this playbook: - hosts: localhost gather_facts: false tasks: - uri: url: https://jsonplaceholder.typicode.com/posts ansible-playbook tmp.yml -v (cherry picked from commit 5839f07e0f61efd0e2dd5798467d8377b0fab64c)
* fix set options in callbacks for foremanArtem Tiumentcev2018-04-181-2/+2
| | | | (cherry picked from commit 082b03c829fe568e179c7917fd72274ad1db7980)
* avoid caching invetnory sources in loader (#38242)Brian Coca2018-04-185-6/+7
| | | | | | | | | | | | | | * fix inventory plugin source caching - avoid caching invetnory sources in loader in base - same fix for yaml plugin - idem for 'auto' plugin fixes #37162 * fix mock dataloader func sig (cherry picked from commit 886c4edfb9097b76af42d2aa570d66f60037df4a)
* fix bug in modules/system/user.py (#37552)Lutz Reinhardt2018-04-181-2/+1
| | | | | for freebsd tool "pw" use date not days in "modify_user" (cherry picked from commit d512bed495e3d4993e4f0b51e6f2513d54b2a15e)
* Set `raw=True` when reading passwords from ConfigParser files. (#35582)Bill Nottingham2018-04-184-4/+4
| | | | | | | | | | | | * Set `raw=True` when reading passwords from ConfigParser files. The assumption is that no one is actually doing interpolation on the password value, even if they may for other configuration values, and passwords are far more likely to contain '%'. * Add vmware_inventory as well. (cherry picked from commit 15b6ec66bb3fc0bd4fd0aec928c4ba0f9d310d4f)
* clarify os x password with user module (#38344)Brian Coca2018-04-181-5/+3
| | | | | | | also removed pointer to non existing example fixes #36427 (cherry picked from commit f630d420c610482ac3c1fa8b67e963546bb31400)
* Reduce recursion within group methodsAlanCoding2018-04-183-27/+200
| | | | | | | | | | | This offers an optimization that allows loading larger inventories of various structure by improving the scaling laws involved for adding hosts and groups. The primary speed benefit is the elimination of duplicate recusion from traversing converging paths. (cherry picked from commit 153c9bd539eeffdd6d395b8840f95d56e3814f27)
* clarifying docs with first_found (#36951)Brian Coca2018-04-181-26/+44
| | | | | better examlpes as this was never really a task loop, but contained inside the lookup itself (cherry picked from commit 42d15671d092bb6ac422f8ae2e2905c8d8a77c94)
* made missing cli tools non fatal (#37194)Brian Coca2018-04-183-28/+39
| | | | | | | | | | * made missing cli tools non fatal * remove bare exceptions these shoudl not be there as they can prevent 'wanted' exits (cherry picked from commit 0c2e7fd841e9412c620f74f47476e3675e48fac2)
* Fix places in docs that refer to modules without namespaceToshio Kuratomi2018-04-1811-57/+60
| | | | | | We've namespaced all plugin docs. Change the docs to reflect that (cherry picked from commit 9faf7b949e1a18d37de4ed5fc3b3d19e155fa741)
* playbooks_variables.rst: fix facts code-block (#38520)Martin Krizek2018-04-181-1/+1
| | | | (cherry picked from commit 5297eac46d5a63149067833b9a4a17ede31f3256)
* fix displaying group vars in graphBrian Coca2018-04-181-3/+2
| | | | (cherry picked from commit 265d838ec985a3e92058ba9a642329465cb54ae2)
* Modules that have a link to their own deprecated section need to use a ↵Toshio Kuratomi2018-04-181-1/+1
| | | | | | | | | | | | different link syntax (#38697) The :ref: syntax is for linking to targets which are defined for the whole document tree. `link`_ is for linking to targets which are inside of the document. We want the latter for deprecated sections because otherwise we'd have to create namespaced link targets for them. Also fix expansion of version a deprecated module will be removed in (cherry picked from commit 25523666ce1cc66c1536baf18e6dde150f015aeb)
* Auth method for the k8s lookup plugin now matches other modules (#37533) ↵Chris Houseknecht2018-04-181-1/+5
| | | | (#37618)
* nxos bugfixes cherry-pick (#38950)Trishna Guha2018-04-185-104/+181
| | | | | | | | | | | | | | * fix nxos_ntp_options (#38695) (cherry picked from commit 1d975bdc9349e4cef02ed522adfbc610d9804eb6) * fix ntp_auth issues (#38824) (cherry picked from commit a372142434522fb7ba219945238595595def0d86) * update nxos changelog Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add instanceUuid (also called PersistentId) in vmware utils (#38870)Abhijeet Kasurde2018-04-182-0/+3
| | | (cherry picked from commit 0cdba9ff70c76af49e5cce2c9a16705cc0718a64)
* Tolerate win line endings on module load 2.5 (#38919)Jordan Borean2018-04-182-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Tolerate win line endings on windows module_util load (#37291) * tolerate windows line endings when loading windows module utils. Helpful for old custom windows modules. * add test modules to demonstrate win line ending module load behaviour. * attempt to fix sanity check failures * pep8 fix * explict skip of test modules from shebang check (core modules must still have expected unix style line endings) * switch to rstrip() following core team meeting feedback (cherry picked from commit ad94d03ba1a2771e0b7e88e2083a4507a2767862) * Added changelog fragment * Added ignore rules to older sanity tests * Removed test files due to old shebang not being possible without bigger change
* Update win_certificate_store.py (#38860) (#38927)Jordan Borean2018-04-181-0/+8
| | | | | | | | | | | | | * Update win_certificate_store.py Improvements to describe the different destination stores. +label: docsite_pr * Update win_certificate_store.py Whole line needs to be quoted -- lingfish YAML fail. (cherry picked from commit d684c51815bc4ebaf0666883e55d1166d1d89527)
* Update httptester container reference.Matt Clay2018-04-171-1/+1
| | | | (cherry picked from commit 35748e52285fa56f0b0e475a1fa51b0da793afc5)
* [WIP] disambiguating autogenerated module docs attempted fix of #38439. (#38890)scottb2018-04-177-24/+30
| | | | | | Disambiguates autogenerated module docs - fixes #38439. (cherry picked from commit c97e5088061a8b4c7420da1b9b5e30ad2ef82467)
* Add alias's as a :ref: target for modulesToshio Kuratomi2018-04-171-0/+3
| | | | | | | This is especially important for deprecated modules as we want to link to those in porting guides and such. (cherry picked from commit 8f1b5fc47b638ab74a2c6e5d6471062877cda40d)
* win_regedit: backport 2.5 stabilise tests (#38918)Jordan Borean2018-04-183-7/+6
| | | | | | | | * win_regedit: stabilise tests (#38912) (cherry picked from commit 77ef4802f01c1c88c9066dcee067876ffbf65a02) * Added changelog fragment
* Fix typo in windows_faq.rst (#38864) (#38916)Jordan Borean2018-04-181-1/+1
| | | | | | Fix typo in `python-pip` packet name. +label: docsite_pr (cherry picked from commit 92f4065157b5cadd82d9c9f2c6a4f15484bc3044)
* Restore docker_secret test on RHEL.Matt Clay2018-04-171-1/+1
| | | | (cherry picked from commit 57f12980740c27a195dff6eeb5e069f04feef20f)
* Disable failing fortios_* tests.Matt Clay2018-04-172-2/+0
|
* Upgrade PYPI badge to point to new Warehouse siteSviatoslav Sydorenko2018-04-171-1/+1
| | | | | It should become default quite soon: https://github.com/pypa/warehouse/milestone/1
* Add changelog entry for grafana base64 portToshio Kuratomi2018-04-171-0/+4
| | | | (cherry picked from commit f5cc4acc53befe735d7207c9f5d9d6922aeef5eb)
* Fix deprecated warningsRémy Léone2018-04-175-16/+20
| | | | (cherry picked from commit 98fb47b06176d24e3e1adcdfbbdcacec42361ff8)
* Correct formatting (#38874) (#38877)John R Barker2018-04-171-3/+4
| | | (cherry picked from commit 3d3781db5719a83d21b189a61480dee1f4418ffc)
* issue:38321 fix onyx_config module failed while using python = 3.5 (#38343) ↵John R Barker2018-04-172-1/+3
| | | | | | | | | | (#38869) * issue:38321 fix onyx_config module failed while using python = 3.5 (#38343) (cherry picked from commit 0d79268a6d2b97eb670c7ee01e56e4f9ae7d6b27) * changelog
* VMware: handle permission denied while reading facts (#38868)Abhijeet Kasurde2018-04-172-2/+10
| | | | | | | | | | This fix adds exception handling which is raised when user does not have correct set of permissions/privileges to read virtual machine facts especially host system configuration. Fixes: #37056 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit efc3f4f824402fd7033c53c954a57b693b61f76d)
* Use correct esxi host variable in vmware_cfg_backupAbhijeet Kasurde2018-04-172-6/+8
| | | | | Fixed bug where hostname could not be found and minor documentation changes. (cherry picked from commit 8f5320435f31b2462a36350888ca2833c65cbefc)
* VMware: correct documentation for datacenterAbhijeet Kasurde2018-04-172-17/+19
| | | | | | | | | This fixes documentation related to datacenter in vmware_guest_find module. Fixes: #38290 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 2367130ba3761925928f39961d5281a4d27854bc)
* Correct module name in vcenter_license.py (#37672) (#37728)Abhijeet Kasurde2018-04-172-1/+3
| | | | | | Module name should be vcenter_license not vmware_license. (cherry picked from commit 0214a8538235c42a3a77131b1d43643e571fca40) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Add supported connection in junos module documentation (#38813) (#38865)Ganesh Nalawade2018-04-1721-0/+40
| | | | | | | | | | | | | | | * Add supported connection in junos module documentation Add supported connection type in junos module doucmentation. * adds link to platform docs * makes recommended connection a code snippet * does this fix banner and command? * does this fix the rest of the errors? (cherry picked from commit 67d561b0c8dc30490be13603e431a709079f3e50)
* win_updates: fix when failed is not present in output (#38856) (#38857)Jordan Borean2018-04-171-3/+5
| | | (cherry picked from commit f1c16438c1bc87ca1b4d2b6c8b5ee5be57739efb)
* Use new vcenter simulator container location.Matt Clay2018-04-161-1/+1
| | | | (cherry picked from commit 1d5c933ecf94699bd8b147b8dd9eea5ca4c69301)
* centralize doc/config plugin lists (#38775)Brian Coca2018-04-166-10/+27
| | | | | | | | | | | | | | | * centralize doc/config plugin lists also update list for generation in docsite added note to ensure they are in sync * updated shell page to list plugins added some more docs hinting at plugins being configurable * fix edit link for plugins (cherry picked from commit bdbb89378fd08597d0056e06bec352c4942d43cf)
* add changelogs-hertel2018-04-161-0/+5
|