mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 00:33:16 +00:00
Update roles/kube-node/tasks/main.yml
This commit is contained in:
@ -12,6 +12,8 @@
|
||||
shell: |
|
||||
kubectl get nodes --no-headers | grep -w {{ node_hostname.stdout }} || echo "NOT_IN_CLUSTER"
|
||||
register: node_status
|
||||
environment:
|
||||
KUBECONFIG: /etc/kubernetes/kubelet.conf
|
||||
|
||||
- name: Mostrar todos os detalhes do node_status
|
||||
debug:
|
||||
|
||||
Reference in New Issue
Block a user