You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ansible.module_utils.network_common import ComplexList is changed to from ansible.module_utils.network.common.utils import to_list, ComplexList
Also, following file contains the commands to be fired in corresponding nodes
cat test/integration/roles/routeros_command/tests/api/output.yaml
...
routeros_command:
commands:
- /system resource print
- /interface print
- /interface ethernet enable numbers=ether10
provider: "{{ api }}"
.....
You can change this section to fire different commands, also keep eye on following parameters
- result.stdout | length == 3
run following
export ANSIBLE_LIBRARY=$PWD/library
export PYTHONPATH=$ANSIBLE_LIBRARY
ansible-playbook -i temp/inventory test/integration/routeros.yaml
Can u plz help to install module and use it?
The text was updated successfully, but these errors were encountered: