mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
PR #24 follow-up: Use verbosity instead of debug variable for debug info.
This commit is contained in:
parent
ad61d4bdf7
commit
a2350787ed
@ -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 }}'
|
||||
|
@ -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: ''
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user