summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chaos-at-home/ch-sw0.yml1
-rw-r--r--roles/dellos6/base/tasks/main.yml7
2 files changed, 8 insertions, 0 deletions
diff --git a/chaos-at-home/ch-sw0.yml b/chaos-at-home/ch-sw0.yml
index bd2da22b..5ea632a2 100644
--- a/chaos-at-home/ch-sw0.yml
+++ b/chaos-at-home/ch-sw0.yml
@@ -4,3 +4,4 @@
gather_facts: no
roles:
- dellos6/bootstrap
+ - dellos6/base
diff --git a/roles/dellos6/base/tasks/main.yml b/roles/dellos6/base/tasks/main.yml
new file mode 100644
index 00000000..c9e60731
--- /dev/null
+++ b/roles/dellos6/base/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: disable telnet and http server
+ dellos6_config:
+ lines:
+ - ip telnet server disable
+ - no ip http server
+ save: yes