summaryrefslogtreecommitdiff
path: root/roles/dellos6/bootstrap/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dellos6/bootstrap/tasks')
-rw-r--r--roles/dellos6/bootstrap/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/dellos6/bootstrap/tasks/main.yml b/roles/dellos6/bootstrap/tasks/main.yml
new file mode 100644
index 00000000..552aeddd
--- /dev/null
+++ b/roles/dellos6/bootstrap/tasks/main.yml
@@ -0,0 +1,14 @@
+---
+- name: generate initial configuration
+ delegate_to: localhost
+ pause:
+ prompt: "\n## Please apply the following configuration using the serial console!!!\n\n{{ lookup('template', 'init.j2') }}\n\n## end .. press enter to continue!!!!!\n"
+
+- name: get config facts from the switch
+ dellos6_facts:
+ gather_subset:
+ - hardware
+ register: switch_facts
+
+- debug:
+ var: switch_facts