Skip to content

Instantly share code, notes, and snippets.

@ganeshrn
Created December 14, 2020 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganeshrn/58f1346aa3dad4ce771fe4cb9420349f to your computer and use it in GitHub Desktop.
Save ganeshrn/58f1346aa3dad4ce771fe4cb9420349f to your computer and use it in GitHub Desktop.
nxos_interfaces_resource_module
- name: Configure interface with drift in admin up state
cisco.nxos.nxos_interfaces:
config:
- name: "{{ item['data_path'].split('.')[0] }}"
enabled: true
loop: "{{ result['errors'] }}"
when: "'errors' in result"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment