Answer the question
In order to leave comments, you need to log in
Is it possible to deploy a server through another using Ansible?
Hello!
tell me, is it possible to deploy the server using Ansible through another server that does not have Ansible.
Now I do this: I connect to the 1st server, deploy the Ansible environment there and launch the playbook to deploy the 2nd server from it.
I read about ssh-agent, but maybe someone will clarify whether this can be done with its help.
Thank you.
Answer the question
In order to leave comments, you need to log in
Apparently it means the so-called. connection via Bastion or Jumphost - an intermediate ssh server. Look for documentation on such a setup or articles like this one:
https://selivan.github.io/2018/01/29/ansible-ssh-b...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question