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:

> [pdvtid]
> pdvtid50 ansible_ssh_host=127.0.0.1
>
 

> [appservers]
> csatidam ansible_ssh_host=XXX.ZZ.X.XX
>
 

> [mirrors]
> csatidmr ansible_ssh_host=XXX.ZZ.X.XX


-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8830fcd5-81ba-4262-ae5b-07402e55e97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to