Overriding chroot path for ansible_connection=chroot

124 views
Skip to first unread message

Roman Gaufman

unread,
May 5, 2015, 2:59:46 PM5/5/15
to ansible...@googlegroups.com

I cannot find any documentation for the chroot connection and I have tried asking on #ansible and googling. When I need to override the ssh host, I can do:

ansible_ssh_host: '{{ ip | default("vpn.%s.%s" % (inventory_hostname, domain)) }}'

How would I do the same to override the chroot_path? - I need to keep the inventory_hostname.

Reply all
Reply to author
Forward
0 new messages