|
@ -71,8 +71,7 @@ |
|
|
delegate_to: "{{groups['kube-master'][0]}}" |
|
|
delegate_to: "{{groups['kube-master'][0]}}" |
|
|
when: gen_tokens|default(false) |
|
|
when: gen_tokens|default(false) |
|
|
|
|
|
|
|
|
- include: gen_certs_script.yml |
|
|
|
|
|
when: cert_management == "script" |
|
|
|
|
|
|
|
|
- include: "gen_certs_{{ cert_management }}.yml" |
|
|
tags: k8s-secrets |
|
|
tags: k8s-secrets |
|
|
|
|
|
|
|
|
- include: sync_kube_master_certs.yml |
|
|
- include: sync_kube_master_certs.yml |
|
@ -83,9 +82,5 @@ |
|
|
when: cert_management == "vault" and inventory_hostname in groups['k8s-cluster'] |
|
|
when: cert_management == "vault" and inventory_hostname in groups['k8s-cluster'] |
|
|
tags: k8s-secrets |
|
|
tags: k8s-secrets |
|
|
|
|
|
|
|
|
- include: gen_certs_vault.yml |
|
|
|
|
|
when: cert_management == "vault" |
|
|
|
|
|
tags: k8s-secrets |
|
|
|
|
|
|
|
|
|
|
|
- include: gen_tokens.yml |
|
|
- include: gen_tokens.yml |
|
|
tags: k8s-secrets |
|
|
tags: k8s-secrets |