# Regarding Notification playbook

**URL:** <https://forum.ansible.com/t/regarding-notification-playbook/36731>\
**Category:** AWX Project\
**Created:** [June 14, 2022, 6:18am UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731 "2022-06-14T06:18:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasanna\_M](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Post date:** [June 14, 2022, 6:18am UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/1 "2022-06-14T06:18:15Z")

</div>

Hi Team,

I need help to configure the new notification playbook.  
Already i written the play book and which i am getting the error,Can you have a look on it please.

---

<div class="post-metadata">

**Author:** ![Prasanna\_M](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Post date:** [June 14, 2022, 11:07am UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/2 "2022-06-14T11:07:27Z")

</div>

any luck on this please

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 14, 2022, 12:58pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/3 "2022-06-14T12:58:05Z")

</div>

Hello,

Hello, we’d love to help, but we need a little more information about the problem you’re having. Can you send us the error you are getting when running ansible-playbook?

-The AWX Team

---

<div class="post-metadata">

**Author:** ![Andrey\_Gangan](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@Andrey\_Gangan](https://forum.ansible.com/u/Andrey_Gangan)\
**Post date:** [June 14, 2022, 1:50pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/4 "2022-06-14T13:50:04Z")

</div>

did you try AWX built in notification?

вторник, 14 июня 2022 г. в 15:58:05 UTC+3, AWX Project:

---

<div class="post-metadata">

**Author:** ![Prasanna\_M](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Post date:** [June 14, 2022, 4:43pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/5 "2022-06-14T16:43:23Z")

</div>

The full traceback is:

152  
Traceback (most recent call last):

153  
File “/home/ansible/.ansible/tmp/ansible-tmp-1655187215.9642656-57-263527928933014/AnsiballZ\_notification\_template.py”, line 100, in

154  
\_ansiballz\_main()

155  
File “/home/ansible/.ansible/tmp/ansible-tmp-1655187215.9642656-57-263527928933014/AnsiballZ\_notification\_template.py”, line 92, in \_ansiballz\_main

156  
invoke\_module(zipped\_mod, temp\_path, ANSIBALLZ\_PARAMS)

157  
File “/home/ansible/.ansible/tmp/ansible-tmp-1655187215.9642656-57-263527928933014/AnsiballZ\_notification\_template.py”, line 41, in invoke\_module

158  
run\_name=‘ **main** ’, alter\_sys=True)

159  
File “/usr/lib64/python2.7/runpy.py”, line 176, in run\_module

160  
fname, loader, pkg\_name)

161  
File “/usr/lib64/python2.7/runpy.py”, line 82, in \_run\_module\_code

162  
mod\_name, mod\_fname, mod\_loader, pkg\_name)

163  
File "/usr/lib64/python2.7/r…

---

<div class="post-metadata">

**Author:** ![Prasanna\_M](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Post date:** [June 15, 2022, 5:02pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/6 "2022-06-15T17:02:22Z")

</div>

any luck

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 15, 2022, 8:11pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/7 "2022-06-15T20:11:24Z")

</div>

Hi, can you please post the full error traceback? It looks like what you pasted is missing some important messages.

also this _could_ be problematic,

- name: Add AWX Notifications Test  
collections: [awx.awx]  
vars:  
default\_values:  
state: present  
awx.awx.tower\_notification:

nothing is filled in after “awx.awx.tower\_notification:”

AWX Team

---

<div class="post-metadata">

**Author:** ![Prasanna\_M](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Prasanna\_M](https://forum.ansible.com/u/Prasanna_M)\
**Post date:** [June 23, 2022, 2:55am UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/8 "2022-06-23T02:55:50Z")

</div>

any update on my query please???

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 23, 2022, 12:28pm UTC](https://forum.ansible.com/t/regarding-notification-playbook/36731/9 "2022-06-23T12:28:10Z")

</div>

Last week we had inquired about getting the full stack trace so we could see where this error was generated from.  
If you can provide that we should be able to see where the issue was in the module.

If you can also send the full output from the AWX log (there is a button in the upper right of the job output page to download it) that would be useful. Please mask out any information that is private.

In addition, we had reported that the second task in your playbook appears suspicious as it appears to call awx.awx.tower\_notification with no parameters (but it could be just how the formatting came through in the email).

- The AWX team
