File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
3
- - name : Check if Logstash pipeline {{ pipelinename.name }} already exists
3
+ - name : Check if Logstash pipeline already exists {{ pipelinename.name }}
4
4
ansible.builtin.stat :
5
5
path : " /etc/logstash/conf.d/{{ pipelinename.name }}"
6
6
register : " logstash_pipeline_stat"
7
7
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
9
9
ansible.builtin.shell : >
10
10
if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
11
11
grep -e '^# source:{{ pipelinename.name }}' /etc/logstash/pipelines.yml |
25
25
- logstash_pipeline_manager.stdout == "local"
26
26
- pipelinename.source is defined
27
27
28
- - name : Create Logstash pipeline {{ pipelinename.name }} directory
28
+ - name : Create Logstash pipeline directory {{ pipelinename.name }}
29
29
ansible.builtin.file :
30
30
path : " /etc/logstash/conf.d/{{ pipelinename.name }}"
31
31
state : directory
You can’t perform that action at this time.
0 commit comments