This indicates you are running the playbook with become, or the inventory
specifies the hosts use become.  However, you have not configured the
become_method for those Windows hosts to use `runas` instead of the default
`sudo`.

On Tue, Aug 4, 2020 at 2:57 PM Wafi sh <[email protected]> wrote:

> Using AWX 13.0.0 (Ansible 2.9.10)
>
> The playbook:
>
> -------------------------------------
> - hosts: all
>   name: DNS Fix Windows
>   gather_facts: no
>
>   tasks:
>     - name: Check datacenter
>       win_shell: |
>           CODE-BLOCK
>       register: datacenter
>
> -----------------------------------
>
> AWX error:
>
> {
>     "msg": "The powershell shell family is incompatible with the sudo
> become plugin",
>     "_ansible_no_log": false
> }
>
>
>
> This is working on Ansible 2.9.0 without AWX.
>
> --
> 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/f7ec15e4-7785-456e-bebe-fa4b3e0388a9o%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f7ec15e4-7785-456e-bebe-fa4b3e0388a9o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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/CAD8N0v98X_ozrqGX1yvVdLh4L25EbKAiuXktYvGrg7f%3Dr88V%2BQ%40mail.gmail.com.

Reply via email to