Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion roles/cloudera_deploy/tasks/distribute_facts_to_inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Load Definition file
ansible.builtin.include_vars:
file: "{{ init__cluster_definition_file }}"
name: _pre_template_cluster
delegate_to: "{{ __play_host }}"
delegate_facts: true
loop: "{{ groups.all }}"
loop_control:
loop_var: __play_host
label: __play_host

- name: Set specific Facts for later use in Cluster Deployment
ansible.builtin.set_fact:
_pre_template_cluster: "{{ lookup('file', init__cluster_definition_file ) | from_yaml }}"
preload_parcels: "{{ download_mirror_file_list | default([]) }}"
custom_repo_rehost_files: "{{ download_mirror_file_list | default([]) }}"
delegate_to: "{{ __play_host }}"
Expand Down