ansible/playbooks/k8s.yml
2021-02-16 16:39:53 -06:00

16 lines
448 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# My personal k8s cluster
---
- hosts: k8s
roles:
- role: docker
tags: [ k8s, docker ]
# 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 ]