Forgot to mention: My repo is on BitBucket Link: git clone [email protected]:xxx/xxx.git
On Tuesday, January 21, 2014 2:59:13 PM UTC+2, Iliya Strakovich wrote: > > 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.
