feat: add ansible-lint and yamlfmt
This commit is contained in:
@@ -6,13 +6,11 @@
|
||||
ansible.builtin.command: kubeadm token create --print-join-command
|
||||
register: join_command_raw
|
||||
changed_when: false # Reading/generating a token text string changes no host state
|
||||
|
||||
- name: Save join command globally
|
||||
ansible.builtin.set_fact:
|
||||
k8s_worker_join: "{{ join_command_raw.stdout }}"
|
||||
delegate_to: localhost
|
||||
delegate_facts: true
|
||||
|
||||
- name: Join Worker Nodes to Cluster
|
||||
hosts: workers
|
||||
gather_facts: false
|
||||
|
||||
Reference in New Issue
Block a user