mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 08:43:05 +00:00
Update roles/kube-node/tasks/main.yml
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
shell: "{{ hostvars['master1']['kubeadm_join_command'] }}"
|
shell: "{{ hostvars['master1']['kubeadm_join_command'] }}"
|
||||||
when:
|
when:
|
||||||
- hostvars['master1']['kubeadm_join_command'] is defined
|
- hostvars['master1']['kubeadm_join_command'] is defined
|
||||||
- "'NOT_IN_CLUSTER' in node_status.stdout"
|
- node_status.stdout | trim == "NOT_IN_CLUSTER"
|
||||||
|
|
||||||
- name: Obter hostname real do nó
|
- name: Obter hostname real do nó
|
||||||
become: true
|
become: true
|
||||||
|
|||||||
Reference in New Issue
Block a user