You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at <ScriptBlock>, <No file>: line 733
fatal: [myhost]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: The term 'Repair-AuthorizedKeyPermission' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."}
To Reproduce
Steps to reproduce the behavior:
roles:
- informatiquecdc.win_authorized_key
vars:
pub_file_for_ssh: ~/.ssh/id_ed25519.pub
tasks:
- name: Add to authorized_keys the content of {{ pub_file_for_ssh }}
win_authorized_key:
user: "{{ ansible_user }}"
key: "{{ lookup('file', pub_file_for_ssh) }}"
Describe the bug
Trying to run it, I get:
To Reproduce
Steps to reproduce the behavior:
Additional context
I believe this may be due to OpenSSHUtils being deprecated; see MicrosoftDocs/windowsserverdocs#4788 (comment)
The text was updated successfully, but these errors were encountered: