ansible/event-driven-ansible

ansible.eda.file_watch throws an error

johwes opened this issue · 0 comments

johwes commented

When trying to use the ansible.eda.file_watch event source, i get the following error.

2023-07-04 14:50:43,534 - ansible_rulebook.engine - INFO - Calling main in ansible.eda.file_watch
2023-07-04 14:50:43,535 - ansible_rulebook.engine - ERROR - Source error Cannot instantiate typing.Optional
2023-07-04 14:50:43,535 - ansible_rulebook.engine - ERROR - Shutting down source: ansible.eda.file_watch error : Cannot instantiate typing.Optional
2023-07-04 14:50:43,535 - ansible_rulebook.engine - INFO - Broadcast shutdown to all source plugins
2023-07-04 14:50:43,535 - ansible_rulebook.engine - INFO - Broadcast to queues: [<Queue at 0x7fa2bc126bd0 maxsize=1>]
2023-07-04 14:50:43,535 - ansible_rulebook.engine - INFO - Broadcasting shutdown: Shutdown(message='Shutting down source: ansible.eda.file_watch error : Cannot instantiate typing.Optional', delay=60.0, kind='graceful', source_plugin='ansible.eda.file_watch')