s/sync_certs/sync_tokens

This commit is contained in:
Spencer Smith 2016-05-11 09:38:26 -07:00
parent 96c63cc0b6
commit 743ad0eb5c

View file

@ -54,5 +54,5 @@
content: "{{ item.content|b64decode }}" content: "{{ item.content|b64decode }}"
dest: "{{ item.source }}" dest: "{{ item.source }}"
with_items: '{{slurp_tokens.results}}' with_items: '{{slurp_tokens.results}}'
when: inventory_hostname in groups['kube-master'] and sync_certs|default(false) and when: inventory_hostname in groups['kube-master'] and sync_tokens|default(false) and
inventory_hostname != groups['kube-master'][0] inventory_hostname != groups['kube-master'][0]