Merge pull request #232 from rsmitty/issue-231
Issue 231: ensure ca.pem makes it to multi-masters
This commit is contained in:
commit
ed95f9ab81
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@
|
||||||
content: "{{ item.content|b64decode }}"
|
content: "{{ item.content|b64decode }}"
|
||||||
dest: "{{ item.source }}"
|
dest: "{{ item.source }}"
|
||||||
with_items: '{{slurp_certs.results}}'
|
with_items: '{{slurp_certs.results}}'
|
||||||
when: item.item in master_certs and
|
when: inventory_hostname in groups['kube-master'] and sync_certs|default(false) and
|
||||||
inventory_hostname in groups['kube-master'] and sync_certs|default(false) and
|
|
||||||
inventory_hostname != groups['kube-master'][0]
|
inventory_hostname != groups['kube-master'][0]
|
||||||
|
|
||||||
- name: certs | Copy certs on nodes
|
- name: certs | Copy certs on nodes
|
||||||
|
|
Loading…
Reference in a new issue