|
| 1 | +--- |
| 2 | +# |
| 3 | +# Copyright (C) 2018 Cumulus Networks, Inc. All rights reserved |
| 4 | +# |
| 5 | +# Permission is hereby granted, free of charge, to any person obtaining |
| 6 | +# a copy of this software and associated documentation files (the |
| 7 | +# "Software"), to deal in the Software without restriction, including |
| 8 | +# without limitation the rights to use, copy, modify, merge, publish, |
| 9 | +# distribute, sublicense, and/or sell copies of the Software, and to |
| 10 | +# permit persons to whom the Software is furnished to do so, subject to |
| 11 | +# the following conditions: |
| 12 | +# |
| 13 | +# The above copyright notice and this permission notice shall be included |
| 14 | +# in all copies or substantial portions of the Software. |
| 15 | +# |
| 16 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 17 | +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 18 | +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 19 | +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 20 | +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 21 | +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 22 | +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 23 | +# |
| 24 | +# https://www.debian.org/legal/licenses/mit |
| 25 | +# |
| 26 | +# |
| 27 | +# |
| 28 | +# |
| 29 | +- hosts: sf-l1:sf-l2:sf-s1:sf-s2 |
| 30 | + become: yes |
| 31 | + connection: network_cli |
| 32 | + gather_facts: false |
| 33 | + tasks: |
| 34 | + - name: Add SNMPv2 community string |
| 35 | + eos_config: |
| 36 | + lines: |
| 37 | + - snmp-server vrf management |
| 38 | + - snmp-server community suzieq ro |
| 39 | +- hosts: sf-l3:sf-l4:sf-s3:sf-s4 |
| 40 | + become: yes |
| 41 | + connection: network_cli |
| 42 | + gather_facts: false |
| 43 | + tasks: |
| 44 | + - name: Add SNMPv2 community string |
| 45 | + nxos_config: |
| 46 | + lines: |
| 47 | + - snmp-server community suzieq ro |
| 48 | +- hosts: sf-s5:sf-s6 |
| 49 | + become: yes |
| 50 | + connection: network_cli |
| 51 | + gather_facts: false |
| 52 | + tasks: |
| 53 | + - name: Add SNMPv2 community string |
| 54 | + ios_config: |
| 55 | + lines: |
| 56 | + - snmp-server community suzieq ro |
0 commit comments