Ansible master -ssh- hostA -ssh- hostB, ansible master can not access HostB 
directly.
If I want to deploy services on hostB, can I configure hostA in a playbook, and 
include another playbook with hostB?
E.g - hosts: HostA
         Tasks:
          - include: inner playbook.yml
inner playbook:
       - hosts: HostB
        Tasks:
         ....
Actually, the method of playbook does not work. I don’t want to use ssh proxy 
though it works. Does anyone else can give me with some suggestion?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/28c1ec53-fc50-40be-960d-a6577a046390%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to