OneIdentity / ansible-authentication-services

Ansible automation for Authentication Services
Apache License 2.0
10 stars 7 forks source link

Join into a specific domain organizational unit #5

Closed resnicke closed 2 years ago

resnicke commented 3 years ago

Is there a parameter that can be set in the Ansible script that will force the Linux client to join a specified organizational unit in the Domain?

llnagy76 commented 3 years ago

Yes.

There is a variable you can use in your ansible script: client_join_extra_args variable allows passing additional arguments to the vastool binary.

And there is an option you can use with the vastool join command: The -c option will allow you to specify a container where your new computer object will be created. If that is not specified, then the computer object will be created in the default computers container.

Example: client_join_extra_args: -c "OU=Testlab,DC=example,DC=com"