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.
btop
Dustin 2022-06-23 09:49:55 -05:00
parent 5f6e2e774c
commit 14332a4c3e
1 changed files with 5 additions and 0 deletions

View File

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