diff --git a/plugins/modules/smb.py b/plugins/modules/smb.py index 69e84fd..75c1674 100644 --- a/plugins/modules/smb.py +++ b/plugins/modules/smb.py @@ -1669,7 +1669,8 @@ def handle(self, smb_obj, smb_params, smb_details): path = smb_params['path'] access_zone = smb_params['access_zone'] if state == 'present' and not smb_details: - LOG.info(f"Creating a new SMB share {0}".format(smb_params['share_name'])) + info_msg = f"Creating a new SMB share {smb_params['share_name']}" + LOG.info(info_msg) smb_obj.validate_path(path) smb_details = smb_obj.create_smb_share() if smb_details: