432f8e9841
* Fix basic auth tokens for kubeadm deployment. * Tokens should be a dependancy on master, not nodes
19 lines
335 B
YAML
19 lines
335 B
YAML
---
|
|
|
|
- import_tasks: check-tokens.yml
|
|
tags:
|
|
- k8s-secrets
|
|
- k8s-gen-tokens
|
|
- facts
|
|
|
|
- name: Make sure the tokens directory exits
|
|
file:
|
|
path: "{{ kube_token_dir }}"
|
|
state: directory
|
|
mode: o-rwx
|
|
group: "{{ kube_cert_group }}"
|
|
|
|
- import_tasks: gen_tokens.yml
|
|
tags:
|
|
- k8s-secrets
|
|
- k8s-gen-tokens
|