SUMMARY
To create an OU, its direct parent(s) must exist.
That means having to ensure all of the parent OUs exist in separate module calls. This could in theory be handled by a recursive role or set of tasks that uses microsoft.ad.split_dn to keep calling the module but it would be nice if there were an integrated option to have the module create parents, perhaps with a limit number (as in "create up to 3 levels of parent OUs or something?).
This is logically similar to mkdir -p.
ISSUE TYPE
COMPONENT NAME
microsoft.ad.ou
SUMMARY
To create an OU, its direct parent(s) must exist.
That means having to ensure all of the parent OUs exist in separate module calls. This could in theory be handled by a recursive role or set of tasks that uses
microsoft.ad.split_dnto keep calling the module but it would be nice if there were an integrated option to have the module create parents, perhaps with a limit number (as in "create up to 3 levels of parent OUs or something?).This is logically similar to
mkdir -p.ISSUE TYPE
COMPONENT NAME
microsoft.ad.ou