mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Provide AnsibleAWSModule with _name attribute (#34564)
_name attribute is used when providing generic error messages (such as connection problems). As AnsibleAWSModule does not inherit things from AnsibleModule by default, need to provide it.
This commit is contained in:
parent
ca4eb07f46
commit
04df2312e7
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class AnsibleAWSModule(object):
|
||||||
msg='Python modules "botocore" or "boto3" are missing, please install both')
|
msg='Python modules "botocore" or "boto3" are missing, please install both')
|
||||||
|
|
||||||
self.check_mode = self._module.check_mode
|
self.check_mode = self._module.check_mode
|
||||||
|
self._name = self._module._name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def params(self):
|
def params(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue