Skip to content
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

Fix up the redirection of the win setup module #70158

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

jborean93
Copy link
Contributor

SUMMARY

The setup module for Windows has the extension in the redirected module path which caused the failure

2019 | FAILED! => {
    "msg": "The module setup was redirected to ansible.windows.setup.ps1, which could not be loaded."
}

By removing the extension it is properly redirected to the ansible.windows collection. This also adds the .ps1 extensions to the windows slurp and async_status redirection entries (not the target) to ensure they are only chosen over the Python async_status/slrup module if the user targets a Windows host.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

setup

@ansibot ansibot added affects_2.11 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Jun 19, 2020
@nitzmahone
Copy link
Member

nitzmahone commented Jun 19, 2020

Yep, that's the right thing to do. I noticed the issue awhile back and mistakenly suffixed source and target instead of prefacing all the sources, then it just got lost in the shuffle with the other masses of changes. Thanks for the fix.

@nitzmahone nitzmahone merged commit 598c40b into ansible:devel Jun 19, 2020
@jborean93 jborean93 deleted the win-setup-redir branch June 19, 2020 18:37
jborean93 added a commit to jborean93/ansible that referenced this pull request Jun 19, 2020
@jborean93
Copy link
Contributor Author

Thanks for confirming/merging @nitzmahone

Backport PR to stable-2.10 #70181

nitzmahone pushed a commit that referenced this pull request Jun 20, 2020
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label Jun 22, 2020
@ansible ansible locked and limited conversation to collaborators Jul 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.11 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants