mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #6175 from AdmiralNemo/fix-filesystem
filesystem: Ignore blkid cache
This commit is contained in:
commit
8a07d98f4b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def main():
|
|||
|
||||
cmd = module.get_bin_path('blkid', required=True)
|
||||
|
||||
rc,raw_fs,err = module.run_command("%s -o value -s TYPE %s" % (cmd, dev))
|
||||
rc,raw_fs,err = module.run_command("%s -c /dev/null -o value -s TYPE %s" % (cmd, dev))
|
||||
fs = raw_fs.strip()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue