diff --git a/promise-types/ini/ini.py b/promise-types/ini/ini.py index 8379f63..1c826bd 100644 --- a/promise-types/ini/ini.py +++ b/promise-types/ini/ini.py @@ -80,7 +80,7 @@ def evaluate_promise(self, promiser: str, attributes: dict, meta: dict): try: d = json.loads(proc.stdout.decode("UTF-8").strip()) if d.get("changed", False): - self.log_info("Ansible INI returned msg: %s" % d.get("msg", "")) + self.log_info("Ansible INI returned msg: %s" % d.get("msg", "empty")) except Exception as e: self.log_error( "Failed to decode the JSON returned from the Ansible INI module. Error: %s"