Hello,
thank you again for your Input.
I have about different 100 servers using this VM
So the Inventory file would somehow look like this: (?)
#####
[VM]
ansible_host=192.168.1.1 ansible_ssh_common_args='-o
ProxyCommand="ssh -W %h:%p -q root@server1"
ansible_host=192.168.1.1 ansible_ssh_common_args='-o
ProxyCommand="ssh -W %h:%p -q root@server2"
...
ansible_host=192.168.1.1 ansible_ssh_common_args='-o
ProxyCommand="ssh -W %h:%p -q root@server100"
[VM:vars]
ansible_ssh_user: root
ansible_ssh_pass: xxxx
#####
Another Point:
I have no possibility to realize a key based authentication for the servers, i.e. I have to do a password based authentication.
Where do i need to specify the password for root@server1, root@server2 [...]?
Can I just use something like this in the inventory?
[all:vars]
ansible_ssh_pass=server_password
Best regards,
Peter