I needed to domain join Linux servers, so I wrote up this Ansible script. Should work with Cent/RHEL/Ubuntu.
How to Configure in Morpheus
- Add Ansible Integration
- Create Join Domain Task
- Create Linux Domain Workflow
- Associate Linux Domain Workflow to Domain
- Prosper!
Requirements
- Cypher Configuration
a. Name of the cypher object is matches the domain name.
Example: “secret/mydomain.com”
b. The contents of the cypher are as follows (Admin group is optional){ "username":"userSAMAccount", "password":"MyPassword", "admin":"ADGroup@mydomain.com" }