Guest User

Untitled

a guest
Apr 4th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. - name: Configure device
  2. hosts: localhost
  3. connection: local
  4. gather_facts: no
  5.  
  6. tasks:
  7. - name: NSO global variables
  8. include_vars:
  9. file: nso.yaml
  10. name: nso
  11.  
  12. - name: Device configuration
  13. nso_config:
  14. url: "{{ nso.url }}"
  15. username: "{{ nso.username }}"
  16. password: "{{ nso.password }}"
  17. data:
  18. tailf-ncs:devices:
  19. device:
  20. - name: "{{ device }}"
  21. tailf-ncs:config:
  22. tailf-ned-cisco-ios-xr:interface:
  23. GigabitEthernet:
  24. - id: 0/0/0/3
  25. __state: absent
Add Comment
Please, Sign In to add comment