Sorry, "trigger" in this case means notify: clauses always fire if
you're doing a git pull
without a specific commit/tag (in my experience at least).

On 11 July 2014 23:27, Michael DeHaan <[email protected]> wrote:
> Can't say I parse the "won't trigger" part.
>
> I believe a bug was filed for it returning changed=true in some cases where
> there was not a change.
>
>
>
> On Thu, Jul 10, 2014 at 1:20 PM, Dick Davies <[email protected]> wrote:
>>
>> 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.
>
>
> --
> 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/CA%2BnsWgy0PSxvderTtjvT6T8%3D1wfDX7ZFkZ6eu7xx%3DtSqb8b2fg%40mail.gmail.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/CAK5eLPQe7V-Qu9h6B69RtX2XLmm0zz64nK%3Df_2GUUczw53NwQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to