Skip to content

Commit 058e36d

Browse files
Remove cach again after all roles
1 parent dc2f877 commit 058e36d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/test_roles_pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ jobs:
5151
max-parallel: 2
5252
matrix:
5353
distro:
54-
- rockylinux8
55-
- ubuntu2204
54+
- centos8
55+
#- rockylinux8
56+
#- ubuntu2204
5657
scenario:
5758
- elasticstack_default
5859
release:

molecule/elasticstack_default/converge.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
- name: Install rsyslog
5050
ansible.builtin.package:
5151
name: rsyslog
52+
- name: Remove cache # noqa: risky-shell-pipe
53+
ansible.builtin.shell: >
54+
if test -n "$(ps -p $$ | grep bash)"; then set -o pipefail; fi;
55+
rm -rf /var/cache/*
56+
changed_when: false
5257
- name: Configure rsyslog
5358
ansible.builtin.lineinfile:
5459
line: "*.* @@localhost:514"

0 commit comments

Comments
 (0)