mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Add missing msg in fail_json (#33543)
This fix adds msg keyword in fail_json in aws_acm_facts, cs_host, junos_package module. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
5087ce9273
commit
807bebaa1f
3 changed files with 3 additions and 3 deletions
|
@ -577,7 +577,7 @@ class AnsibleCloudStackHost(AnsibleCloudStack):
|
|||
return None
|
||||
elif host['resourcestate'] != 'PrepareForMaintenance':
|
||||
return host
|
||||
self.fail_json("Polling for maintenance timed out")
|
||||
self.fail_json(msg="Polling for maintenance timed out")
|
||||
|
||||
def get_result(self, host):
|
||||
super(AnsibleCloudStackHost, self).get_result(host)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue