# Use flowdock plugin as handler, notify handler to send {{ message }}

**URL:** <https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295>\
**Category:** Ansible Project\
**Created:** [January 8, 2014, 3:35pm UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295 "2014-01-08T15:35:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marko\_Lisica](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marko\_Lisica](https://forum.ansible.com/u/Marko_Lisica)\
**Post date:** [January 8, 2014, 3:35pm UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295/1 "2014-01-08T15:35:21Z")

</div>

So what I am trying to do is register variable after change has been made and notify flowdock handler to send {{ message }}. As I am really amateur but trying hard 🙂 . Any hints in that direciton?

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [January 8, 2014, 9:58pm UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295/2 "2014-01-08T21:58:45Z")

</div>

What do you have so far? Maybe we can move you further along by seeing an example playbook or some pseudo code.

---

<div class="post-metadata">

**Author:** ![Marko\_Lisica](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marko\_Lisica](https://forum.ansible.com/u/Marko_Lisica)\
**Post date:** [January 9, 2014, 9:26am UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295/3 "2014-01-09T09:26:58Z")

</div>

Hi, I have complete playbook for setting up jenkins (not so complicated really), and here is a snippet where I want to register some VAR (for example what was installed).

> - name: Install/update plugins  
> action: command java -jar {{ jenkins.cli\_dest }} -s [http://localhost:8080](http://localhost:8080) install-plugin {{ item }}  
> when: plugins\_installed.changed and plugins\_installed.stdout.find(‘{{ item }}’) == -1  
> with\_items: plugins  
> register: message ------------------------------------------------------------------------------------------------------------ this is not correct I know. I know I have to understand logic behing Ansible little better.

> notify:
> 
> - ‘Restart Jenkins’
> - ‘flowdock’

And handler is flowdock send message to inbox.

---

<div class="post-metadata">

**Author:** ![Marko\_Lisica](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marko\_Lisica](https://forum.ansible.com/u/Marko_Lisica)\
**Post date:** [January 10, 2014, 12:33pm UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295/4 "2014-01-10T12:33:02Z")

</div>

For example here is one ansible task that is changed:

TASK: [jenkins | Install/update plugins] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
changed: [jenkins] =\> (item=greenballs)

I want to register that item/items as variable and at the end send all vars to flowdock or whatever.

---

<div class="post-metadata">

**Author:** ![Krzysztof\_Warzecha](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Krzysztof\_Warzecha](https://forum.ansible.com/u/Krzysztof_Warzecha)\
**Post date:** [February 2, 2014, 5:30pm UTC](https://forum.ansible.com/t/use-flowdock-plugin-as-handler-notify-handler-to-send-message/14295/5 "2014-02-02T17:30:45Z")

</div>

Hello,
