Skip to content

Commit

Permalink
Merge pull request #1646 from sanketnagdive/release-5.2.0
Browse files Browse the repository at this point in the history
changes related to druid ingestion json with new ansible task
  • Loading branch information
sowmya-dixit authored Jun 26, 2024
2 parents 250cf6c + bd217a4 commit cc64748
Show file tree
Hide file tree
Showing 4 changed files with 1,700 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/content-snapshot-indexer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,8 @@ script_files:
"RedisUserDataIndexer",
"run-script",
]
druid_ingestion_files:
[
"content_index_batch",
"vdn_content_index_batch",
]
12 changes: 12 additions & 0 deletions ansible/roles/content-snapshot-indexer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@
tags:
- execute-script

- name: Ensure copying all injection specs files from the templates/druid_injestion dir
become: yes
template:
src: "druid_injestion_specs/{{ item }}.j2"
dest: "{{ content_snapshot_jar_path }}/etl-jobs-1.0/druid_models/{{ item }}.json"
owner: "{{ analytics_user }}"
group: "{{ analytics_group }}"
mode: 0777
with_items: "{{ druid_ingestion_files }}"
tags:
- deploy

- name: Run Script
become: yes
become_user: root
Expand Down
Loading

0 comments on commit cc64748

Please sign in to comment.