From 150798cbd5449b4dc6b1d3aa0697ea5cfb0c5c71 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 2 Nov 2021 07:30:00 -0500 Subject: [PATCH] ci: Clear fact cache before every run Since the `remount.yml` playbook now tries to avoid redundant remounts, it needs up-to-date facts about mounted filesystems and their options. If the cached facts are out of date, it may incorrectly skip remounting a filesystem. Besides, having up-to-date facts in the CI pipeline is probably a good thing anyway. --- vars/applyConfigPolicy.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/applyConfigPolicy.groovy b/vars/applyConfigPolicy.groovy index c16c15d..b6eba0c 100644 --- a/vars/applyConfigPolicy.groovy +++ b/vars/applyConfigPolicy.groovy @@ -48,6 +48,7 @@ def stageKinit() { )]) { sh 'cp "${SUDO_PASS_FILE}" group_vars/pyrocufflink/sudo-pass' } + sh 'rm -rf .fact-cache' } }