mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
unified calls to fs function vs duplicate functions for file and
directory
This commit is contained in:
@@ -163,7 +163,7 @@ def absent(dest, username, check_mode):
|
||||
def check_file_attrs(module, changed, message):
|
||||
|
||||
file_args = module.load_file_common_arguments(module.params)
|
||||
if module.set_file_attributes_if_different(file_args, False):
|
||||
if module.set_fs_attributes_if_different(file_args, False):
|
||||
|
||||
if changed:
|
||||
message += " and "
|
||||
|
||||
Reference in New Issue
Block a user