The powershell shell family is incompatible with the sudo become plugin スポンサーリンク 未分類 2021.05.212020.02.19 ansible でWindows ユーザーを切り替えて実行しようとした歳に以下のエラーがでることがあります。おそらく、varsの指定(ansible_become_method: runas)が漏れているのが原因です。 The powershell shell family is incompatible with the sudo become plugin 詳細は以下の記事を御覧ください。 Ansibleで特定のタスクをWindowsの別ユーザーで実行するAnsibleでWindowsの設定をする場合、ある特定のタスクだけを別のWindowsユーザーで実行したい場合があります。その場合becomeを利用することで実現できます。なお、ansibleの変数の記述の仕方により以下の2パターンの動作...
コメント