Ansible for Windows

33 views
Skip to first unread message

Gabriel Viegas

unread,
Jun 15, 2021, 5:10:38 PM6/15/21
to Ansible Project

I have one question about using Ansible with Windows

  1. How to enable Administrator user with Ansible for Windows?

Wei-Yen Tan

unread,
Jun 15, 2021, 5:12:34 PM6/15/21
to ansible...@googlegroups.com
You can use become:yes in your play. Iirc 


From: ansible...@googlegroups.com <ansible...@googlegroups.com> on behalf of Gabriel Viegas <gabriel...@icaro.com.br>
Sent: Wednesday, June 16, 2021 9:10:38 AM
To: Ansible Project <ansible...@googlegroups.com>
Subject: [ansible-project] Ansible for Windows
 

I have one question about using Ansible with Windows

  1. How to enable Administrator user with Ansible for Windows?

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c438dd7e-ec7f-4840-8081-10350fcbcfcdn%40googlegroups.com.

Gabriel Viegas

unread,
Jun 15, 2021, 5:17:00 PM6/15/21
to Ansible Project
Do you have any example module or playbook?

Wei-Yen Tan

unread,
Jun 15, 2021, 5:21:17 PM6/15/21
to ansible...@googlegroups.com


You can have it at the top of your play too 


Sent: Wednesday, June 16, 2021 9:17:00 AM
To: Ansible Project <ansible...@googlegroups.com>
Subject: Re: [ansible-project] Ansible for Windows
 
Reply all
Reply to author
Forward
0 new messages