run_once only works if master[0] is first in inventory list
of all nodes.pull/74/head
parent
59614fc60d
commit
10b2466d82
|
@ -14,7 +14,6 @@
|
|||
group={{ kube_cert_group }}
|
||||
|
||||
- include: gen_certs.yml
|
||||
run_once: true
|
||||
when: inventory_hostname == groups['kube-master'][0]
|
||||
|
||||
- include: gen_tokens.yml
|
||||
|
|
Loading…
Reference in New Issue