-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathconfig_combo2.yml
56 lines (43 loc) · 941 Bytes
/
config_combo2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#Cisco IOS 12.2 Hardening Playbook
#
#+ no service pad
#+ ip ssh version 2
#+ no ip domain-lookup
#+ no ip http server
#+ no ip http secure-server
#+ no cdp run
#+ transport input ssh
#+ logging buffered 15000
- hosts: ios
gather_facts: no
tasks:
- name: NO SERVICE PAD
ios_config:
lines:
- no service pad
- name: IP SSH VERSION 2
ios_config:
lines:
- ip ssh version 2
- name: NO IP DOMAIN-LOOKUP
ios_config:
lines:
- no ip domain-lookup
- name: DISABLE HTTP/HTTPS MANAGMENT
ios_config:
lines:
- no ip http server
- no ip http secure-server
- name: DISABLE CDP
ios_config:
lines:
- no cdp run
- name: TRANSPORT INPUT SSH
ios_config:
lines:
- line vty 0 15
- transport input ssh
- name: LOGGING BUFFERED 15000
ios_config:
lines:
- logging buffered 15000