| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
| |
(cherry picked from commit d9430b79f99362731282d675640057808abd79c9)
|
|
|
|
| |
(cherry picked from commit 32cf79c0443d0e3a39eb85ec652c77ac72300a68)
|
|
|
|
| |
(cherry picked from commit 0d0bdbec621e37e428dc88ed44ca2caaaf74d851)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
fixes #31929
(cherry picked from commit 1b9879ccbf4583a35cd87c2c35870c2ae489f94c)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
fixes #22025
(cherry picked from commit 5ad13d66aae1b3c2198e9e17dadc25910cbfdee2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 082b03c829fe568e179c7917fd72274ad1db7980)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
| |
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.
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)
|
|
|
|
|
|
|
| |
also removed pointer to non existing example
fixes #36427
(cherry picked from commit f630d420c610482ac3c1fa8b67e963546bb31400)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
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
* remove bare exceptions
these shoudl not be there as they can prevent 'wanted' exits
(cherry picked from commit 0c2e7fd841e9412c620f74f47476e3675e48fac2)
|
|
|
|
|
|
| |
We've namespaced all plugin docs. Change the docs to reflect that
(cherry picked from commit 9faf7b949e1a18d37de4ed5fc3b3d19e155fa741)
|
|
|
|
| |
(cherry picked from commit 5297eac46d5a63149067833b9a4a17ede31f3256)
|
|
|
|
| |
(cherry picked from commit 265d838ec985a3e92058ba9a642329465cb54ae2)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(#37618)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
(cherry picked from commit 0cdba9ff70c76af49e5cce2c9a16705cc0718a64)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
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)
|
|
|
|
| |
(cherry picked from commit 35748e52285fa56f0b0e475a1fa51b0da793afc5)
|
|
|
|
|
|
| |
Disambiguates autogenerated module docs - fixes #38439.
(cherry picked from commit c97e5088061a8b4c7420da1b9b5e30ad2ef82467)
|
|
|
|
|
|
|
| |
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: stabilise tests (#38912)
(cherry picked from commit 77ef4802f01c1c88c9066dcee067876ffbf65a02)
* Added changelog fragment
|
|
|
|
|
|
| |
Fix typo in `python-pip` packet name.
+label: docsite_pr
(cherry picked from commit 92f4065157b5cadd82d9c9f2c6a4f15484bc3044)
|
|
|
|
| |
(cherry picked from commit 57f12980740c27a195dff6eeb5e069f04feef20f)
|
| |
|
|
|
|
|
| |
It should become default quite soon:
https://github.com/pypa/warehouse/milestone/1
|
|
|
|
| |
(cherry picked from commit f5cc4acc53befe735d7207c9f5d9d6922aeef5eb)
|
|
|
|
| |
(cherry picked from commit 98fb47b06176d24e3e1adcdfbbdcacec42361ff8)
|
|
|
| |
(cherry picked from commit 3d3781db5719a83d21b189a61480dee1f4418ffc)
|
|
|
|
|
|
|
|
|
|
| |
(#38869)
* issue:38321 fix onyx_config module failed while using python = 3.5 (#38343)
(cherry picked from commit 0d79268a6d2b97eb670c7ee01e56e4f9ae7d6b27)
* changelog
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Fixed bug where hostname could not be found and minor documentation changes.
(cherry picked from commit 8f5320435f31b2462a36350888ca2833c65cbefc)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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
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)
|
|
|
| |
(cherry picked from commit f1c16438c1bc87ca1b4d2b6c8b5ee5be57739efb)
|
|
|
|
| |
(cherry picked from commit 1d5c933ecf94699bd8b147b8dd9eea5ca4c69301)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|