Member-only story
PowerShell incompatible with the sudo become plugin — Ansible troubleshooting
How to reproduce, troubleshoot, and fix the “The PowerShell shell family is incompatible with the sudo become plugin” Ansible runtime error.
3 min readSep 28, 2021
Today we’re going to talk about Ansible troubleshooting and specifically about “the PowerShell shell family is incompatible with the sudo become plugin” error.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot
demo
The best way of talking about Ansible troubleshooting is to jump in a live demo to show you practically “the PowerShell shell family is incompatible with the sudo become plugin” error and how to solve it!
- incompatiblesudo_error.yml
---
- name: win_reboot module demo
hosts: all
become: true
tasks:
- name: reboot host(s)
ansible.windows.win_reboot:
output
$ ansible-playbook -i win/inventory troubleshooting/incompatiblesudo_error.ymlPLAY [win_reboot module demo] *********************************************************************