Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. ---
  2.  
  3. - name: "Add vlan"
  4. hosts: all
  5. connection: local
  6. gather_facts: False
  7.  
  8. tasks:
  9. - name: "Add: vlan {{ vlan }} name to {{ apports }}"
  10. become: true
  11. ntc_config_command:
  12. connection: ssh
  13. platform: hp_procurve
  14. commands:
  15. - "vlan {{ vlan }} tagged {{ apports }}"
  16. host: "{{ inventory_hostname }}"
  17. username: "{{ username }}"
  18. password: "{{ password }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement