Guest User

aliases

a guest
Sep 27th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ---
  2. - name: Configure Default Aliaes config
  3. hosts: "R8"
  4. gather_facts: true
  5. connection: local
  6.  
  7. vars:
  8. cli:
  9. username: cisco
  10. password: cisco
  11.  
  12.  
  13. tasks:
  14. - name: Pushing aliases to lab devices
  15. ios_config:
  16. src: ./templates/aliases.j2
  17. provider: "{{ cli }}"
  18.  
  19. - name: Displaying pushed configuration
  20. debug:
  21. var: commands
Advertisement
Add Comment
Please, Sign In to add comment