We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 602b420 commit a19c3e8Copy full SHA for a19c3e8
tasks/first_server.yml
@@ -168,9 +168,7 @@
168
169
- name: Get all node names
170
ansible.builtin.set_fact:
171
- node_names: "{{ hostvars | dict2items | map(attribute='value.rke2_node_name') }}"
172
- run_once: true
173
- register: node_names
+ node_names: "{{ groups[rke2_cluster_group_name] | map('extract', hostvars) | map(attribute='rke2_node_name') }}"
174
175
- name: Remove old <node>.node-password.rke2 secrets
176
ansible.builtin.shell: |
0 commit comments