Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Configure device
- hosts: localhost
- connection: local
- gather_facts: no
- tasks:
- - name: NSO global variables
- include_vars:
- file: nso.yaml
- name: nso
- - name: Device configuration
- nso_config:
- url: "{{ nso.url }}"
- username: "{{ nso.username }}"
- password: "{{ nso.password }}"
- data:
- tailf-ncs:devices:
- device:
- - name: "{{ device }}"
- tailf-ncs:config:
- tailf-ned-cisco-ios-xr:interface:
- GigabitEthernet:
- - description: "test_1"
- id: 0/0/0/0
Add Comment
Please, Sign In to add comment