summaryrefslogtreecommitdiff
path: root/spreadspace/k8s-lwl.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spreadspace/k8s-lwl.yml')
-rw-r--r--spreadspace/k8s-lwl.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/spreadspace/k8s-lwl.yml b/spreadspace/k8s-lwl.yml
new file mode 100644
index 00000000..d587c0f7
--- /dev/null
+++ b/spreadspace/k8s-lwl.yml
@@ -0,0 +1,26 @@
+---
+- name: Basic Node Setup
+ hosts: k8s-lwl
+ roles:
+ - role: base
+ - role: sshd
+ - role: zsh
+
+- import_playbook: ../common/kubernetes-cluster-layout.yml
+ vars:
+ kubernetes_cluster_layout:
+ nodes_group: k8s-lwl
+ masters:
+ - lw-master
+
+### hack hack hack...
+- name: cook kubernetes secrets
+ hosts: _kubernetes_masters_
+ gather_facts: no
+ tasks:
+ - set_fact:
+ kubernetes_secrets_cooked: "{{ kubernetes_secrets }}"
+ external_ip_cooked: "{{ external_ip }}"
+
+- import_playbook: ../common/kubernetes.yml
+- import_playbook: ../common/kubernetes-cleanup.yml