I do not have remote git repo, only a local one. Is it possible to pull a 
local repo to a remote machine?

I tried the following:

- name: pull the code
  git: repo=file:///home/username/myproject/.git dest=/var/www

and got an error:

stderr: fatal: '/home/username/myproject/.git' does not appear to be a git 
repository
fatal: Could not read from remote repository.





-- 
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/ab35a38e-11af-416e-ae87-c121ffbafc49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to