Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli fileinputoutput: start bots with run instead of start #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions ansible/tasks/cli/03_fileinputoutput.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
path: /assets/foo.txt
create: true
line: foobar
- name: Start file-output bot
command: intelmqctl start file-output
- name: Start file-input bot
command: intelmqctl start file-input
ignore_errors: yes
- name: Stop file-output bot
command: intelmqctl stop file-output
- name: Run file-input bot once
command: intelmqctl run file-input process
- name: Run file-output bot once
command: intelmqctl run file-output process
- slurp:
src: /var/lib/intelmq/bots/file-output/events.txt
register: events
Expand Down