https://docs.ansible.com/ansible/latest/user_guide/become.html


You can have it at the top of your play too

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: ansible-project@googlegroups.com <ansible-project@googlegroups.com> on 
behalf of Gabriel Viegas <gabriel.vie...@icaro.com.br>
Sent: Wednesday, June 16, 2021 9:17:00 AM
To: Ansible Project <ansible-project@googlegroups.com>
Subject: Re: [ansible-project] Ansible for Windows

Do you have any example module or playbook?

Em terça-feira, 15 de junho de 2021 às 18:12:34 UTC-3, weiye...@gmail.com 
escreveu:
You can use become:yes in your play. Iirc

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
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<https://groups.google.com/d/msgid/ansible-project/c438dd7e-ec7f-4840-8081-10350fcbcfcdn%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 
ansible-project+unsubscr...@googlegroups.com<mailto:ansible-project+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/773eba2b-b07e-45c9-9665-fbd584c31ff9n%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/773eba2b-b07e-45c9-9665-fbd584c31ff9n%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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616055D9B509FA5C4928E78AD309%40SYBPR01MB5616.ausprd01.prod.outlook.com.

Reply via email to