Merge pull request #232 from rsmitty/issue-231

Issue 231: ensure ca.pem makes it to multi-masters
This commit is contained in:
Smaine Kahlouch 2016-05-11 21:24:04 +02:00
commit ed95f9ab81

View file

@ -39,8 +39,7 @@
content: "{{ item.content|b64decode }}"
dest: "{{ item.source }}"
with_items: '{{slurp_certs.results}}'
when: item.item in master_certs and
inventory_hostname in groups['kube-master'] and sync_certs|default(false) and
when: inventory_hostname in groups['kube-master'] and sync_certs|default(false) and
inventory_hostname != groups['kube-master'][0]
- name: certs | Copy certs on nodes