summaryrefslogtreecommitdiff
path: root/spreadspace/k8s-test.yml
blob: 9c06dbae099138fb6b2bf914b4efe93ab74962bb (plain) (blame)
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
---
- name: Basic Node Setup
  hosts: k8s-test
  roles:
  - role: base
  - role: sshd
  - role: zsh

- import_playbook: ../common/kubernetes-cluster-layout.yml
  vars:
    kubernetes_cluster_layout:
      nodes_group: k8s-test
      masters:
      - s2-k8s-test0

### 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