From 14332a4c3e3ca42e3ab216bc2f7dbfbf8755b585 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 23 Jun 2022 09:49:55 -0500 Subject: [PATCH] remount: Clear facts Cached facts interfere with the detection of which filesystems need to be remounted. We need to clear them all and gather again before beginning to ensure that the correct mounts are considered. --- remount.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/remount.yml b/remount.yml index deeb4a9..e62f067 100644 --- a/remount.yml +++ b/remount.yml @@ -1,3 +1,8 @@ +- hosts: all + gather_facts: false + tasks: + - name: clear facts + meta: clear_facts - hosts: all gather_facts: true vars: