We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running --check when using a playbook leveraging cixo.nxos.nxos_evpn_vni always shows not changed.
ansible [core 2.17.2] config file = None configured module search path = ['/home/omit/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/omit/network_automation/ansible/.venv/lib/python3.11/site-packages/ansible ansible collection location = /home/omit/.ansible/collections:/usr/share/ansible/collections executable location = .venv/bin/ansible python version = 3.11.3 (main, Aug 13 2023, 22:42:49) [GCC 11.3.0] (/home/omit/network_automation/ansible/.venv/bin/python) jinja version = 3.1.4 libyaml = True
Collection Version ---------- ------- cisco.nxos 9.1.0
CONFIG_FILE() = None
NXOS 9.3.12
ansible-playbook playbook.yaml -i inventory/hosts --check --- - hosts: all connection: network_cli gather_facts: false tasks: - name: Add EVPN VNI cisco.nxos.nxos_evpn_vni: route_distinguisher: auto route_target_import: auto route_target_export: auto vni: 123456
When in --check mode when a change needs to be made and the return value has commands the result should show 'changed'.
changed: [switch] => "changed: true, "comands": ["evpn", "vni 123456" l2", "rd auto", "route-target import auto", "route-target export auto"]
ok: [switch] => "changed: true, "comands": ["evpn", "vni 123456" l2", "rd auto", "route-target import auto", "route-target export auto"]
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
SUMMARY
Running --check when using a playbook leveraging cixo.nxos.nxos_evpn_vni always shows not changed.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
NXOS 9.3.12
STEPS TO REPRODUCE
EXPECTED RESULTS
When in --check mode when a change needs to be made and the return value has commands the result should show 'changed'.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: