mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
Change filesystem module message.
This commit is contained in:
parent
ad777f6538
commit
67e67bca1f
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def main():
|
||||||
if fs == fstype:
|
if fs == fstype:
|
||||||
module.exit_json(changed=False)
|
module.exit_json(changed=False)
|
||||||
elif fs and not force:
|
elif fs and not force:
|
||||||
module.fail_json(msg="'%s' is already used as %s, use force=yes to ignore"%(dev,fs), rc=rc, err=err)
|
module.fail_json(msg="'%s' is already used as %s, use force=yes to overwrite"%(dev,fs), rc=rc, err=err)
|
||||||
|
|
||||||
### create fs
|
### create fs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue