Hello,

Apologies for the naivete of this question.  How can I test if a machine already has a successful relationship with active directory?

context: I want to set an ansible fact if it is in fact join and if not execute adcli to join.

Thank you!
-Eugene