mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
FTD configuration module: fix a bug with response parsing (#57480)
* Update dependence's name to firepower-kickstart * Check response type before getting attributes * Add unit test for construct_ansible_facts method * Update error message
This commit is contained in:
parent
039eb892ba
commit
4fa93d5b9b
5 changed files with 80 additions and 7 deletions
|
@ -29,8 +29,9 @@ except ImportError:
|
|||
|
||||
def assert_kick_is_installed(module):
|
||||
if not HAS_KICK:
|
||||
module.fail_json(msg='Firepower-kick library is required to run this module. '
|
||||
'Please, install it with `pip install firepower-kick` command and run the playbook again.')
|
||||
module.fail_json(msg='Firepower-kickstart library is required to run this module. '
|
||||
'Please, install the library with `pip install firepower-kickstart` '
|
||||
'command and run the playbook again.')
|
||||
|
||||
|
||||
class FtdModel:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue