Skip to content

Instantly share code, notes, and snippets.

@ganeshrn
Created September 24, 2020 05:03
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/d82648f74cd217b724cf0ecb7ddeaa94 to your computer and use it in GitHub Desktop.
Save ganeshrn/d82648f74cd217b724cf0ecb7ddeaa94 to your computer and use it in GitHub Desktop.
community.yang.fetch all the yang schemas
- name: Fetch all the yang models and store it in dir location
community.yang.fetch:
name: all
dir:"{{playbook_dir}}/{{inventory_hostname}}/yang_files"
register: result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment