- 24 Jul, 2015 7 commits
-
-
- 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.
Chris Church committed -
Fixes #11714
James Cammarata committed -
Brian Coca committed
-
James Cammarata committed
-
This is unsafe and we debated re-adding it to the v2/2.0 codebase, however it is a common-enough feature that we will simply mark it as deprecated for now and remove it at some point in the future. Fixes #11718
James Cammarata committed -
Brian Coca committed
-
Brian Coca committed
-
- 23 Jul, 2015 22 commits
-
-
Fixes #10164
James Cammarata committed -
Connection function for boto3
Brian Coca committed -
Also fixes in the correct way the bug in which the role name was incorrectly showing up twice in the task name. Fixes #10347
James Cammarata committed -
Fixes #10348
James Cammarata committed -
Fixes #10497
James Cammarata committed -
James Cammarata committed
-
* Don't reference __class__ when we can use the instance itself * use isdisjoint() as it can stop once a match is found * Remove a condtional that was taken care of in the conditonal just above
Toshio Kuratomi committed -
adding display to plugins and start moving debug to display
Brian Coca committed -
Brian Coca committed
-
Brian Coca committed
-
Avoid too broad except in Inventory
James Cammarata committed -
Update man1
Brian Coca committed -
Toshio Kuratomi committed
-
Brian Coca committed
-
Preserve OLDPWD in hacking/env-setup
Brian Coca committed -
Sheldon Hearn committed
-
snetting committed
-
Brian Coca committed
-
v2: Fixing delegate_to when using a variable
James Cammarata committed -
fixed file lookup pathing in dwim functinos, now does specific paths and priorities and is commented fixes #11672 as cwd is now not part of thos paths: if full path is supplied, used that
Brian Coca committed -
Andrew Hamilton committed
-
- 22 Jul, 2015 11 commits
-
-
Fixes #11695
James Cammarata committed -
Fixes #11693
James Cammarata committed -
Fixes #11641
James Cammarata committed -
* enable batch mode (configurable with a config option, on by default) for sftp transfers, so we can catch errors more easily * general cleanup in the local connection plugin and fetch action plugin Fixes #11612
James Cammarata committed -
James Cammarata committed
-
Also adds meta tasks to the list of tasks excluded from tag filtering Fixes #11574
James Cammarata committed -
Toshio Kuratomi committed
-
* added pattern matching to match v1 functionality * check the task name, not the task+role name for matches * make sure the input is unicode Fixes #11692
James Cammarata committed -
Fixes #11691
James Cammarata committed -
snetting committed
-
Fixes #11530
James Cammarata committed
-