Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: "Add vlan"
- hosts: all
- connection: local
- gather_facts: False
- tasks:
- - name: "Add: vlan {{ vlan }} name to {{ apports }}"
- become: true
- ntc_config_command:
- connection: ssh
- platform: hp_procurve
- commands:
- - "vlan {{ vlan }} tagged {{ apports }}"
- host: "{{ inventory_hostname }}"
- username: "{{ username }}"
- password: "{{ password }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement