-
Notifications
You must be signed in to change notification settings - Fork 757
Added 2.18 porting guide #2076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Added 2.18 porting guide #2076
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
docs/docsite/rst/porting_guides/porting_guide_core_2.18.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
|
|
||
| .. _porting_2.18_guide_core: | ||
|
|
||
| ******************************* | ||
| Ansible-core 2.18 Porting Guide | ||
| ******************************* | ||
|
|
||
| This section discusses the behavioral changes between ``ansible-core`` 2.17 and ``ansible-core`` 2.18. | ||
|
|
||
| It is intended to assist in updating your playbooks, plugins and other parts of your Ansible infrastructure so they will work with this version of Ansible. | ||
|
|
||
| We suggest you read this page along with `ansible-core Changelog for 2.18 <https://github.com/ansible/ansible/blob/stable-2.18/changelogs/CHANGELOG-v2.18.rst>`_ to understand what updates you may need to make. | ||
|
|
||
| This document is part of a collection on porting. The complete list of porting guides can be found at :ref:`porting guides <porting_guides>`. | ||
|
|
||
| .. contents:: Topics | ||
|
|
||
|
|
||
| Playbook | ||
| ======== | ||
|
|
||
| No notable changed | ||
|
|
||
|
|
||
| Command Line | ||
| ============ | ||
|
|
||
| * Python 3.10 is a no longer supported control node version. Python 3.11+ is now required for running Ansible. | ||
| * Python 3.7 is a no longer supported remote version. Python 3.8+ is now required for target execution. | ||
|
|
||
|
|
||
| Deprecated | ||
| ========== | ||
|
|
||
| No notable changes | ||
|
|
||
|
|
||
| Modules | ||
| ======= | ||
|
|
||
| No notable changes | ||
|
|
||
|
|
||
| Modules removed | ||
| --------------- | ||
|
|
||
| The following modules no longer exist: | ||
|
|
||
| * No notable changes | ||
|
|
||
|
|
||
| Deprecation notices | ||
| ------------------- | ||
|
|
||
| No notable changes | ||
|
|
||
|
|
||
| Noteworthy module changes | ||
| ------------------------- | ||
|
|
||
| No notable changes | ||
|
|
||
|
|
||
| Plugins | ||
| ======= | ||
|
|
||
| * The ``ssh`` connection plugin now officially supports targeting Windows hosts. A | ||
| breaking change has been made as part of this official support is the low level command | ||
| execution done by plugins like ``ansible.builtin.raw`` and action plugins calling | ||
| ``_low_level_execute_command`` is no longer wrapped with a ``powershell.exe`` wrapped | ||
| invocation. These commands will now be executed directly on the target host using | ||
| the default shell configuration set on the Windows host. This change is done to | ||
| simplify the configuration required on the Ansible side, make module execution more | ||
| efficient, and to remove the need to decode stderr CLIXML output. A consequence of this | ||
| change is that ``ansible.builtin.raw`` commands are no longer be guaranteed to be | ||
jborean93 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| run through a PowerShell shell and with the output encoding of UTF-8. To run a command | ||
| through PowerShell and with UTF-8 output support, use the ``ansible.windows.win_shell`` | ||
| or ``ansible.windows.win_powershell`` module instead. | ||
|
|
||
| .. code-block:: yaml | ||
|
|
||
| - name: Run with win_shell | ||
| ansible.windows.win_shell: Write-Host "Hello, Café" | ||
|
|
||
| - name: Run with win_powershell | ||
| ansible.windows.win_powershell: | ||
| script: Write-Host "Hello, Café" | ||
|
|
||
|
|
||
| Porting custom scripts | ||
| ====================== | ||
|
|
||
| No notable changes | ||
|
|
||
|
|
||
| Networking | ||
| ========== | ||
|
|
||
| No notable changes | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.