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.
This commit is contained in:
2022-06-23 09:49:55 -05:00
parent 5f6e2e774c
commit 14332a4c3e

View File

@@ -1,3 +1,8 @@
- hosts: all
gather_facts: false
tasks:
- name: clear facts
meta: clear_facts
- hosts: all
gather_facts: true
vars: