mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Fixes for the N3500 platform that uses the A8 image (#36261)
* fix nxos_l3_interface tests as n35 doesn't support ipv6 * add terminal dont-ask to nxos_feature and nxos_lldp * put interfaces in L2 mode for N35 * fix nxos_feature unit-tests
This commit is contained in:
parent
5b5d24631a
commit
e24c547a3a
9 changed files with 39 additions and 11 deletions
|
@ -236,6 +236,9 @@ def main():
|
|||
cmds = get_commands(proposed, existing, state, module)
|
||||
|
||||
if cmds:
|
||||
# On N35 A8 images, some features return a yes/no prompt
|
||||
# on enablement or disablement. Bypass using terminal dont-ask
|
||||
cmds.insert(0, 'terminal dont-ask')
|
||||
if not module.check_mode:
|
||||
load_config(module, cmds)
|
||||
results['changed'] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue