File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 209
209
versions : " {{ versions_check.stdout | from_json }}"
210
210
211
211
- name : Run RKE2 install script
212
- when : rke2_version != installed_version
212
+ when : not ansible_check_mode and rke2_version != installed_version
213
213
block :
214
- - name : Run the script with airgap variables
214
+ - name : Run RKE2 install script with airgap variables
215
215
ansible.builtin.command :
216
216
cmd : " {{ rke2_install_script_dir }}/rke2.sh"
217
217
environment :
220
220
INSTALL_RKE2_METHOD : " {{ rke2_method }}"
221
221
changed_when : false
222
222
when : rke2_airgap_mode
223
- - name : Run RKE2 script without airgap variables
223
+ - name : Run RKE2 install script without airgap variables
224
224
ansible.builtin.command :
225
225
cmd : " {{ rke2_install_script_dir }}/rke2.sh"
226
226
environment :
229
229
INSTALL_RKE2_CHANNEL : " {{ rke2_channel }}"
230
230
INSTALL_RKE2_METHOD : " {{ rke2_method }}"
231
231
changed_when : false
232
- when : not ansible_check_mode and not rke2_airgap_mode
232
+ when : not rke2_airgap_mode
233
233
234
234
- name : Copy Custom Manifests
235
235
ansible.builtin.template :
You can’t perform that action at this time.
0 commit comments