Hi Monica, On Sun, 16 Apr 2023 00:23:14 -0700 (PDT) Monica <[email protected]> wrote:
> Hi Vladimir Botka, > Looking for your support on this. You said you can "connect to the remote host via bastion host using ssh". shell> ssh user@<remote-host IP>@<bastion-host-IP> -p 8022 Let me ask you first. Wouldn't an Ansible controller in the internal network serve you use-case better? ext_net <-> bastion_host <-> ansible_controller <-> remote_host You should store you projects in a version control. Why don't you clone the projects on the controller and run your playbooks from there? This has many advantages: * The configuration is simpler * You can limit the external SSH access to single host * Playbooks in the local network run faster * The execution of the projects don't depend on the throughput and quality of the external network * You can use *ansible-pull* on the controller to update the projects automatically * You can schedule the projects' updating to off-peak times Why do you want to run Ansible via proxy? -- Vladimir Botka -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20230416132743.16fb3f4a%40gmail.com.
pgpluFiJdA3XJ.pgp
Description: OpenPGP digital signature
