https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#become-and-windows
On Mon, 28 Nov 2022 at 10:22, Operation Consultant < [email protected]> wrote: > Getting - "The powershell shell family is incompatible with the sudo > become plugin" Error message. > > [ops@test02 ~]$ ansible --version > ansible 2.9.27 > #$$$ > > I'm using adhoc command > ansible -i /home/aiops/ansible_dir/windows_d/w_hosts.ini win -m win_ping > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/c433c6fc-2d94-44ff-b5c8-4fd255cf830cn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/c433c6fc-2d94-44ff-b5c8-4fd255cf830cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLZO7agcRY3UzOoAZcffRnr1oTW4%2B1YVZzSBDiMpdOLwkg%40mail.gmail.com.
