# How to get ansible-pull with chroot connection to work?

**URL:** <https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280>\
**Category:** Ansible Project\
**Created:** [February 2, 2022, 6:37pm UTC](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280 "2022-02-02T18:37:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bob/32/9260_2.png) [@bob](https://forum.ansible.com/u/bob)\
**Post date:** [February 2, 2022, 6:37pm UTC](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280/1 "2022-02-02T18:37:40Z")

</div>

Try to get ansible-pull -c chroot to work and I keep getting warnings and the playbooks are not run.

# ansible-pull -vv -c chroot --accept-host-key -U git@xxx:ansible-roles/chroot-bootstrap.git

[WARNING]: No inventory was parsed, only implicit localhost is available  
[WARNING]: provided hosts list is empty, only localhost is available. Note that  
the implicit localhost does not match ‘all’

Current playbook is called local.yml

# cat local.yml
