Pass the inventory file and the group for Ansible-pull

In my inventory I have a group [pdvtid]. As I say to ansible-pull to run from this group?

The name of my inventory is hosts.tid. As I say to ansible-pull to use this inventory file.

I’m running like this:

ansible-pull -d /home/ansible/local -U gituser@Ip_URL:/home/gituser/mirror/ansible.git

My local.yml:

  • hosts: pdvtid
    vars_files:
  • secrets.yml
    roles:
  • common
  • pdv
    vars:
    password1: $1$GgJU6FXG$8nSgXwWqxb4EeDjtMSiHn.
    password2: $1$yDsflhLb$rsnDY5Fo5Ln7vmiirdKj.0
    password3: $1$aZ1FEfdd$3jIG0e9GtTzFbkh0DaKb2.

My inventory: