Replace is_first_master with run_once
Replace is_first_master with run_once https://github.com/Capgemini/kubeform/search?utf8=%E2%9C%93&q=is_first_master
One question from me on this - are we 100% guaranteed that master[0] will always be master[0] from the inventory (it makes sense that it would be but just checking)? sometimes when i look at a playbook i see it runs on master[2] first but not sure if thats because of parallelisation or inventory
For ensuring the same machine you combine it with delegate_to: your_hostname or you just do when: inventory_hostname == yourGroup[0]
But I cant see any reason why this has to run on master[0], on my understanding we just want it to run once, no matter which master.
yeh should just be running once talking to the api server right?
I thought we only installed kubectl on master 1 but its installed in every master, ignore me.