summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-06-08 05:40:16 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-06-08 05:40:16 +0200
commit492a018157134d72d6dfe766d34bcc0e7fa9898c (patch)
treec200623d2b42c94d7a4578b61d63b3f8b999a68a
parentinitial support for dellos6 switches (diff)
added minimal switch config role
-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