16 lines
470 B
YAML
Executable File
16 lines
470 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
# My personal k8s cluster
|
|
---
|
|
- hosts: k8s
|
|
roles:
|
|
- role: docker
|
|
tags: [ k8s, docker, skip-pull ]
|
|
# Note: the master and all its nodes must run this role at the same time
|
|
# in order for the join token to be registered properly.
|
|
# Failure to do so will result in nodes not joining the cluster.
|
|
- role: k8s
|
|
vars:
|
|
kubernetes_enable_web_ui: yes
|
|
tags: [ k8s, skip-pull ]
|