Commit Graph

9 Commits (36c5ac65f7c7f0331c59def137f0b628e26f7766)

Author SHA1 Message Date
Igor Khomyakov 3f697919ef fix user notification for v2 api
`notify` parameter is not working as expected for hipchat API v2.
2016-12-08 11:32:58 -05:00
Toshio Kuratomi 16bd2c7357 be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
2016-12-08 11:32:52 -05:00
Paul Bourdel e00df23070 removing unnecessary white space 2016-12-08 11:32:40 -05:00
Paul Bourdel 2177ff1546 adding author username 2016-12-08 11:32:40 -05:00
Jean-Fred Berthelot ae5fed65f2 Add check_mode support to HipChat module
The HipChat module declares to support check_mode,
but the message is sent in any case.

With this, if executed in check mode, the module will exit
before actually sending the message to HipChat.

It will return changed=False, as per the convention
for notifications modules.
2016-12-08 11:32:36 -05:00
Paul Bourdel a03da8d592 Rewriting to use default ansible http libraries. 2016-12-08 11:32:36 -05:00
Paul Bourdel ca28acd07a Changing from v1 to v2 hipchat api format. 2016-12-08 11:32:36 -05:00
HPLogsdon 8efd7d217e Fix typo in hipchat notification failure message.
Wish it could be more substantial, but alas, it's just a typo in a string.
2016-12-08 11:32:28 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00