Hi,

I'm using ansible-1.9.4 (from CentOS7 distro) and also I'm new to the
product.

I'm trying to come up with some form of bootstrapping after kickstart where
ansible-pull will run a few tasks regardless of the hostname.

Seems that 'hosts: localhost' should do the right thing but I'm running in
the following issues:

- If the hosts file has no entry for the new system
  The ansible-pull will fail.

- If the hosts file is empty
  The ansible-pull will properly process 'hosts: localhost" play.

- If the hosts file doesn't exists
  The ansible-pull will fail.

The only way to make "hosts: localhost" work is to empty the hosts file.

Is that the expected behavior or I'm missing some configuration?

Thank you,

-- Peter

-- 
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/CAJ0_yGJthWm4qbvsWR9nsJoq35qyg%2BeMVakT-QFkpzkpxM_MEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to