diff --git a/README.md b/README.md index a710d64..eca7109 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,6 @@ Whether to remove the taint that denies pods from being deployed to the Kubernet Whether to enable the Kubernetes web dashboard UI (only accessible on the master itself, or proxied). - kubernetes_debug: false - -Whether to show extra debug info in Ansible's logs (e.g. the output of the `kubeadm init` command). - kubernetes_pod_network_cidr: '10.244.0.0/16' kubernetes_apiserver_advertise_address: '' kubernetes_version_kubeadm: 'stable-{{ kubernetes_version }}' diff --git a/defaults/main.yml b/defaults/main.yml index 06c24c4..dc937ce 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,7 +19,6 @@ kubernetes_kubeadm_init_extra_opts: "" kubernetes_allow_pods_on_master: true kubernetes_enable_web_ui: true -kubernetes_debug: false kubernetes_pod_network_cidr: '10.244.0.0/16' kubernetes_apiserver_advertise_address: '' diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index a164c55..ee31867 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -13,10 +13,10 @@ when: kubernetes_init_stat.stat.exists == false - name: Print the init output to screen. - debug: var=kubeadmin_init.stdout - when: - - kubernetes_debug - - kubernetes_init_stat.stat.exists == false + debug: + var: kubeadmin_init.stdout + verbosity: 2 + when: kubernetes_init_stat.stat.exists == false - name: Ensure .kube directory exists. file: