Hi,
We have an existing architecture where one host manages a number of hosts. Any of these hosts could be managing a number of other hosts. So we have a tree like architecture.
MASTER HOST
/
/--------- ------------------------------
/ \
HOST A HOST B HOST C
/
/----- ----
/
HOST D HOST E
Hosts on one level can only directly access hosts on the level below that are managed by them. So the master host can access hosts A, B and C only. Host A can only access hosts D and E.
We are thinking now of using ansible to manage the tree of hosts but we’d like to keep the existing architecture where the master host can manage host A, B and C through ansible. Host A should in turn manage hosts D and E through ansible.
Can this be done? Can I deploy ansible with ansible? Is anyone elso doing something similar? I’m thinking of starting to use this for something simple like deploying ssh public keys in authorized_keys files.
Thanks for any feedback.
Frederic