Skip to content

Commit 1befdae

Browse files
committed
Lint
1 parent e7adf8e commit 1befdae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/logstash/tasks/manage_pipeline.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22

3-
- name: Check if Logstash pipeline {{ pipelinename.name }} already exists
3+
- name: Check if Logstash pipeline already exists {{ pipelinename.name }}
44
ansible.builtin.stat:
55
path: "/etc/logstash/conf.d/{{ pipelinename.name }}"
66
register: "logstash_pipeline_stat"
77

8-
- name: Check who managed pipeline {{ pipelinename.name }} in last run # noqa: risky-shell-pipe
8+
- name: Check who managed pipeline in last run {{ pipelinename.name }} # noqa: risky-shell-pipe
99
ansible.builtin.shell: >
1010
if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
1111
grep -e '^# source:{{ pipelinename.name }}' /etc/logstash/pipelines.yml |
@@ -25,7 +25,7 @@
2525
- logstash_pipeline_manager.stdout == "local"
2626
- pipelinename.source is defined
2727

28-
- name: Create Logstash pipeline {{ pipelinename.name }} directory
28+
- name: Create Logstash pipeline directory {{ pipelinename.name }}
2929
ansible.builtin.file:
3030
path: "/etc/logstash/conf.d/{{ pipelinename.name }}"
3131
state: directory

0 commit comments

Comments
 (0)