deploying ansible with ansible

40 views
Skip to first unread message

Frederic Van Espen

unread,
Feb 11, 2016, 9:47:43 AM2/11/16
to Ansible Project
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

Brian Coca

unread,
Feb 11, 2016, 10:23:47 AM2/11/16
to ansible...@googlegroups.com
You can also define hosts D & E with connection settings that use host A as an ssh proxycommand.


----------
Brian Coca

Frederic Van Espen

unread,
Feb 15, 2016, 2:53:37 AM2/15/16
to Ansible Project
Hi,


On Thursday, February 11, 2016 at 4:23:47 PM UTC+1, Brian Coca wrote:
You can also define hosts D & E with connection settings that use host A as an ssh proxycommand.

Thanks for the suggestion. We'd like to avoid that though. But if all else fails, I suppose that would be the way to go. 
Reply all
Reply to author
Forward
0 new messages