Hi,

My version is Ansible 1.4.1

I have a simple playbook:
---
- hosts: 192.168.10.109
  user: ansible
  sudo: True
  tasks:
    - git: [email protected]:XXX.git
           dest=/var/www/development.cosmik/wpdev
           version=development
#    - command: git clone -b development 
[email protected]:gamescale-admin/wordpress.cosmik.git 
/var/www/development.cosmik/wpdev


I'm getting error when trying "git" module:
TASK: [git [email protected]:gamescale-admin/wordpress.cosmik.git 
dest=/var/www/development.cosmik/wpdev version=development] *** 
failed: [192.168.10.109] => {"failed": true}
msg: Failed to find required executable git


But I'm success to run it as "command" module:
TASK: [command git clone -b development [email protected]:XXX.git 
/var/www/development.cosmik/wpdev] *** 
changed: [192.168.10.109]
PLAY RECAP 
******************************************************************** 
192.168.10.109             : ok=2    changed=1    unreachable=0    failed=0 

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to