Browse Source

run_once only works if master[0] is first in inventory list

of all nodes.
pull/74/head
Greg Althaus 8 years ago
parent
commit
10b2466d82
1 changed files with 0 additions and 1 deletions
  1. 1
      roles/kubernetes/node/tasks/secrets.yml

1
roles/kubernetes/node/tasks/secrets.yml

@ -14,7 +14,6 @@
group={{ kube_cert_group }} group={{ kube_cert_group }}
- include: gen_certs.yml - include: gen_certs.yml
run_once: true
when: inventory_hostname == groups['kube-master'][0] when: inventory_hostname == groups['kube-master'][0]
- include: gen_tokens.yml - include: gen_tokens.yml

Loading…
Cancel
Save