2021-02-16 16:39:53 -06:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
# My personal k8s cluster
|
|
|
|
---
|
|
|
|
- hosts: k8s
|
|
|
|
roles:
|
|
|
|
- role: docker
|
2021-02-17 06:07:36 -06:00
|
|
|
tags: [ k8s, docker, skip-pull ]
|
2021-02-16 16:39:53 -06:00
|
|
|
# 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
|
2021-02-17 06:07:36 -06:00
|
|
|
tags: [ k8s, skip-pull ]
|