bugfix in ios shared module for including defaults

This commit is contained in:
Peter Sprygada 2016-01-11 22:40:54 -05:00
parent 4e087bb14f
commit 2c647f18e5

View file

@ -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]