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:
@@ -1,3 +1,8 @@
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: clear facts
|
||||
meta: clear_facts
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user