On Sunday, 31 January 2016 10:52:40 UTC, Matt Willsher wrote: > > Hi, > > I'm working with ansible-pull on ansible 2.0.0.2. On initial clone I get > a failure on the first run. Subsequent runs are fine until the content of > the git repo changes, in which case a further error is thrown. Runs when > the repo doesn't change work ok, except for a warning about the user of > sudo, which isn't configured. > > Specifying -i localhost on pull solved the issue. Is appears that the default inventory contains localhost and 127.0.0.1 among others. The same affect is achieved by adding localhost to /etc/ansible/hosts, which also gets rid of a host warning during the ansible run.
/usr/bin/ansible-pull -d /var/lib/ansible-local -U https://github.com/mattwillsher/turbo-telegram.git -i localhost -- 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/e5c6f7a9-8865-4758-a655-dddc27652885%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
