You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies the Active Directory Domain Services instance to connect to.
Can be in the form of an FQDN or NetBIOS name.
If not specified then the value is based on the domain of the computer running PowerShell.
domain_username
string
The username to use when interacting with AD.
If this is not set then the user Ansible used to log in with will be used instead when using CredSSP or Kerberos with credential delegation.
filter
string
Default:
"*"
filter for lookup of ou.
name
string
/ required
The name of the Organizational Unit
path
string
Specifies the X.500 path of the OU or container where the new object is created.
defaults to adding ou at base of domain connected to.
properties
dictionary
Free form dict of properties for the organizational unit. Follows LDAP property names, like StreetAddress or PostalCode.
protected
boolean
Choices:
no ←
yes
Indicates whether to prevent the object from being deleted. When this protected=true, you cannot delete the corresponding object without changing the value of the property.
recursive
boolean
Choices:
no ←
yes
Removes the OU and any child items it contains.
You must specify this parameter to remove an OU that is not empty.
state
string
Choices:
present ←
absent
Specifies the desired state of the OU.
When state=present the module will attempt to create the specified OU if it does not already exist.
When state=absent, the module will remove the specified OU.
When state=absent and recursive=true, the module will remove all the OU and all child OU's.