Vinod_P
(Vinod P)
1
Friends,
Trying to add a RHEL7 host to Windows AD using Ansible-AWX.
Did any body tried this before please share some details.
Please note, I followed the below link and was able to add to AD with a password prompt.
https://yallalabs.com/linux/how-to-join-centos-7-rhel-7-servers-to-active-directory-domain-using-ansible/
Wandering how to fetch the credentials from AWX and add to domain.
regards
Vinod
I created a customer credential for joining to AD. Another option is create a keytab that can join a computer and transfer that over.
Vinod_P
(Vinod P)
4
Thanks John, but how did you call the credentials into the yaml file ??
In my scenario i have added domain credentials in AWX “credentials” section . Wandering how to fetch those into yaml script while its running.
Can you share a yaml file that you used for reference.