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: [email protected] <[email protected]> on behalf of Gabriel Viegas <[email protected]> Sent: Wednesday, June 16, 2021 9:17:00 AM To: Ansible Project <[email protected]> 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, [email protected] escreveu: You can use become:yes in your play. Iirc Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: [email protected] <[email protected]> on behalf of Gabriel Viegas <[email protected]> Sent: Wednesday, June 16, 2021 9:10:38 AM To: Ansible Project <[email protected]> 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 [email protected]. 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 [email protected]<mailto:[email protected]>. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/SYBPR01MB5616055D9B509FA5C4928E78AD309%40SYBPR01MB5616.ausprd01.prod.outlook.com.
