initialize module name
removing verbosity exposed missing name at certain stages, initialize to file name and update later once module args are parsed
This commit is contained in:
parent
b1cefcf176
commit
cea1acf146
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ class AnsibleModule(object):
|
||||||
see library/* for examples
|
see library/* for examples
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
self._name = os.path.basename(__file__) #initialize name until we can parse from options
|
||||||
self.argument_spec = argument_spec
|
self.argument_spec = argument_spec
|
||||||
self.supports_check_mode = supports_check_mode
|
self.supports_check_mode = supports_check_mode
|
||||||
self.check_mode = False
|
self.check_mode = False
|
||||||
|
|
Loading…
Reference in a new issue