| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
* Major slow down due to using the wrong loader for plugin_types
* traceback due to adding httpapi and cliconf plugins to the plugins we
allow ansible-doc to process
(cherry picked from commit e5a245d)
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 10e129e)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
| |
The mysql-server package on Ubuntu16.04 was recently updated to disallow
unauthenticated root user login over tcp/ip. This, coupled with pymysql
using tcp/ip whenever host and port is specified causes us to fail to
connect to the database when testing Python3 on Ubuntu16.04.
The fix is to use the unix socket instead.
(cherry picked from commit 748ea39ecd99bcb476dc460bfdd054567ef2bfc6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use kubeconfig if either context or kubeconfig is set (#47373)
kubeconfig should be loaded if *either* or both of context
or kubeconfig is set (this allows picking a context and default
kubeconfig or picking a kubeconfig with default context)
Fixes #47149
(cherry picked from commit 00ccad97642dd125c196e0336c79bac0a5250316)
* Add changelog for k8s auth config fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WinRM/PSRP: Ensure shell returns UTF-8 output
This PR makes UTF-8 output work in PSRP shells.
* Add win_command and win_shell integration tests
* Fix tests
* more test fixes
(cherry picked from commit 691ff4b9e61a019633e6da139539d4464b5557e5)
|
|
|
|
|
|
|
|
| |
* psrp - fix unicode handling in Python 2
* skip psrp become test when on Server 2008
(cherry picked from commit f28b7c7ab1b58201977ee73644f113c1a32cba1b)
|
|
|
|
|
|
|
|
|
| |
* dnf properly gpg check local packages based on param
Fixes #43624
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 079705f8daa9fff4df76d9f5a52cb761541f72e6)
|
|
|
|
|
|
|
|
|
| |
* don't restrict disable_excludes choices incorrectly
Fixes #47085
(cherry picked from commit 0e3e646189552950a9ae2e681a21554b2003d910)
Signed-off-by: Adam Miller <admiller@redhat.com>
|
|
|
|
|
|
|
|
| |
(#47510).
(cherry picked from commit f6ecdf0b871e413df416437be5bd226b445f676e)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
| |
loading the play (#47512)
* Ensure we don't overwrite roles from include/import_role when loading the play. Fixes #47454
* Add changelog fragment
(cherry picked from commit d5e4f37)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [2.7] escape default prompt detection in telnet action plugin (#46573)
This change fixes an issue with the default prompt handling. The value
needs to be escaped otherwise it does not work when converted to bytes.
(cherry picked from commit 9180d2c)
Co-authored-by: Peter Sprygada <privateip@users.noreply.github.com>
* Add changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR fixes the update check method so it now check also the next_run
configuration of the virtual machine if it exists.
So if previously the VM was updated with new parameters, and then reset
back, the module didn't set the parameters to be set back in next_run.
This PR fixes it so the next run configuration is set back with proper
parameters.
Signed-off-by: Ondra Machacek <omachace@redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1639894
Signed-off-by: Ondra Machacek <omachace@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.7] Fix problem where pip module cannot accept multiple extras
PR #46937
Fixes #46519
(cherry picked from commit b697da3)
Co-authored-by: Zhikang Zhang <zzhang63@ncsu.edu>
* Add changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [2.7] fix error checking if netns exists (#47397)
This patch fixes an error that occurs when attempting to see if the
netns already exists on the remote device. This change will now execute
`ip netns list` and check if the desired namespace is in the output.
Signed-off-by: Peter Sprygada <psprygada@ansible.com>
(cherry picked from commit 299a5e4)
Co-authored-by: Peter Sprygada <privateip@users.noreply.github.com>
* Add changelog entry
|
|
|
|
|
|
|
|
| |
* fixing idempotency and check mode
* modified to avoid repetitive code
(cherry picked from commit dcb35c427092b3bc2ef8f9b9e1132a3184b9e20b)
|
|
|
|
| |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 9c81634c771c59292356dc0171e4383e7c382e77)
|
|
|
|
|
|
|
|
|
|
| |
* Behave better if auto_remove and output_logs are combined. Warn if output cannot be retrieved because of auto_remove.
* Add tests.
* Added changelog.
(cherry picked from commit 3afdb28209853364f61447ace191f648622bab24)
|
|
|
|
|
|
|
|
|
|
|
| |
(Rebased #33048) (#47472)
* Fix #33045: get existing network via inspect_network (Rebased #33048) (#43997)
(cherry picked from commit 2939f68897ed85b530249e9918eb0a6a9ef35ad4)
* Add changelog.
|
|
|
|
|
|
|
|
|
|
|
|
| |
supported by docker-py (#47395)
* Only add parameters which are actually used.
* Fail if ipvX_address is used when not supported.
* Added changelog.
(cherry picked from commit 4ffe3b14d4e90ee0daec7826db8361b4c71b1296)
|
|
|
|
| |
Signed-off-by: Ondra Machacek <omachace@redhat.com>
|
|
|
|
|
|
|
| |
Currently the module will disable the SSO if we didn't pass any
value for SSO option. The PR fixes the same.
Signed-off-by: Ondra Machacek <omachace@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* zabbix_host: fix link template error (#46521)
* add host interface before link template
(cherry picked from commit 5a35907b714b2b597a3ad121a763933025a0ed29)
* added changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix prompt mismatch issue for ios
Fixes #40884 #44463 #46082
* If the command prompt is matched check if data is
still pending to be read from buffer.
* This fix adds a new timer `buffer_read_timeout`
which will be trigerred after command prompt
is matched and data is attempted to be read from channel.
If not data is present of channel the timer will expire
and response we be returned to calling function.
* Update doc
* Fix review comments
* Update changelog
* Fix unit test CI failure
(cherry picked from commit 335a979f1d30d065504bf9222460f35356a2e0b6)
|
|
|
|
|
|
|
|
|
|
| |
* fix yum proxy username/password handling
Fixes #46249
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit e4a435732222999a27bc2d6e083402e09eed21e8)
* add backport changelog
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes: https://github.com/ansible/ansible/issues/45900
This PR fixes the case when the cloud_init_persist was used, but we
still sent use_cloud_init=False, which is in oVirt API evaluated as not
to use cloud_init in first VM execution. This patch is changing it to
send just None, instead of False.
Signed-off-by: Ondra Machacek <omachace@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently there is no way to reset the custom_compatibility_version to
NULL. If we provide a empty string('') to custom_compatibility_version,
it will fail with error "IndexError: list index out of range" at _get_minor
function.
To reset the custom_compatibility_version, we have to pass None value to
types.Version. The PR fixes the same.
Signed-off-by: Ondra Machacek <omachace@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
wrap_var. Fixes #47372."
This reverts commit 0e933f76ba4edb0e06f0779f5fb4b0ea85191e8b.
The tests for this were broken on centos6 because jinja2 does not have
a map filter on that platform. Tests need to be rewritten.
(cherry picked from commit ccabc2bff57992772cb91ae46bce405580a22c8a)
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix auto scale create with fix date without recurrence (#47186)
* Fix auto scale create with fix date without recurrence
* fix indent
(cherry picked from commit 9258ffa478ecf528a50d416004bd64f7407f6dfc)
* Create azure_rm_autoscale-fixed_date.yml changelog
|
|
|
|
|
|
|
|
|
|
| |
* Ensure that k8s_facts always returns resources key (#46733)
Fix bug returning `items` key if NotFound exception is hit
(cherry picked from commit b772485d97168722c241aca13906ab016b332cdd)
* Add changelog for k8s_facts fix
|
|
|
|
|
|
|
|
|
|
| |
* add delete=False to NamedTemporaryFile and remove print statement from module
* add changelog fragment
* use module.tmpdir from (#47133) and add changelog fragment for it as well
(cherry picked from commit c67ab296bbbb90e7f701413fa793fc0cdbc4818a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* user: do not pass ssh_key_passphrase on cmdline
CVE-2018-16837
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
(cherry picked from commit a0aa53d1a1d6075a7ae98ace138712ee6cb45ae4)
* Ignore user module use of subprocess.
(cherry picked from commit 8d00afc0133fb5b2a33e4a528b0b6d05c7973b45)
* Fix python3 problem in user module cve fix
(cherry picked from commit 9088671c4ebe99e3b53cb270c3731ae9a8967a03)
* Fix changelog entry for user module CVE fix
(cherry picked from commit 210a43ebebceb2edd042d2fa4d5836f7baf2a0bf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Handle dnf immutable mutable datatypes
In DNF < 3.0 are lists, and modifying them works
In DNF >= 3.0 < 3.6 are lists, but modifying them doesn't work
In DNF >= 3.6 have been turned into tuples, to communicate that
modifying them doesn't work
Further explanation of this is available via Adam Williamson from
the Fedora QA Team.
https://www.happyassassin.net/2018/06/27/adams-debugging-adventures-the-immutable-mutable-object/
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 70025e7b5632b872d03dca22318b30b79444f3f5)
* add backport changelog
Signed-off-by: Adam Miller <admiller@redhat.com>
|
|
|
|
|
|
| |
This reverts commit 17cd01589a20567062e7cee6b8ba602100053cfd.
This commit was not passing CI. Reverting
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail: Fix regression when sending mail without SSL (v2.7)
When this module was refactored in #37098 the non-SSL use-case was broken.
The main cause is that we have no way to do integration tests for testing SMTP.
This is a back-port to v2.7 of #46403
* Add changelog fragment
|
|
|
|
|
|
| |
(cherry picked from commit c58de75f385dcfcef0531fc7c0cbb13bfdef0e83)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
| |
Set _notified_handlers for the task's _uuid that is run as a handler
Fix #47287
(cherry picked from commit 6497049)
Co-authored-by: Pablo <pablorf.dev@outlook.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix prompt mismatch issue for ios
Fixes #40884 #44463
* If the command prompt is matched check if data is
still pending to be read from buffer.
* This fix adds a new timer `buffer_read_timeout`
which will be trigerred after command prompt
is matched and data is attempted to be read from channel.
If not data is present of channel the timer will expire
and response we be returned to calling function.
* Fix unit test failure
* Update to make buffer timeout float
* Update doc and fix review comment
* Fix CI issues
* Update doc
* Fix review comments
* Update changelog
(cherry picked from commit 335a979f1d30d065504bf9222460f35356a2e0b6)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* yum/dnf: fail when space separated string of names (#47109)
* yum/dnf: fail when space separated string of names
* Groups allow spaces in names
(cherry picked from commit e8b6864e21b52c6f9684c935d7363583d8e2598a)
* Add changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix AWS EC2 inventory plugin caching of groups
* Added changelog fragment for aws_ec2 caching fix
* Store the AWS query results
The underlying inventory object contains inventory from other sources,
so caching it as ours would be wrong.
It seems easiest and safest to just cache the boto query results
instead.
* Remove unused functions
(cherry picked from commit 7ba09adee1d0ec37524359249af6440ae4a3fe82)
|
|
|
|
|
|
|
|
| |
* psexec: Handle socket errors (Connection timeout)
This ensures we get a nicer error message from psexec.
* Add changelog fragment
|
|
|
|
| |
(cherry picked from commit 013c44484ac662fa1ab5a6f5e61630246ecb6118)
|
|
|
|
|
|
|
|
|
| |
* Documentation for docker_container: fix documentation for memory_swappiness. Default value will not equal 0, it will be inherited from the host machine (#47296)
(cherry picked from commit 4c2efa4b67b9c97df79ed9dd56470abfc8255114)
* Add changelog.
|
|
|
|
|
|
|
|
| |
* Adding very basic integration tests for docker_network.
* Fixing some details (review comments).
(cherry picked from commit 131efcff9d42eba027aaa34168fcee4045a72ffd)
|
|
|
|
|
|
|
|
|
|
|
| |
* [2.7] Update some cliconf plugins (#47141)
* Add `check_all` to many community cliconf plugins
(cherry picked from commit 7844a40)
Co-authored-by: Nathaniel Case <this.is@nathanielca.se>
* Add changelog entry
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't use task to cache loop results, use hostvars. Fixes #47207
* Avoid a race condition, supply _ansible_loop_cache through get_vars directly
* Add tests
* Add changelog fragment
* Remove unnecessary copy
* Remove unnecessary host from _get_delegated_vars signature.
(cherry picked from commit 77d32b8f5799b8a32f464a22e25b38e5ea4b260c)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
| |
* Do not strip new lines in native jinja
* Add changelog/fragment
(cherry picked from commit 541255a2d8795c45dd3a07993509ebbca6d46537)
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixes the example for headers in documentation
* remove whitespace
* missed a whitespace
(cherry picked from commit 3b5471a)
Co-authored-by: Nate Borener <33846287+borener@users.noreply.github.com>
|