File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
molecule/elasticstack_default
roles/elasticsearch/tasks Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5151 - name : Install rsyslog
5252 ansible.builtin.package :
5353 name : rsyslog
54+ - name : Remove cache # noqa: risky-shell-pipe
55+ ansible.builtin.shell : >
56+ if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
57+ rm -rf /var/cache/*
58+ changed_when : false
5459 - name : Configure rsyslog
5560 ansible.builtin.lineinfile :
5661 line : " *.* @@localhost:514"
Original file line number Diff line number Diff line change 182182 ansible.builtin.shell : >
183183 if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
184184 rm -rf /var/cache/*
185- failed_when : false
186185 changed_when : false
187186 when : ansible_virtualization_type == "container" or ansible_virtualization_type == "docker"
188187
You can’t perform that action at this time.
0 commit comments