I have ansible 2.5. the ymal file have:
- name: Make sure file1.conf update
copy:
src: file1.conf
dest: /tmp/file1.conf
tags: copy-file1
notify:
- cat file1
handlers:
- name: cat file1
command: cat /tmp/file1.conf > /tmp/dates
when I run ansible-playbook I get:
ERROR! The requested handler 'cat file1' was not found in either the main
handlers list nor in the listening handlers list
Any ideas?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/21ba131e-d832-42e9-a243-826c181626b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.