- 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 |
|---|---|---|
| .. | ||
| ec2_elb_instance_setup | Loading commit data... | |
| ec2_provision_instances | Loading commit data... | |
| prepare_rax_tests/defaults | Loading commit data... | |
| prepare_tests/tasks | Loading commit data... | |
| prepare_win_tests | Loading commit data... | |
| setup_ec2 | Loading commit data... | |
| setup_mysql_db | Loading commit data... | |
| setup_postgresql_db | Loading commit data... | |
| test_always_run | Loading commit data... | |
| test_apt | Loading commit data... | |
| test_apt_repository | Loading commit data... | |
| test_assemble | Loading commit data... | |
| test_async | Loading commit data... | |
| test_authorized_key | Loading commit data... | |
| test_azure | Loading commit data... | |
| test_bad_parsing | Loading commit data... | |
| test_become | Loading commit data... | |
| test_binary | Loading commit data... | |
| test_changed_when | Loading commit data... | |
| test_check_mode | Loading commit data... | |
| test_command_shell | Loading commit data... | |
| test_conditionals | Loading commit data... | |
| test_consul_acl/tasks | Loading commit data... | |
| test_consul_inventory/tasks | Loading commit data... | |
| test_consul_kv/tasks | Loading commit data... | |
| test_consul_service/tasks | Loading commit data... | |
| test_consul_session/tasks | Loading commit data... | |
| test_copy | Loading commit data... | |
| test_cs_account | Loading commit data... | |
| test_cs_affinitygroup | Loading commit data... | |
| test_cs_common/defaults | Loading commit data... | |
| test_cs_firewall | Loading commit data... | |
| test_cs_instance | Loading commit data... | |
| test_cs_instancegroup | Loading commit data... | |
| test_cs_portforward | Loading commit data... | |
| test_cs_securitygroup | Loading commit data... | |
| test_cs_securitygroup_rule | Loading commit data... | |
| test_cs_sshkeypair | Loading commit data... | |
| test_docker | Loading commit data... | |
| test_ec2 | Loading commit data... | |
| test_ec2_ami | Loading commit data... | |
| test_ec2_asg/tasks | Loading commit data... | |
| test_ec2_eip | Loading commit data... | |
| test_ec2_elb | Loading commit data... | |
| test_ec2_elb_lb | Loading commit data... | |
| test_ec2_facts | Loading commit data... | |
| test_ec2_group | Loading commit data... | |
| test_ec2_key | Loading commit data... | |
| test_ec2_tag | Loading commit data... | |
| test_ec2_vol | Loading commit data... | |
| test_ec2_vpc | Loading commit data... | |
| test_embedded_module | Loading commit data... | |
| test_facts_d | Loading commit data... | |
| test_failed_when/tasks | Loading commit data... | |
| test_fetch | Loading commit data... | |
| test_file | Loading commit data... | |
| test_filters | Loading commit data... | |
| test_force_handlers | Loading commit data... | |
| test_gce | Loading commit data... | |
| test_gce_pd | Loading commit data... | |
| test_gem | Loading commit data... | |
| test_get_url | Loading commit data... | |
| test_git | Loading commit data... | |
| test_good_parsing | Loading commit data... | |
| test_handlers | Loading commit data... | |
| test_handlers_meta | Loading commit data... | |
| test_hash_behavior | Loading commit data... | |
| test_hg | Loading commit data... | |
| test_ignore_errors | Loading commit data... | |
| test_includes | Loading commit data... | |
| test_iterators | Loading commit data... | |
| test_lineinfile | Loading commit data... | |
| test_lookups | Loading commit data... | |
| test_mysql_db | Loading commit data... | |
| test_mysql_user | Loading commit data... | |
| test_mysql_variables | Loading commit data... | |
| test_ping/tasks | Loading commit data... | |
| test_pip | Loading commit data... | |
| test_postgresql | Loading commit data... | |
| test_rax | Loading commit data... | |
| test_rax_cbs | Loading commit data... | |
| test_rax_cbs_attachments | Loading commit data... | |
| test_rax_cdb | Loading commit data... | |
| test_rax_cdb_database | Loading commit data... | |
| test_rax_clb | Loading commit data... | |
| test_rax_clb_nodes | Loading commit data... | |
| test_rax_facts | Loading commit data... | |
| test_rax_identity | Loading commit data... | |
| test_rax_keypair | Loading commit data... | |
| test_rax_meta | Loading commit data... | |
| test_rax_network | Loading commit data... | |
| test_rax_scaling_group | Loading commit data... | |
| test_script | Loading commit data... | |
| test_service | Loading commit data... | |
| test_special_vars | Loading commit data... | |
| test_stat | Loading commit data... | |
| test_su | Loading commit data... | |
| test_subversion | Loading commit data... | |
| test_sudo | Loading commit data... | |
| test_synchronize | Loading commit data... | |
| test_template | Loading commit data... | |
| test_unarchive | Loading commit data... | |
| test_uri | Loading commit data... | |
| test_var_blending | Loading commit data... | |
| test_var_precedence | Loading commit data... | |
| test_var_precedence_dep | Loading commit data... | |
| test_var_precedence_inven_override/tasks | Loading commit data... | |
| test_var_precedence_role1 | Loading commit data... | |
| test_var_precedence_role2 | Loading commit data... | |
| test_var_precedence_role3 | Loading commit data... | |
| test_win_copy | Loading commit data... | |
| test_win_feature | Loading commit data... | |
| test_win_fetch/tasks | Loading commit data... | |
| test_win_file | Loading commit data... | |
| test_win_get_url | Loading commit data... | |
| test_win_msi/tasks | Loading commit data... | |
| test_win_ping/tasks | Loading commit data... | |
| test_win_raw/tasks | Loading commit data... | |
| test_win_script | Loading commit data... | |
| test_win_service | Loading commit data... | |
| test_win_setup/tasks | Loading commit data... | |
| test_win_slurp/tasks | Loading commit data... | |
| test_win_stat/tasks | Loading commit data... | |
| test_win_template | Loading commit data... | |
| test_win_user | Loading commit data... | |
| test_yum | Loading commit data... |