Browse Source

s/sync_certs/sync_tokens

pull/235/head
Spencer Smith 8 years ago
parent
commit
743ad0eb5c
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/secrets/tasks/gen_tokens.yml

2
roles/kubernetes/secrets/tasks/gen_tokens.yml

@ -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]
Loading…
Cancel
Save