bugfix in nxos shared module for including defaults
This commit is contained in:
parent
2c647f18e5
commit
28fecc9ce1
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class NxosModule(AnsibleModule):
|
|||
|
||||
def get_config(self):
|
||||
cmd = 'show running-config'
|
||||
if self.params['include_defaults']:
|
||||
if self.params.get('include_defaults'):
|
||||
cmd += ' all'
|
||||
if self.params['transport'] == 'cli':
|
||||
return self.execute(cmd)[0]
|
||||
|
|
Loading…
Reference in a new issue