| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using "use_regex: yes" and setting an excludes: without
specifying a pattern: the existing code passes the file-glob '*' to
the regex matcher. This results in an internal invalid-regex
exception being thrown.
This maintains the old semantics of a default match-all for pattern:
but switches the default to '.*' when use_regex is specified.
The code made sense as-is before excludes: was added (2.5). In that
case, it made no sense to set use_regex but *not* set a pattern.
However, with excludes: it now makes sense to only want to exclude a
given regex but not specify a specific matching pattern.
Closes: #50067
* moved change to new location
added changelog
* Update lib/ansible/modules/find.py
Co-authored-by: Ian Wienand <iwienand@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#73863)
* Fix a bug adding unrelated candidates to the plugin loader redirect_list
* Add tests for the redirect list
* test redirect list for builtin module
* test redirect list for redirected builtin module
* test redirect list for collection module
* test redirect list for redirected collection module
* test redirect list for legacy module
* changelog
|
| |
|
|
|
|
|
|
|
|
|
| |
Ansible can gather distribution facts for older Amazon Linux
with /etc/os-release data.
Fixes: #73946
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Update developing_inventory.rst
hashes/dictionaries in JSON (JavaScript Object Notation) are represented by what JSON calls "objects", so use that established terminology instead of "hash", "dictionary", or "hash/dictionary" etc.
* Update docs/docsite/rst/dev_guide/developing_inventory.rst
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
|
|
|
|
| |
masquerading as callbacks (#73927)
|
|
|
|
|
|
|
|
|
| |
collection submission (#73582)
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
|
| |
|
|
|
|
|
| |
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
|
|
|
|
| |
Co-authored-by: Eugene <k.evgen61@gmail.com>
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* ansible-pull: run all playbooks when multiple are supplied
* add test for ansible-pull with multiple playbooks supplied from cli
* add changelog fragment
|
| |
|
|
|
|
|
| |
* Add the ansible-4 porting guide to the index
* Need to exclude the porting guide for ansible-4 from the core docs build
|
|
|
| |
* Ensure task from the worker is finalized/squashed. Fixes #57399. Fixes #49942
|
| |
|
| |
|
|
|
|
| |
* Allow for searching handler subdir for included tasks
|
|
|
| |
paramater -> parameter
|
|
|
| |
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This is a follow up to:
https://github.com/ansible/ansible/pull/73508
To avoid adding no_log statements to passive_interface args.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
|
|
|
|
|
|
|
| |
false-positives (#73882)
* validate-modules no_log test: extend search range, add more known false-positives.
* Mark false-positives.
|
|
|
|
| |
context (#73877)
|
| |
|
| |
|
| |
|
|
|
| |
* no path on return
|
| |
|
|
|
|
| |
fixes #73837
|
| |
|
|
|
|
|
| |
This helps users to find the right ressources more easily and prevents them from clicking the first matching link only to be redirected to a subsection on the samepage from there
Co-authored-by: Jens Heinrich <github.com/JensHeinrich>
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
##### SUMMARY
<!--- Fixing a typo. There was a double "you" in the text. -->
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
|
| |
|
|
|
|
|
|
|
|
| |
data have no_log set (#73508)
* Catch more potential errors (and increase false-positive rate).
* Flag some false-positives in lib/ansible/modules/ with no_log=False.
Co-authored-by: John Barker <john@johnrbarker.com>
|
|
|
|
|
|
|
|
|
| |
* add optional module_utils import support
Treat core and collections module_utils imports nested within any Python block statement (eg, `try`, `if`) as optional. This allows Ansible modules to implement runtime fallback behavior for missing module_utils (eg from a newer version of ansible-core), where previously, the module payload builder would always fail when unable to locate a module_util (regardless of any runtime behavior the module may implement).
* sanity test fixes
ci_complete
|
| |
|
|
|
|
| |
report issue form (#73796)
|
|
|
|
|
|
|
|
|
|
| |
continue with local facts vs at script error
actually capture execution errors
better error messages in general
add more local facts tests
fixes #52427
|
|
|
|
|
|
|
|
|
|
|
| |
* Documentation: Lay the ground for i18n work.
* Translating both ansible-core and ansible docs requires msgcat
(a program from the gettext package). If msgcat is not present,
only the ansible-core index file's strings will be extracted for translation.
If this is a problem, a short hacking script could be written to take the
place of msgcat (merging the various index pot files into a single pot file).
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
|
|
|
|
|
|
|
|
| |
* Update Amazon Linux Distribution facts gathering logic
* Update tests
Fixes: #73742
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
| |
* Auto cleanup of async cache file
* Add changelog
|
|
|
| |
Typo in name results in Bot shouting
|
|
|
| |
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
| |
* fixes to set_fact
correctly give error messages that were previously ignored
corrected and expanded docs
|
|
|
|
|
| |
* Fix notify on import_tasks
also able to apply to blocks now.
|
|
|
|
|
|
|
|
|
|
|
| |
* finish migrating ssh plugin to config system
fixes #72739
fixes #57220
* fix connection detection in reset
* correct options for connection meta reset
Co-authored-by: David Shrewsbury <Shrews@users.noreply.github.com>
|
|
|
|
|
|
| |
* module output is only json objects
remove json lists as they are not valid from modules
fixes #73744
|