you can exec the script *ConfigureRemotingForAnsible.ps1 *to make sure that 
remote options are enabled in windows.
https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1

NOTE: sorry my english!!
El martes, 23 de agosto de 2022 a las 5:43:49 UTC-4, [email protected] 
escribió:

> I am still holding my Ansible Newbie Keys Tight !  
>
> Not getting very far with Ansible Tower and Windows. Struggling to even 
> Ping a Windows Server. I've configured WinRM service settings, Opened 
> Firewall Port, etc. 
>
> FAILED! msg No setting was provided for required configuration plugin type 
> become plugin: runas setting: become_user
>
> win_ping.yml file
> ---
>   - name: win_ping module
>     hosts: windows
>     become: true
>     gather_facts: false
>     tasks:
>       - name: test connection
>         ansible.windows.win_ping:
>
> vars file
> ---
> ansible_shell_type: powershell
> ansible_user: Iwantmymummy
> ansible_password: secret not telling you lot !
> ansible_connection: winrm
> ansible_port: 5986
> ansible_winrm_server_cert_validation: ignore
> ansible_winrm_transport: credssp
> ansible_become_method: runas
>
> Does anyone know what is wrong and how I can move forward ?
>
> Many Thanks,
> Nick
>
>
>

-- 
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/c55358a1-3a03-4f0e-a48b-1ac5d94b0158n%40googlegroups.com.

Reply via email to