Render all_nodes_data in check mode

We used to render all nodes data in check mode on each node.
However, after Ic10858ce7eaa5353d546e75b26e7149df2e1aa2a we
copy it from the control node, which is not generated in
check mode. Let's generate it on control node in check mode.

Resolves: rhbz#2096427
Change-Id: If4945d4b50262ef3adf1cd555e51039a98cdc433
This commit is contained in:
rabi 2022-06-15 12:56:18 +05:30
parent e1afca352e
commit f04bec312b
1 changed files with 0 additions and 2 deletions

View File

@ -82,7 +82,6 @@
delegate_to: localhost
become: false
run_once: true
when: not ansible_check_mode|bool
tripleo_all_nodes_data:
tags:
- facts
@ -97,7 +96,6 @@
- name: Set all_nodes data as group_vars for overcloud
ansible.builtin.include_vars: "{{ playbook_dir }}/group_vars/overcloud.json"
no_log: true
when: not ansible_check_mode|bool
tags:
- facts
- always