Hi,
I would to ask how to move computer within OU in Active Directory .
Im thinking to use the module
win_domain_computer
like this :
---
- name: Moving AD Computer into OU Testing ....
hosts: all
gather_facts: no
tasks:
- win_domain_computer:
name: "{{ inventory_hostname }}"
ou: "OU=Infrastructure,OU=Testing,DC=my,DC=domain"
dns_hostname: "{{ inventory_hostname }}".my.domain
state: present
delegate_to: winsrv01
Someone could suggest me something ?
Thank you
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/09518431-9b19-4c06-9387-1f0d7418246c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.