1 I would store the script located below into a files folder then copy it to the target host using win_cooy. Then in a separate task invoke the script using win_shell module https://stackoverflow.com/questions/9368305/disable-ie-security-on-windows-server-via-powershell
2. To manage the user in a windows environment you can use either the win_users module or the win_domains_ users module The list of all windows modules is listed in the link below https://docs.ansible.com/ansible/latest/modules/list_of_windows_modules.html -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.