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 51
51
- name : Install rsyslog
52
52
ansible.builtin.package :
53
53
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
54
59
- name : Configure rsyslog
55
60
ansible.builtin.lineinfile :
56
61
line : " *.* @@localhost:514"
Original file line number Diff line number Diff line change 182
182
ansible.builtin.shell : >
183
183
if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
184
184
rm -rf /var/cache/*
185
- failed_when : false
186
185
changed_when : false
187
186
when : ansible_virtualization_type == "container" or ansible_virtualization_type == "docker"
188
187
You can’t perform that action at this time.
0 commit comments