Merge pull request #232 from rsmitty/issue-231

Issue 231: ensure ca.pem makes it to multi-masters
pull/236/head
Smaine Kahlouch 2016-05-11 21:24:04 +02:00
commit ed95f9ab81
1 changed files with 1 additions and 2 deletions

View File

@ -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