You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a handler with run_once: yes, multiple notifications trigger the handler to run multiple times. This differs from the behavior in Ansible 1.9.x, where run_once would only cause the handler to run once.
Steps To Reproduce:
- hosts: alltasks:
- name: run a commandcommand: lsnotify:
- run another commandhandlers:
- name: run another commandrun_once: yescommand: ls
We believe the above commit should resolve this problem for you. This will also be included in the next major release.
If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved.
Issue Type:
Bug Report
Ansible Version:
ansible 2.0.0 (479cbfc)
Ansible Configuration:
N/A
Environment:
OS X Yosemite / Python 2.7.10
Summary:
When using a handler with
run_once: yes
, multiple notifications trigger the handler to run multiple times. This differs from the behavior in Ansible 1.9.x, whererun_once
would only cause the handler to run once.Steps To Reproduce:
Expected Results:
Actual Results:
The text was updated successfully, but these errors were encountered: