bluikko
b0f62062d3
Async task change handling ( #75020 )
...
Async task changes should be handled in the async_status task.
3 years ago
Brian Coca
7d38bb05e4
small note about add_hosts/limit interaction ( #74978 )
...
clarifying the scope and applicability
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
3 years ago
David Shrewsbury
2387ce311f
remove reference to container ML ( #75014 )
3 years ago
Andrew Klychkov
5df82415b5
collections_using.rst: add note that manual upgrade is required when installing collections from Galaxy ( #75024 )
3 years ago
Manuel Gutierrez
4cb20f577b
Fix env lookup docs typo ( #75022 )
...
- Fixed "impossbile" typo
3 years ago
Brian Coca
79a0799082
fix typo in host_group_vars config ( #75012 )
...
* no need to deprecate, not used directly
it just documents the use of the setting in loader
3 years ago
Felix Fontein
e6a7bc854c
Only consider directories which do have .deps files other than ancestor.deps. ( #74987 )
3 years ago
Felix Fontein
7f6edd78f9
Move Docker scenario guide to community.docker. ( #74736 )
...
The scenario guide has already been added to community.docker in
ansible-collections/community.docker#140
3 years ago
Jordan Borean
58d8397771
psrp - cleanup command ( #74985 )
3 years ago
Felix Fontein
58450f041a
Do not show empty version_added_collection values in ansible-doc text output. ( #74999 )
3 years ago
Brian Coca
77e936bd50
async_status revert most changes, keep some fixes, undep module ( #74931 )
...
* revert most changes, keep some fixes, undep module
too many corner cases, reverting major changes for controller
side processing.
3 years ago
David Shrewsbury
97acb0f470
role argspec - tag role argspec validation task with 'always' ( #74994 )
...
* update tag docs
3 years ago
Brian Coca
d2d45900ed
setup module, filter compensate for prefixes ( #74924 )
...
Allow user to abstract internal implementation from requested info
3 years ago
Jordan Borean
cf3a304ce1
psrp - Fix reset connection on failed scenarios ( #74967 )
...
* psrp - Fix reset connection on failed scenarios
* Update psrp-reset.yml
* Update changelogs/fragments/psrp-reset.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* Update changelogs/fragments/psrp-reset.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Sam Doran
a8cf0196f7
subversion - fix stack trace when getting repository information ( #74405 )
...
* subversion - set LC_ALL for accurate command output parsing
When LC_ALL is not set, the output language of commands will differ based on locale. There
is a lot of history of trying to fix this. See the following pull requests:
https://github.com/ansible/ansible-modules-core/pull/4358
https://github.com/ansible/ansible-modules-core/pull/4358
This patch attempts to fix this my setting LC_ALL to a UTF-8 locale. Setting LC_ALL to C reintroduces this bug https://github.com/ansible/ansible-modules-core/issues/4178 .
I'm sure there are some problems I am not seeing with setting this to en_US.UTF-8, but that is
the only way I could find to fix this bug without reintriducing the bug mentioned above.
* Rather than setting locale, just check for matches before trying to get groups
This is a pragmatic solution to avoid the stack trace since setting the locale correctly
to ensure message parsing is accurate is problematic.
* Improve regexps for finding revision and URL
3 years ago
Sam Doran
9a21e24778
get_distribution - Return distribution for all platforms ( #71641 )
...
Since moving to distro, it is possible to return this information for all platforms, not just Linux.
Also return version information for all platfrom not just Linux.
Update unit tests.
Remove some duplicate unit tests though I think there are more to remove.
* Fix docstring formatting
* Minor docstring changes
* Mock distro.id for Solaris service test
* Update comment
3 years ago
Brian Coca
4c8c40fd3d
fix unsafe preservation across newlines ( #74960 )
...
* fix unsafe preservation across newlines
CVE-2021-3583
ensure we always have unsafe
Co-authored-by: Rick Elrod <rick@elrod.me>
3 years ago
Daniel Ziegenberg
473df5c13f
fix doc: add possible state 'inactive' ( #74928 )
3 years ago
Toshio Kuratomi
576e0f6404
Update the porting guide for ansible 4.1.0 ( #74965 )
3 years ago
Brian Coca
675df166c2
fix ssh_transfer_method/scp_if_ssh defaults ( #74925 )
...
* fix ssh_transfer_method/scp_if_ssh defaults
fixes #74922
* clog
3 years ago
Jonathan Kirszling
50e998e303
apt_key: add --recv argument as last one ( #74949 )
...
* apt_key: add --recv argument as last one
* Add unit test
* Add the required boilerplate
Co-authored-by: Marius Gedminas <marius@gedmin.as>
3 years ago
Felix Fontein
81ad125aa6
Fix name of subkey. ( #74939 )
3 years ago
David Shrewsbury
6539c59857
ansible-pull - update help info for --directory option ( #74936 )
...
* Update -d help info for ansible-pull
* fix pep8
3 years ago
Martin Krizek
5ac1b04929
Add support for unicode in ansible-inventory CLI ( #74912 )
...
* Add support for unicode in ansible-inventory CLI
Fixes #57378
* Add tests
* First test fix
* --output tests
* fix
3 years ago
Sam Doran
0a5cc80ce2
slurp - handle error when path is a directory ( #74930 )
3 years ago
Toshio Kuratomi
36287e9810
Remove ignores that are resolved on devel
3 years ago
Toshio Kuratomi
3f694e9f02
Ignore smart quotes in the dev guide translation.
...
The smart quotes are in the warning message to not use smart quotes.
3 years ago
Yanis Guenane
d45c2cec55
Localization: Import first set of translated files
3 years ago
Brian Coca
1c4ca154fa
improve inv plugin selectino for snippets ( #74933 )
...
* improve inv plugin selectino for snippets
* add warning on no snippet for inventory
3 years ago
Sviatoslav Sydorenko
346c7a765d
Use `sphinx_ansible_theme` Sphinx theme in docs ( #74318 )
3 years ago
Abhijeet Kasurde
d9001f8fd0
Fix intro docs ( #74843 )
3 years ago
Brian Coca
6d2398db28
expand doc snippets to lookups and other plugins ( #74403 )
...
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
3 years ago
Sam Doran
004c33d9c5
unarchive - do not fail in init when trying to find required binary ( #74892 )
...
Test for the required binaries in the can_handle_archive() method and fail there. This
prevents failures for missing binaries unrelated to the archive type.
* Update missing zip binary message to match tar message
* Update unit tests
* Add integration tests
* Define packages based on the system rather than ignoring failures
3 years ago
Felix Fontein
acf09e56a2
Update inventory script references from c.g to ansible-community/contrib-scripts. ( #74905 )
3 years ago
Brian Coca
5dd8dc8fd0
minor service_mgr facts fixes ( #74894 )
...
* minor service_mgr facts fixes
handle case in which ps command fails or returns empty
updated tests since it now does keep trying to detect after ps fails
3 years ago
Brian Coca
6840b79e56
bring back async_status module for direct callers
...
also, deprecate it, they should use action instead
Co-authored-by: Felix Fontein <felix@fontein.de>
3 years ago
s-hamann
e2658801f6
Add seed parameter to password lookup ( #69775 )
3 years ago
Matt Martz
ffa548503d
Wrap all results, regardless of register, except for actions with clean facts ( #73161 )
...
* Wrap all results, regardless of register, except for actions with clean facts. Fixes #21088
* ci_complete
* Add tests
* Add clog frag
3 years ago
Hideki Saito
e70fc88656
slurp - better error handling for unreadable files and directories ( #68608 )
3 years ago
Brian Coca
26827f5039
ansible-doc fix displaying 'CLI' options for plugin docs
...
cli options will now display either use provided info, or automating from the name
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
3 years ago
Brian Coca
6a883f1cd6
better message and timeout warning when timeout ( #74885 )
...
* better message and timeout warning when timeout
3 years ago
twalsh-uod
3d8feed2cf
Update playbooks_filters.rst ( #74911 )
...
Fix typo: 'sting' -> 'string'
3 years ago
Alicia Cozine
33924d7e8d
gives each banner a unique div ID ( #74907 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
3 years ago
Martin Krizek
4f3ee4624e
Add end_batch meta task ( #74899 )
...
* Add end_batch meta task
* Add note
* Fix sanity
3 years ago
Matt Martz
ac77911491
Prevent conditional templating errors from masking task output. Fixes #37187 ( #74891 )
3 years ago
Abhijeet Kasurde
8f82e6327f
ansible-cli: Remove unnessary trailing space ( #74880 )
...
Fixes : #74875
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Matt Martz
840825b79c
Allow omit to work with include_role from_args ( #74879 )
...
* Allow omit to work with include_role from_args. Fixes #66349
* Add clog frag
3 years ago
Alicia Cozine
605b1a1c5c
documents community 'extra docs' option in collections ( #74886 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
3 years ago
Alicia Cozine
f88e81a62c
updates links in comments to point to current docs ( #74834 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
3 years ago
Alicia Cozine
62fc4ad8da
adds banner for GalaxyNG survey ( #74889 )
3 years ago