skippbox / kubeadm-centos

An Ansible playbook to create a k8s cluster on CentOS 7.1 using kubeadm bootstrapping.
Apache License 2.0
24 stars 10 forks source link

Reformat #1

Closed willthames closed 7 years ago

willthames commented 7 years ago

Move configuration out of playbook Restructure roles to be more consistent with themselves. Simplify and make more Ansible-ish in places (commit logs have more details)

willthames commented 7 years ago

Also, please note, I don't have an environment to test this, so apologies in advance if I've made any silly mistakes.

willthames commented 7 years ago

Note that k8s_remove has not been touched - I can apply the same to that if you like.

Also, there is scope for making create_context.yml converge (so that it returns changed: False on a second run. I'm not sure how best to approach that due to limited k8s knowledge, but here's something I prepared earlier: http://willthames.github.io/2016/09/21/using-command-and-shell-in-ansible.html

sebgoa commented 7 years ago

I am merging first and testing after :)

sebgoa commented 7 years ago

ok tested...it all works :) thanks a bunch