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.

Luca Berton
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] *********************************************************************

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet