# sensu\_subscription module is broken on removing subscription - only the first time works.

**URL:** <https://forum.ansible.com/t/sensu-subscription-module-is-broken-on-removing-subscription-only-the-first-time-works/24443>\
**Category:** Ansible Developer\
**Created:** [May 10, 2017, 6:50am UTC](https://forum.ansible.com/t/sensu-subscription-module-is-broken-on-removing-subscription-only-the-first-time-works/24443 "2017-05-10T06:50:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Kang](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@James\_Kang](https://forum.ansible.com/u/James_Kang)\
**Post date:** [May 10, 2017, 6:50am UTC](https://forum.ansible.com/t/sensu-subscription-module-is-broken-on-removing-subscription-only-the-first-time-works/24443/1 "2017-05-10T06:50:41Z")

</div>

Hi sensu-subscription module seems broken if you try “remove” playbook twice.  
I had to patch the module and it worked.  
Please someone can verify and fix upstream - that would be awesome.

Thanks in advance

[user@host: ~]$ ansible --version  
ansible 2.3.0.0  
config file = /etc/ansible/ansible.cfg  
configured module search path = Default w/o overrides  
python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

[user@host: ~]$ diff sensu\_subscription.py sensu\_subscription.py.patched  
115c115  
\< return changed
