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
---
- hosts: all
  connection: chroot
  become: true

  tasks:
    <snip>

I've tried the several hosts:

- hosts: localhost
- hosts: chroots with chroots file containing

# cat chroots
[chroots]
  /mnt

Nothing works.

NOT using ansible-pull works like this

ansible-playbook -c chroot -i "/mnt," local.yml
ansible-playbook -c chroot -i chroots local.yml (with the above chroots 
host inv file)

Any help to get ansible-pull working?

Thanks.

-- 
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/faf1e174-b3df-4617-8fa8-eea59681d9d8n%40googlegroups.com.

Reply via email to