Re: [ansible-project] how to execute playbook task on Host-B directly from control machine

2022-03-13 Thread Dip Giri
Thank you sir, But i have another question - How to give private key and there passphrase in this case ansible_ssh_common_args='-o ProxyCommand="ssh -p -W %h:%p -q usern...@bastion.example.com"' On Sun, Mar 13, 2022 at 5:32 PM Stefan Hornburg (Racke) wrote: > On 12/03/2022 19:17, Dip

Re: [ansible-project] how to execute playbook task on Host-B directly from control machine

2022-03-13 Thread Stefan Hornburg (Racke)
On 12/03/2022 19:17, Dip Giri wrote: First i have to connect *Host-A*then i can connect *Host-B*. i can’t connect Host-B directly. So in this case how to execute playbook task on *Host-B *from *Control Machine. *Because my control machine is centralised where have running *Ansible AWX. * and

[ansible-project] how to execute playbook task on Host-B directly from control machine

2022-03-12 Thread Dip Giri
First i have to connect *Host-A* then i can connect *Host-B*. i can’t connect Host-B directly. So in this case how to execute playbook task on *Host-B *from *Control Machine. *Because my control machine is centralised where have running *Ansible AWX. * and i can't install ansible on Host-A