File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 |
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
You can’t perform that action at this time.
0 commit comments