- Add support for inserting module args into PowerShell modules. Fixes #11661. - Support Windows paths containing spaces. Applies changes from #10727 to v2. Fixes #9999. Should also fix ansible/ansible-modules-core#944 and ansible/ansible-modules-core#1007. - Change how execution policy is set for running remote scripts. Applies changes from #11092 to v2. Also fixes ansible/ansible-modules-core#1776. - Use codepage 65001 (UTF-8) for WinRM connection instead of default (CP437), convert command to UTF-8 and results from UTF-8. Replaces changes from #10024. Fixes #11198. - Close WinRM connection when task completes. - Use win_stat, win_file and win_copy modules instead of stat, file and copy when called from within other action plugins (only when using WinRM+PowerShell). - Unquote Windows path arguments before passing to win_stat, win_file, win_copy and slurp modules (only when using WinRM/PowerShell). - Check for win_ping module to determine if core modules are missing (only when using WinRM/PowerShell). - Add stdout_lines to result from running low level commands (so stdout_lines is available when using raw/script). - Update copy action plugin to use shell functions for joining paths and checking for trailing slash. - Update fetch action plugin to unquote source path when using Windows paths. - Add win_copy and win_template action plugins that inherit from copy and template. - Support running .bat and .cmd scripts using default system encoding instead of UTF-8. - Always send PowerShell commands as base64-encoded blobs to allow for running simple PowerShell commands via raw. - Support running modules on Windows with interpreters other than PowerShell. - Update integration tests to support above changes and test unicode fixes. - Add test for win_user error from ansible/ansible-modules-core#1241 (fixed by ansible/ansible-modules-core#1774). - Add test for additional win_stat output values (implemented by ansible/ansible-modules-core#1473). - Add test for OS architecture and name from setup.ps1 (implemented by ansible/ansible-modules-core#1100). All WinRM integration tests pass for me with these changes.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
group_vars | Loading commit data... | |
host_vars | Loading commit data... | |
roles | Loading commit data... | |
vars | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
all.yml | Loading commit data... | |
amazon.yml | Loading commit data... | |
azure.yml | Loading commit data... | |
bad_parsing.yml | Loading commit data... | |
check_mode.yml | Loading commit data... | |
cleanup_azure.py | Loading commit data... | |
cleanup_ec2.py | Loading commit data... | |
cleanup_gce.py | Loading commit data... | |
cleanup_rax.py | Loading commit data... | |
cloudstack.yml | Loading commit data... | |
consul.yml | Loading commit data... | |
consul_inventory.yml | Loading commit data... | |
consul_running.py | Loading commit data... | |
credentials.template | Loading commit data... | |
destructive.yml | Loading commit data... | |
galaxy_playbook.yml | Loading commit data... | |
galaxy_roles.yml | Loading commit data... | |
galaxy_rolesfile | Loading commit data... | |
gce.yml | Loading commit data... | |
gce_credentials.py | Loading commit data... | |
good_parsing.yml | Loading commit data... | |
integration_config.yml | Loading commit data... | |
inventory | Loading commit data... | |
inventory.group_by | Loading commit data... | |
inventory.handlers | Loading commit data... | |
inventory.winrm.template | Loading commit data... | |
non_destructive.yml | Loading commit data... | |
rackspace.yml | Loading commit data... | |
setup_gce.py | Loading commit data... | |
test_delegate_to.yml | Loading commit data... | |
test_filters.yml | Loading commit data... | |
test_force_handlers.yml | Loading commit data... | |
test_group_by.yml | Loading commit data... | |
test_handlers.yml | Loading commit data... | |
test_hash.yml | Loading commit data... | |
test_includes.yml | Loading commit data... | |
test_includes2.yml | Loading commit data... | |
test_setup.yml | Loading commit data... | |
test_tags.yml | Loading commit data... | |
test_templating_settings.yml | Loading commit data... | |
test_var_precedence.yml | Loading commit data... | |
test_vault.yml | Loading commit data... | |
test_winrm.yml | Loading commit data... | |
unicode.yml | Loading commit data... | |
vars_file.yml | Loading commit data... | |
vault-password | Loading commit data... |