Jordan Borean
db2aee558b
LinkUtil - ignore LIB env var ( #76184 )
4 years ago
Martin Krizek
150faf25d3
dnf: add more specific error message for GPG check ( #76194 )
...
Fixes #76192
4 years ago
Sloane Hertel
b5ed41edb3
Skip recursive suboption validation if sub_parameters is not a dict ( #75635 )
...
* Skip recursive suboption validation if sub_parameters is not a dictionary
* Ensure sub parameter elements is a sequence to prevent iterating over string characters and causing duplicate error messages for the same param
4 years ago
Brian Coca
7bec196061
loop/fact delegation fix ( #75768 )
...
now set_fact and include_vars intermediate results are congruent with delegation
4 years ago
Sloane Hertel
8bbecc7cac
exhaust list of vault ids before failing ( #75540 )
...
* Try to find any valid vault id before raising an exception
* Apply the same logic during vault password file loading
* Also. Improve the warning msg and tests
4 years ago
Martin Krizek
47ee282227
Parser errors from within includes should not be rescueable ( #73722 )
...
* Parser errors from within includes should not be rescueable
* Also fixes unit tests
Fixes #73657
4 years ago
Brian Coca
d23226a6f4
deprecate scp_if_ssh ( #75218 )
...
* deprecate scp_if_ssh
Co-authored-by: Matt Martz <matt@sivel.net>
4 years ago
Martin Krizek
dd220ddc2f
Add a YAML representer for NativeJinjaUnsafeText ( #76186 )
4 years ago
Aine Riordan
765924a3a4
Add reminder about groups default behavior in user module ( #76096 )
4 years ago
Tadej Borovšak
f92830d16e
Fix zip content filtering in unarchive module ( #76069 )
...
When we introduced an include parameter to the unarchive module, we
inadvertenly flipped the exclusion logic. This flip meant that the
unarchive module started rejecting files that should be extracted.
This commit flips the bad logic and adds some tests that will make
sure things do not go bad again.
4 years ago
Brian Coca
173550f932
use filesystem object instead of specific objects ( #76054 )
...
since the fragment is imported by different modules that support
different set of filesystem objects
fixes #72375
4 years ago
Jonas I. Liechti
0b0acef423
bug fix: using non-FQDN in plugin choices fails plugin name verification ( #75991 )
...
* enable both non-FQDN and FQDN plugin name
* add info about matching requirement of plugin name in config and plugin source file
4 years ago
Martin Krizek
cc3f1d238c
Add Jinja2 version runtime check ( #76141 )
4 years ago
Martin Krizek
26707a3c6b
Heisen jinja2_native ( #75587 )
...
* Use NativeEnvironment for all templating
ci_complete
* Keep Templar.copy_with_new_env for backwards compat
* Mention that AnsibleUndefined.__repr__ changed in the porting guide
* Templar.copy_with_new_env backwards compat
* ci_complete
4 years ago
Matt Clay
caec2b9d29
Revert "Revert AnsibleCollectionConfig Py3 only change ( #76104 )"
...
This reverts commit 04e30d9002 .
4 years ago
Martin Krizek
395e5e20fa
PlayIterator: use enums for states ( #74511 )
4 years ago
Matt Martz
9b4f9e9fd3
Drop python2.6 support in module execution ( #76106 )
4 years ago
Sloane Hertel
0bf7b3f4ef
Fix ansible-galaxy collection verify subcommand help message. ( #76108 )
...
* Fix ansible-galaxy collection verify subcommand help message.
* changelog
4 years ago
Martin Krizek
04e30d9002
Revert AnsibleCollectionConfig Py3 only change ( #76104 )
4 years ago
Martin Krizek
0f95371131
Start of moving away from six ( #75863 )
...
ci_complete
4 years ago
Martin Krizek
7621784b94
Require Jinja2 3.0.0 ( #75881 )
...
* Require Jinja2 3.0.0
ci_complete
* Fix sanity
* Remove Jinja min/max tests
* ansible-test changes
* ci_complete
* More cleanup
ci_complete
* Revert _count_newlines_from_end :( and other stuff
* Fix sanity
* It's using host_vars ...
* Unused import
* Remove overridden groupby filter
* environmentfilter -> pass_environment
* Explain preserve_trailing_newlines
* Add changelog
* ci_complete
* Deprecated ANSIBLE_JINJA2_NATIVE_WARNING
* native_helpers.py cleanup
* More cleanup in the find intgration test
4 years ago
Matt Martz
66a83314b9
Modernize install ( #76021 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <mrd@redhat.com>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
4 years ago
Sebastian Gumprich
6e6f846db1
Add space to error message output ( #76063 )
4 years ago
jbpratt
3add434269
add missing space to `--playbook-dir` help string ( #76062 )
4 years ago
jaydesl
4cf290918f
docs: clarify skip_broken option in dnf/yum ( #76038 )
4 years ago
Yedidyah Bar David
aff5e5dfc6
_run_loop: Add the task name to the warning ( #76012 )
...
Prepend the task name to the warning "The loop variable 'item' is
already in use", so that you can get some context even if stdout and
stderr go to separate places.
4 years ago
Martin Krizek
b1211429d5
Fix executing includes in the free strategy ( #75649 )
...
Fixes #75642
4 years ago
Víctor A. Rodríguez
e53982cd09
The apt module won't work with python-apt < 0.8.9 (such as on Ubuntu 10.04) ( #75993 )
...
* Check if deb file to deploy has architectures attribute, fixes ansible#47277
4 years ago
Vladimir Botka
8c3e576cd5
Fix docs get_url dest comment. Checksum does not prevent download if dest is dir. ( #73185 )
4 years ago
Matt Martz
8510db4935
Allow ca_path to point to a bundle ( #75894 )
...
* Allow ca_path to point to a bundle. Fixes #75015
4 years ago
Martin Krizek
23b9d197eb
ansible-doc: ignore plugin deprecation warnings ( #75674 )
...
Fixes #75671
4 years ago
Miroslav Brabenec
bc0caad2ad
Fix parsing of device serial number for RHEL8 ( #75876 )
...
* Fix parsing of device serial number for RHEL8
* Add tests and changelog
Co-authored-by: Miroslav Brabenec <miroslav.brabenec@memsource.com>
4 years ago
Matt Clay
1932f0008b
ansible-core - Remove support for Python 2.6. ( #75853 )
4 years ago
Jeremy Kimber
827981c7dd
Add support for distinct collection skeleton configuration ( #75845 )
...
Signed-off-by: Jeremy Kimber <jeremy.kimber@garmin.com>
Co-authored-by: Jeremy Kimber <jeremy.kimber@garmin.com>
4 years ago
Martin Krizek
f774292439
cli - remove deprecated setting verbosity before sub command ( #75840 )
...
* cli - remove deprecated setting verbosity before sub command
Fixes #75823
* Fix tests
4 years ago
Martin Krizek
239dbcb24f
copy: remove deprecated thirsty alias ( #75839 )
...
Fixes #75824
4 years ago
Martin Krizek
44095caca9
url_argument_spec: remove deprecated thirsty alias ( #75838 )
...
Fixes #75825
Fixes #75826
4 years ago
Martin Krizek
13e535c3bc
Remove deprecated Templar.set_available_variables() ( #75836 )
...
Fixes #75828
4 years ago
Daniel Ziegenberg
963a272b28
uri: add documentation for return value path ( #75795 )
4 years ago
Matt Davis
bb59d9afe9
bump devel to 2.13 ( #75833 )
4 years ago
Brian Coca
5d1abdbf6b
correct runas comment ( #75806 )
4 years ago
Matt Martz
79e9dae292
Don't show params when there is an issue with `set_option(s)` ( #75805 )
4 years ago
Brian Coca
872fda8815
attribs last PR for now ... i hope ( #75778 )
...
* attribs last PR for now ... i hope
* thatsallfolks!
* fixes
* Update lib/ansible/modules/template.py
Co-authored-by: Matt Martz <matt@sivel.net>
* Update lib/ansible/modules/validate_argument_spec.py
Co-authored-by: Matt Martz <matt@sivel.net>
* moar fixes
* asldf
* missing import
* iswearihadaddedthese
Co-authored-by: Matt Martz <matt@sivel.net>
4 years ago
Sloane Hertel
845935f74f
Revert "Compile role with parents in the task's dependency chain ( #75165 )" ( #75779 )
...
This reverts commit 440cf15aeb .
4 years ago
Rafael Minguillón Sánchez
e2ad9f1c85
Changed to file instead path for touch choice in state parameter docs ( #75282 )
4 years ago
Jordan Borean
a2d4a8a9f3
PowerShell - Support optional module util imports ( #75187 )
4 years ago
Brian Coca
c5d8dc0e11
Add attributes 2/x ( #75619 )
...
* Added attribute information to more modules
rearranged the shared data
platform revamped
use 'details' and avoid overriding description
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/fail.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/debug.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/assert.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_core.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/gather_facts.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/include_vars.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/meta.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/modules/meta.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update lib/ansible/plugins/doc_fragments/action_common_attributes.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
4 years ago
Sloane Hertel
440cf15aeb
Compile role with parents in the task's dependency chain ( #75165 )
...
* Use the task dependency chain to compile the role instead of the parent role's _parents list
* keep existing role inheritance, but limit it to roles in the current task dependency chain
* Test getting role parents recursively by using the current task dependency chain
* changelog
4 years ago
Matt Martz
96b221b344
Update vendored copy of distro to 1.6.0 ( #75732 )
...
* Update vendored copy of distro to 1.6.0
* copy pasta mistake
* ci_complete
4 years ago
Ross Bender
7a4b5d14fc
ansible-galaxy role install: download from API response location ( #73114 )
...
* download role from api response location
* include changelog fragment
* add unit test for role download url
Co-authored-by: Sam Doran <sdoran@redhat.com>
4 years ago