Yeah i see the same thing. if you set it to a specific commit or
release it won't trigger,
without that it seems like it always 'git pull's to ensure you have an
up to date copy.


On 10 July 2014 15:49, ProfHase <[email protected]> wrote:
> Not sure whether I am doing something wrong. Using the following playbook
>
> - hosts: myhosts
>   tasks:
>     - name: Update git repo der Anwendung
>       git:
>         dest=/my/webapp
>         repo=repo@host:repos/my-webapp
>         recursive=no
>         update=yes
>         accept_hostkey=yes
>       sudo: yes
>
> The git to pull the changes the git module always says there is a change:
>
> changed: [myhost] => {"after": "61b54a57dca2bb263a795541fd3cd9a8090aac45",
> "before": "61b54a57dca2bb263a795541fd3cd9a8090aac45", "changed": true,
> "msg": "Local modifications exist"}
>
> while I am quite sure that no local changes exist. Can someone reproduce it?
>
> Thanks
>
> --
> 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/085b4fac-b32c-4153-b274-f7b98579d02d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

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

Reply via email to