mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
bugfix in ios shared module for including defaults
This commit is contained in:
parent
935ae2801f
commit
a758806287
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class IosModule(AnsibleModule):
|
|||
|
||||
def get_config(self):
|
||||
cmd = 'show running-config'
|
||||
if self.params['include_defaults']:
|
||||
if self.params.get('include_defaults'):
|
||||
cmd += ' all'
|
||||
return self.execute(cmd)[0]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue